Skip to content

Commit

Permalink
tweak auth-flow test
Browse files Browse the repository at this point in the history
  • Loading branch information
aaemnnosttv committed Nov 12, 2019
1 parent fc78f23 commit 73957d9
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions tests/e2e/specs/auth-flow.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 () => {
Expand All @@ -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();
Expand Down

0 comments on commit 73957d9

Please sign in to comment.