keep browser reset at end of setup
This commit is contained in:
parent
7799c1bcf0
commit
7f04d800e9
|
@ -1,7 +1,9 @@
|
|||
const {
|
||||
switchUserToAdmin,
|
||||
visitAdminPage,
|
||||
switchUserToTest
|
||||
switchUserToTest,
|
||||
clearLocalStorage,
|
||||
setBrowserViewport
|
||||
} = require( "@wordpress/e2e-test-utils" );
|
||||
|
||||
/**
|
||||
|
@ -69,4 +71,6 @@ beforeAll( async () => {
|
|||
await trashExistingPosts();
|
||||
await trashExistingProducts();
|
||||
await switchUserToTest();
|
||||
await clearLocalStorage();
|
||||
await setBrowserViewport( 'large' );
|
||||
} );
|
||||
|
|
|
@ -184,7 +184,6 @@ beforeAll( async () => {
|
|||
capturePageEventsForTearDown();
|
||||
enablePageDialogAccept();
|
||||
observeConsoleLogging();
|
||||
await setupBrowser();
|
||||
} );
|
||||
|
||||
afterEach( async () => {
|
||||
|
|
Loading…
Reference in New Issue