2019-04-08 23:45:11 +00:00
|
|
|
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
|
2019-05-07 16:14:52 +00:00
|
|
|
describe.skip( 'Search', () => {
|
2019-04-08 23:45:11 +00:00
|
|
|
|
|
|
|
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();
|
|
|
|
} );
|
|
|
|
} );
|