mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-12-04 10:39:08 +00:00
bf8d325388
Apply the mediawiki core watchstar to the Minerva skin. Note, watchstars in search and other locations will continue to be provided by the MobileFrontend library (see follow up patch I7b748dc87089389400b0035c62a3b9a00c2e43f9) Bug: T234970 Change-Id: I11bbe976412b50dba76a55f37887e4c9235d0be1
24 lines
719 B
JavaScript
24 lines
719 B
JavaScript
const { iAmViewingAnUnwatchedPage } = require( '../features/step_definitions/create_page_api_steps' ),
|
|
{
|
|
iShouldSeeAToastNotificationWithMessage,
|
|
iAmLoggedIntoTheMobileWebsite
|
|
} = require( '../features/step_definitions/common_steps' ),
|
|
{
|
|
theWatchstarShouldBeSelected,
|
|
iClickTheWatchstar } = require( '../features/step_definitions/watch_steps' );
|
|
|
|
// @chrome @smoke @test2.m.wikipedia.org @login @vagrant
|
|
describe( 'Manage Watchlist', () => {
|
|
|
|
beforeEach( () => {
|
|
iAmLoggedIntoTheMobileWebsite();
|
|
} );
|
|
|
|
it( 'Add an article to the watchlist', () => {
|
|
iAmViewingAnUnwatchedPage();
|
|
iClickTheWatchstar();
|
|
iShouldSeeAToastNotificationWithMessage( 'added' );
|
|
theWatchstarShouldBeSelected();
|
|
} );
|
|
} );
|