mediawiki-skins-MinervaNeue/tests/selenium/specs/search_loggedin.js
Jon Robson be398f8a29 Disable flakey test
Noticed this today.

Apparently was reported a long time ago so let's disable this for
now.

Bug: T334634
Change-Id: Id46a8a7d4b9a22ed5d1bd5df5d5f9b03df1f72b0
2023-07-27 09:45:57 -07:00

36 lines
1.1 KiB
JavaScript

'use strict';
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( 'Search', () => {
// FIXME: T334634
it.skip( 'Clicking on a watchstar toggles the watchstar', async () => {
await iAmUsingTheMobileSite();
await pageExists( 'Selenium search test' );
await iAmLoggedIntoTheMobileWebsite();
await iAmOnPage( 'Main Page' );
await iAmUsingMobileScreenResolution();
await iClickTheSearchIcon();
await iSeeTheSearchOverlay();
await iTypeIntoTheSearchBox( 'Selenium search tes' );
// This pause statement is a temporary bandaid until we figure a bettery dynamic sync
// eslint-disable-next-line wdio/no-pause
await browser.pause( 1000 );
await iClickASearchWatchstar();
await iShouldSeeAToastNotification();
} );
} );