Skip to content

Commit

Permalink
Use mockAdsAccountConnected utility.
Browse files Browse the repository at this point in the history
  • Loading branch information
ankitrox committed Oct 25, 2024
1 parent 4b8badb commit 9137ef6
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions tests/e2e/specs/setup-mc/step-1-accounts.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -325,12 +325,7 @@ test.describe( 'Set up accounts', () => {
test.beforeAll( async () => {
await setUpAccountsPage.mockAdsAccountConnected();
await setUpAccountsPage.mockMCConnected();

await setUpAccountsPage.fulfillAdsAccountStatus( {
has_access: true,
invite_link: '',
step: 'link_merchant',
} );
await setUpAccountsPage.mockAdsAccountConnected();

await setUpAccountsPage.goto();
} );
Expand Down

0 comments on commit 9137ef6

Please sign in to comment.