Skip to content

Commit

Permalink
fix pipeline. rerty added
Browse files Browse the repository at this point in the history
  • Loading branch information
tttt24 committed Jun 24, 2024
1 parent 7221ac4 commit b4ac492
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions e2e/src/fixtures/hooks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,9 @@ async function beforeAll() {
// With reset active, all scenarios, but 1st, will not have extension page open on its own.
if (WITH_EXTENSION_RESET && lastPage.url() !== EXTENSION_URL) {
CustomBrowserContext.page = await CustomBrowserContext.browser.newPage();
await sleep(2000)
await CustomBrowserContext.page.goto(EXTENSION_URL);
await retry(async () => {
await CustomBrowserContext.page.goto(EXTENSION_URL as string);
}, RETRY_OPTIONS)
}
}

Expand Down

0 comments on commit b4ac492

Please sign in to comment.