mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-24 06:13:54 +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( () => {
|
||||
iAmLoggedIntoTheMobileWebsite();
|
||||
iAmOnAPageThatDoesNotExist();
|
||||
iClickTheEditButton();
|
||||
iSeeTheWikitextEditorOverlay();
|
||||
} );
|
||||
|
||||
// @smoke
|
||||
it( 'Closing editor (overlay button)', () => {
|
||||
iClickTheEditButton();
|
||||
iSeeTheWikitextEditorOverlay();
|
||||
iClickTheOverlayCloseButton();
|
||||
iDoNotSeeAnOverlay();
|
||||
} );
|
||||
|
||||
it( 'Closing editor (browser button)', () => {
|
||||
iClickTheEditButton();
|
||||
iSeeTheWikitextEditorOverlay();
|
||||
iClickTheBrowserBackButton();
|
||||
iDoNotSeeAnOverlay();
|
||||
} );
|
||||
|
|
Loading…
Reference in a new issue