next.js
1e063406 - fix: wait for playwright fixture to setup before running test (#66842)

Commit
1 year ago
fix: wait for playwright fixture to setup before running test (#66842) ### 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 that `page.route(…)` needs to be awaited before continuing. ### Why? So that Playwright works correctly with the `next` fixture. Co-authored-by: JJ Kasper <jj@jjsweb.site>
Author
Parents
Loading