mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-12-04 02:29:00 +00:00
d455b88080
Additional changes to tests: * pageExists uses brower.call to avoid token error in talk * use a before rather than beforeEach for creating articles to avoid an unnecessary API action Bug: T222517 Change-Id: I44cda7d62e5e4e58ed38b15ae13fdb0c8dc2e900
31 lines
857 B
JavaScript
31 lines
857 B
JavaScript
const {
|
|
pageExists, iShouldSeeAToastNotification,
|
|
iAmUsingMobileScreenResolution,
|
|
iAmUsingTheMobileSite,
|
|
iAmLoggedIntoTheMobileWebsite,
|
|
iAmOnPage
|
|
} = require( '../features/step_definitions/common_steps' ),
|
|
{
|
|
iClickTheSearchIcon,
|
|
iTypeIntoTheSearchBox,
|
|
iClickASearchWatchstar,
|
|
iSeeTheSearchOverlay
|
|
} = require( '../features/step_definitions/search_steps' );
|
|
|
|
// @test2.m.wikipedia.org @vagrant @login
|
|
describe.skip( 'Search', () => {
|
|
|
|
it( 'Clicking on a watchstar toggles the watchstar', () => {
|
|
iAmUsingTheMobileSite();
|
|
pageExists( 'Selenium search test' );
|
|
iAmLoggedIntoTheMobileWebsite();
|
|
iAmOnPage( 'Main Page' );
|
|
iAmUsingMobileScreenResolution();
|
|
iClickTheSearchIcon();
|
|
iSeeTheSearchOverlay();
|
|
iTypeIntoTheSearchBox( 'Selenium search tes' );
|
|
iClickASearchWatchstar();
|
|
iShouldSeeAToastNotification();
|
|
} );
|
|
} );
|