mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-12-11 22:06:07 +00:00
da92d66df1
"Wikitext Editor.Closing editor (overlay button)" is breaking CI in core. Bug: T313775 Change-Id: I3dd3d196a09d7a62faf78d31239e3c8d00141704
37 lines
974 B
JavaScript
37 lines
974 B
JavaScript
'use strict';
|
|
|
|
const {
|
|
iAmOnAPageThatDoesNotExist, iClickTheBrowserBackButton,
|
|
iClickTheOverlayCloseButton, iDoNotSeeAnOverlay,
|
|
iAmLoggedIntoTheMobileWebsite
|
|
} = require( '../features/step_definitions/common_steps' ),
|
|
{
|
|
iClickTheEditButton, iSeeTheWikitextEditorOverlay
|
|
} = require( '../features/step_definitions/editor_steps' );
|
|
|
|
// @chrome @en.m.wikipedia.beta.wmflabs.org @firefox @test2.m.wikipedia.org @vagrant @login
|
|
describe( 'Wikitext Editor', () => {
|
|
|
|
beforeEach( () => {
|
|
iAmLoggedIntoTheMobileWebsite();
|
|
iAmOnAPageThatDoesNotExist();
|
|
} );
|
|
|
|
// @smoke
|
|
// Skipped on 2022-12-07 because of T313775
|
|
it.skip( 'Closing editor (overlay button)', () => {
|
|
iClickTheEditButton();
|
|
iSeeTheWikitextEditorOverlay();
|
|
iClickTheOverlayCloseButton();
|
|
iDoNotSeeAnOverlay();
|
|
} );
|
|
|
|
it( 'Closing editor (browser button)', () => {
|
|
iClickTheEditButton();
|
|
iSeeTheWikitextEditorOverlay();
|
|
iClickTheBrowserBackButton();
|
|
iDoNotSeeAnOverlay();
|
|
} );
|
|
|
|
} );
|