Closed kevva closed 1 week ago
Allow CI Workflow Run
Note: this should only be enabled once the PR is ready to go and can only be enabled by a maintainer
Commit: 7a4b1c5b8a7fb726cfa1f000aee045b6d08c80e8
Yes, it looks like it is the bug. The doc shows examples of await page.route()
https://playwright.dev/docs/api/class-page#page-route
What?
Sometimes, probably when you have a lot of tests, I've noticed that some tests are failing with the error
browserContext.route: Test ended
. After some debugging I found thatpage.route(…)
needs to be awaited before continuing.Why?
So that Playwright works correctly with the
next
fixture.