mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-12-19 01:01:00 +00:00
8c6067584b
Bug: T348539 Change-Id: Icb79bbd404b445a1c42d52b060475250d155490a
38 lines
1 KiB
JavaScript
38 lines
1 KiB
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( async () => {
|
|
await iAmLoggedIntoTheMobileWebsite();
|
|
await iAmOnAPageThatDoesNotExist();
|
|
} );
|
|
|
|
// @smoke
|
|
// Skipped on 2022-12-07 because of T313775
|
|
it.skip( 'Closing editor (overlay button)', () => {
|
|
iClickTheEditButton();
|
|
iSeeTheWikitextEditorOverlay();
|
|
iClickTheOverlayCloseButton();
|
|
iDoNotSeeAnOverlay();
|
|
} );
|
|
|
|
// FIXME T348539
|
|
it.skip( 'Closing editor (browser button)', async () => {
|
|
await iClickTheEditButton();
|
|
await iSeeTheWikitextEditorOverlay();
|
|
await iClickTheBrowserBackButton();
|
|
await iDoNotSeeAnOverlay();
|
|
} );
|
|
|
|
} );
|