mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-18 11:35:54 +00:00
a9533fc463
Two tests are failing. These are false positives that obscure real failures. Both are removed for the following reason. 1) Editor test is covered by the redirect tests - failing due to concurrent edits (possibly because multiple browser tests act on the same page at the same time). However, editing is already covered by the other 2 cases. 2) Remove unwatch test - this is failing as there is a problem in the setup - the page starts unwatched when it should be watched. The test for checking that an article can be watched should suffice here. Bug: T224947 Change-Id: I3049e1b190c3cb2ddc198a45681f59782f770d6a
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();
|
|
} );
|
|
} );
|