mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-25 14:47:08 +00:00
a32999e641
Change-Id: Icabf6e065ed5685207731262db72faf848a0a04d
26 lines
734 B
JavaScript
26 lines
734 B
JavaScript
'use strict';
|
|
|
|
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();
|
|
} );
|
|
} );
|