Skip to content

Commit

Permalink
Move addSupportSessionDetectedCookie call up
Browse files Browse the repository at this point in the history
  • Loading branch information
allie500 committed Feb 4, 2025
1 parent 29c420a commit ecfe6c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/e2e-pw/specs/auth.setup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ setup( 'authenticate as admin', async ( { page }, { project } ) => {
}
}

await addSupportSessionDetectedCookie( page, project );

// Sign in as admin user and save state
let adminLoggedIn = false;
const adminRetries = 5;
Expand Down Expand Up @@ -99,8 +101,6 @@ setup( 'authenticate as admin', async ( { page }, { project } ) => {
}

// End of authentication steps.

await addSupportSessionDetectedCookie( page, project );
await page.context().storageState( { path: merchantStorageFile } );
} );

Expand Down

0 comments on commit ecfe6c3

Please sign in to comment.