You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am working on a POC to see to check the feasibility of a web extension.
Running a bunch of tests in parallel, at a regular intervals in both Github workflow and local noticed Error: page.goto: Target page, context or browser has been closed issues (mostly around the beginning of the test.
Error: page.goto: Target page, context or browser has been closed
at ../steps/base_steps.ts:10
8 |
9 | async goToOnboarding() {
> 10 | await this.page.goto(`chrome-extension://${this.extensionId}/home.html#/onboarding`);
| ^
11 | await this.page.waitForLoadState('domcontentloaded');
12 | // Find the extension tab and close it
13 | // let pages = await context.pages();
at OnboardingSteps.goToOnboarding (/Users//src/extension-wallet-playwright-poc/tests/steps/base_steps.ts:10:25)
at OnboardingSteps.verifyOnboardingPage (/Users//src/extension-wallet-playwright-poc/tests/steps/onboarding_steps.ts:17:16)
at /Users/src/extension-wallet-playwright-poc/tests/e2e/onboarding.spec.ts:17:28
I am working on a POC to see to check the feasibility of a web extension.
Running a bunch of tests in parallel, at a regular intervals in both Github workflow and local noticed
Error: page.goto: Target page, context or browser has been closed
issues (mostly around the beginning of the test.Setup logic:
Ran 7 tests, 1 or 2 tests failing with this reason on 1st iteration and same tests passing in the next retry iteration.
Wondering if there is a workaround for this issue.
![Screenshot 2024-05-15 at 21 42 47](https://private-user-images.githubusercontent.com/4507565/330954635-0b52f7ee-86e2-4b65-a7f7-55f8e43573d1.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTkyOTAyNDAsIm5iZiI6MTcxOTI4OTk0MCwicGF0aCI6Ii80NTA3NTY1LzMzMDk1NDYzNS0wYjUyZjdlZS04NmUyLTRiNjUtYTdmNy01NWY4ZTQzNTczZDEucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDYyNSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA2MjVUMDQzMjIwWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9M2FlMDNhOTVkNGUwNGM3MTAzM2ZiMDVhMjQ0NDY3MjQ3MWViODljZmM1OWIwM2JhNTQwZTQ5N2QzMjA4NzljMCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.hc2wp8dreZ1VQBh1SZPmI85ng0YULlsduUr5--wAon0)
The text was updated successfully, but these errors were encountered: