From c4f7c60f9fb7da3bba0217e64cc5e3768bfe3ccb Mon Sep 17 00:00:00 2001 From: Jon Robson Date: Thu, 17 Mar 2022 14:13:38 -0700 Subject: [PATCH] [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 --- tests/selenium/specs/editor_wikitext_nosave.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/selenium/specs/editor_wikitext_nosave.js b/tests/selenium/specs/editor_wikitext_nosave.js index 30b450741..b9a7320c2 100644 --- a/tests/selenium/specs/editor_wikitext_nosave.js +++ b/tests/selenium/specs/editor_wikitext_nosave.js @@ -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(); } );