Skip to content
This repository has been archived by the owner on Mar 13, 2024. It is now read-only.

Commit

Permalink
fix storage state path (#12340)
Browse files Browse the repository at this point in the history
  • Loading branch information
saturninoabril committed Mar 9, 2023
1 parent 3bd71ae commit 1466d6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion e2e/playwright/support/browser_context.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export async function loginByAPI(loginId: string, password: string, token = '',
const storagePath = `storage_state/${Date.now()}_${loginId}_${password}${token ? '_' + token : ''}${
ldapOnly ? '_ldap' : ''
}.json`;
const storageState = await requestContext.storageState();
const storageState = await requestContext.storageState({path: storagePath});
await requestContext.dispose();

// Append origins to bypass seeing landing page then write to file
Expand Down

0 comments on commit 1466d6c

Please sign in to comment.