From 73957d972dbee799f64a86f066e8ae029360fb62 Mon Sep 17 00:00:00 2001 From: Evan Mattson Date: Tue, 12 Nov 2019 12:24:06 +0200 Subject: [PATCH] tweak auth-flow test --- tests/e2e/specs/auth-flow.test.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/tests/e2e/specs/auth-flow.test.js b/tests/e2e/specs/auth-flow.test.js index b1fa4222ed6..0a265a8f37c 100644 --- a/tests/e2e/specs/auth-flow.test.js +++ b/tests/e2e/specs/auth-flow.test.js @@ -51,12 +51,9 @@ const disconnectFromSiteKit = async () => { }; describe( 'Site Kit set up flow for the first time', () => { - beforeAll( async () => { - await setSearchConsoleProperty(); - } ); - beforeEach( async () => { await activatePlugin( 'e2e-tests-gcp-credentials-plugin' ); + await setSearchConsoleProperty(); } ); afterEach( async () => { @@ -80,7 +77,6 @@ describe( 'Site Kit set up flow for the first time', () => { it( 'disconnects user from Site Kit', async () => { await setAuthToken(); await setSiteVerification(); - await setSearchConsoleProperty(); await visitAdminPage( 'admin.php', 'page=googlesitekit-dashboard' ); await disconnectFromSiteKit();