[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:
Jon Robson 2022-03-17 14:13:38 -07:00
parent 366d37efb1
commit c4f7c60f9f

View file

@ -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();
} );