mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-27 23:50:30 +00:00
[Tests] Move beforeEach calls into tests
beforeEach failures do not have videos associated. We'd like to see what's going wrong with these tests. Change-Id: I1b723bcd7d00f15907647d5c7a4aa1f57578468c
This commit is contained in:
parent
366d37efb1
commit
c4f7c60f9f
|
@ -15,17 +15,19 @@ describe( 'Wikitext Editor', () => {
|
||||||
beforeEach( () => {
|
beforeEach( () => {
|
||||||
iAmLoggedIntoTheMobileWebsite();
|
iAmLoggedIntoTheMobileWebsite();
|
||||||
iAmOnAPageThatDoesNotExist();
|
iAmOnAPageThatDoesNotExist();
|
||||||
iClickTheEditButton();
|
|
||||||
iSeeTheWikitextEditorOverlay();
|
|
||||||
} );
|
} );
|
||||||
|
|
||||||
// @smoke
|
// @smoke
|
||||||
it( 'Closing editor (overlay button)', () => {
|
it( 'Closing editor (overlay button)', () => {
|
||||||
|
iClickTheEditButton();
|
||||||
|
iSeeTheWikitextEditorOverlay();
|
||||||
iClickTheOverlayCloseButton();
|
iClickTheOverlayCloseButton();
|
||||||
iDoNotSeeAnOverlay();
|
iDoNotSeeAnOverlay();
|
||||||
} );
|
} );
|
||||||
|
|
||||||
it( 'Closing editor (browser button)', () => {
|
it( 'Closing editor (browser button)', () => {
|
||||||
|
iClickTheEditButton();
|
||||||
|
iSeeTheWikitextEditorOverlay();
|
||||||
iClickTheBrowserBackButton();
|
iClickTheBrowserBackButton();
|
||||||
iDoNotSeeAnOverlay();
|
iDoNotSeeAnOverlay();
|
||||||
} );
|
} );
|
||||||
|
|
Loading…
Reference in a new issue