Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: only skip hydration with vite overlay if current page is an error (
#9892) This function only runs after navigations or on the initial load and in those cases you would almost always be on the error page if there is an error. Since our tests are concurrent, the overlay is created even if the error was meant for another tab and skipping hydration prevents the rest of the test from running. It's not the ideal solution, but currently Playwright doesn't offer a way to run specific tests without concurrency. Right now there is one test where the overlay is expected but the overlay causes flakiness in other tests because it is unintentionally broadcasted to them.
- Loading branch information