mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-12-19 09:11:05 +00:00
c4f7c60f9f
beforeEach failures do not have videos associated. We'd like to see what's going wrong with these tests. Change-Id: I1b723bcd7d00f15907647d5c7a4aa1f57578468c
36 lines
924 B
JavaScript
36 lines
924 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
|
|
it( 'Closing editor (overlay button)', () => {
|
|
iClickTheEditButton();
|
|
iSeeTheWikitextEditorOverlay();
|
|
iClickTheOverlayCloseButton();
|
|
iDoNotSeeAnOverlay();
|
|
} );
|
|
|
|
it( 'Closing editor (browser button)', () => {
|
|
iClickTheEditButton();
|
|
iSeeTheWikitextEditorOverlay();
|
|
iClickTheBrowserBackButton();
|
|
iDoNotSeeAnOverlay();
|
|
} );
|
|
|
|
} );
|