Skip to content

Commit

Permalink
update references to old deactivateAllOtherPlugins
Browse files Browse the repository at this point in the history
  • Loading branch information
aaemnnosttv committed Sep 26, 2019
1 parent fd7dc41 commit 600b225
Show file tree
Hide file tree
Showing 11 changed files with 23 additions and 23 deletions.
6 changes: 3 additions & 3 deletions tests/e2e/config/bootstrap.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import { getQueryArg } from '@wordpress/url';
*/
import {
clearSessionStorage,
deactivateAllOtherPlugins,
deactivateUtilityPlugins,
resetSiteKit,
} from '../utils';
import {
Expand Down Expand Up @@ -210,7 +210,7 @@ beforeAll( async () => {
}
await setBrowserViewport( 'large' );

await deactivateAllOtherPlugins();
await deactivateUtilityPlugins();
await resetSiteKit();
} );

Expand All @@ -221,7 +221,7 @@ afterEach( async () => {
} );

afterAll( async () => {
await deactivateAllOtherPlugins();
await deactivateUtilityPlugins();
await resetSiteKit();
removePageEvents();
await page.setRequestInterception( false );
Expand Down
4 changes: 2 additions & 2 deletions tests/e2e/specs/auth-flow.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { activatePlugin, createURL, visitAdminPage } from '@wordpress/e2e-test-u
* Internal dependencies
*/
import {
deactivateAllOtherPlugins,
deactivateUtilityPlugins,
resetSiteKit,
pasteText,
setSearchConsoleProperty,
Expand Down Expand Up @@ -60,7 +60,7 @@ describe( 'Site Kit set up flow for the first time', () => {
} );

afterEach( async () => {
await deactivateAllOtherPlugins();
await deactivateUtilityPlugins();
await resetSiteKit();
} );

Expand Down
4 changes: 2 additions & 2 deletions tests/e2e/specs/auth-setup-search-console.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { activatePlugin, createURL, visitAdminPage } from '@wordpress/e2e-test-u
* Internal dependencies
*/
import {
deactivateAllOtherPlugins,
deactivateUtilityPlugins,
pasteText,
resetSiteKit,
testClientConfig,
Expand Down Expand Up @@ -48,7 +48,7 @@ describe( 'Site Kit set up flow for the first time with search console setup', (
} );

afterEach( async () => {
await deactivateAllOtherPlugins();
await deactivateUtilityPlugins();
await resetSiteKit();
} );

Expand Down
4 changes: 2 additions & 2 deletions tests/e2e/specs/auth-setup-verification.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { activatePlugin, createURL, visitAdminPage } from '@wordpress/e2e-test-u
* Internal dependencies
*/
import {
deactivateAllOtherPlugins,
deactivateUtilityPlugins,
pasteText,
resetSiteKit,
testClientConfig,
Expand Down Expand Up @@ -42,7 +42,7 @@ describe( 'Site Kit set up flow for the first time with site verification', () =
} );

afterEach( async () => {
await deactivateAllOtherPlugins();
await deactivateUtilityPlugins();
await resetSiteKit();
} );

Expand Down
4 changes: 2 additions & 2 deletions tests/e2e/specs/modules/adsense/setup-new-user.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { createURL, activatePlugin, visitAdminPage } from '@wordpress/e2e-test-u
* Internal dependencies
*/
import {
deactivateAllOtherPlugins,
deactivateUtilityPlugins,
resetSiteKit,
setAuthToken,
setClientConfig,
Expand Down Expand Up @@ -89,7 +89,7 @@ describe( 'setting up the AdSense module', () => {

afterEach( async () => {
Object.keys( datapointHandlers ).forEach( ( key ) => datapointHandlers[ key ] = defaultHandler );
await deactivateAllOtherPlugins();
await deactivateUtilityPlugins();
await resetSiteKit();
} );

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { activatePlugin, createURL, visitAdminPage } from '@wordpress/e2e-test-u
* Internal dependencies
*/
import {
deactivateAllOtherPlugins,
deactivateUtilityPlugins,
resetSiteKit,
useRequestInterception,
setSearchConsoleProperty,
Expand Down Expand Up @@ -48,7 +48,7 @@ describe( 'setting up the Analytics module with no existing account and no exist
} );

afterEach( async () => {
await deactivateAllOtherPlugins();
await deactivateUtilityPlugins();
await resetSiteKit();
} );

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { activatePlugin, visitAdminPage } from '@wordpress/e2e-test-utils';
* Internal dependencies
*/
import {
deactivateAllOtherPlugins,
deactivateUtilityPlugins,
resetSiteKit,
setAnalyticsExistingPropertyId,
setAuthToken,
Expand Down Expand Up @@ -66,7 +66,7 @@ describe( 'setting up the Analytics module with no existing account and with an
} );

afterEach( async () => {
await deactivateAllOtherPlugins();
await deactivateUtilityPlugins();
await resetSiteKit();
} );

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { activatePlugin, createURL, visitAdminPage } from '@wordpress/e2e-test-u
* Internal dependencies
*/
import {
deactivateAllOtherPlugins,
deactivateUtilityPlugins,
resetSiteKit,
setSearchConsoleProperty,
wpApiFetch,
Expand Down Expand Up @@ -73,7 +73,7 @@ describe( 'setting up the Analytics module with an existing account and no exist
} );

afterEach( async () => {
await deactivateAllOtherPlugins();
await deactivateUtilityPlugins();
await resetSiteKit();
} );

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { activatePlugin, visitAdminPage } from '@wordpress/e2e-test-utils';
* Internal dependencies
*/
import {
deactivateAllOtherPlugins,
deactivateUtilityPlugins,
resetSiteKit,
setAnalyticsExistingPropertyId,
setAuthToken,
Expand Down Expand Up @@ -68,7 +68,7 @@ describe( 'setting up the Analytics module with an existing account and existing
} );

afterEach( async () => {
await deactivateAllOtherPlugins();
await deactivateUtilityPlugins();
await resetSiteKit();
} );

Expand Down
4 changes: 2 additions & 2 deletions tests/e2e/specs/modules/pagespeed-insights/activation.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { visitAdminPage, activatePlugin } from '@wordpress/e2e-test-utils';
* Internal dependencies
*/
import {
deactivateAllOtherPlugins,
deactivateUtilityPlugins,
pasteText,
resetSiteKit,
setSearchConsoleProperty,
Expand All @@ -22,7 +22,7 @@ describe( 'PageSpeed Insights Activation', () => {
} );

afterEach( async () => {
await deactivateAllOtherPlugins();
await deactivateUtilityPlugins();
await resetSiteKit();
} );

Expand Down
4 changes: 2 additions & 2 deletions tests/e2e/specs/modules/tagmanager/setup.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { activatePlugin, visitAdminPage, createURL } from '@wordpress/e2e-test-u
* Internal dependencies
*/
import {
deactivateAllOtherPlugins,
deactivateUtilityPlugins,
resetSiteKit,
useRequestInterception,
setSearchConsoleProperty,
Expand Down Expand Up @@ -49,7 +49,7 @@ describe( 'setting up the TagManager module with no existing account', () => {
} );

afterEach( async () => {
await deactivateAllOtherPlugins();
await deactivateUtilityPlugins();
await resetSiteKit();
} );

Expand Down

0 comments on commit 600b225

Please sign in to comment.