Skip to content

Commit

Permalink
test(connect-popup): finetune popup close test
Browse files Browse the repository at this point in the history
  • Loading branch information
martykan authored and mroz22 committed May 6, 2024
1 parent c848ac6 commit 452d3ab
Show file tree
Hide file tree
Showing 2 changed files with 321 additions and 492 deletions.
7 changes: 0 additions & 7 deletions packages/connect-popup/e2e/support/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,6 @@ const getExtensionPage = async () => {
'build-webextension',
);

const initialBrowserContext = await chromium.launchPersistentContext(
`/tmp/test-user-data-dir/${new Date().getTime()}`,
);
await initialBrowserContext.clearPermissions();
await initialBrowserContext.clearCookies();
await initialBrowserContext.close();

const userDataDir = `/tmp/test-user-data-dir/${new Date().getTime()}`;
const browserContext = await chromium.launchPersistentContext(userDataDir, {
// https://playwright.dev/docs/chrome-extensions#headless-mode
Expand Down
Loading

0 comments on commit 452d3ab

Please sign in to comment.