Playwright is great for avoiding a lot of manual QA in the browser, which is great!
On the project I'm working on however, it's incredibly flaky... I have set it to 2 retries and it still doesn't pass all the tests every time. The website I'm testing is not overly complex (no React or Angular, some modern JS).
Are there techniques to make it less flaky? It's gotten to a point where I just can't trust the Playwright test suite because I don't know if it's a flaky test or a failing-for-real one.
This thread is trying to answer question "Are there techniques to make Playwright less flaky?"
or maybe try to experiment with waitForLoadState()
https://playwright.dev/docs/api/class-page#page-wait-for-load-state
Rayrun is a community for QA engineers. I am constantly looking for new ways to add value to people learning Playwright and other browser automation frameworks. If you have feedback, email [email protected].