How to Identify, Fix, and Prevent Flaky Tests
If you want to know how to deal with flaky tests in general, Deepika Kale wrote a good, high-level overview.
And Wayne Roseberry suggests that sometimes you need to Think Like A Tester And Go Beyond The Code.
How we faced the problem of flaky tests
Test flakiness is one of the most common challenges in test automation. Here's how Bogdan Polianok and his colleagues approached this problem by building a custom solution to identify the flaky tests.
Deal With Flaky APIs From Cypress Tests
And if you write API tests using Cypress, you may want to follow these tips from Gleb Bahmutov on making them more stable.
Moreover, David Ingraham shares a few pieces of advice on leveraging Helpers in Cypress — When and Where to Use Them.
Are You Sure They Are Flaky Tests?
Failing tests? Stuart Thomas advises to first find out whether it's a problem with a test or the system. And once you know it — act accordingly.
Flakiness isn't from your test framework
David Burns — one of the main contributors to Selenium — explains why tools alone can't solve test flakiness. There's a constructive discussion in the comments, too.
Fixing a flaky Playwright test with a loop
I enjoyed reading this story of Steven Boutcher trying to fix a flaky test with a custom solution only to notice there's already a built-in feature in Playwright to handle that case. I mean, who hasn't been there?!
Furthermore, Thananjayan Rajasekaran shared a handy guide to Executing Tests on Remote Browser and Browser in Servers with Playwright.
Timeouts Against Flaky Tests: True Cases with Playwright
In some scenarios, Playwright tests can be flaky, too. Andrey Enin gives three examples and offers a controversial, but effective solution using timeouts.
Furthermore, Ravi Kiran showcases the Effective Utilization of Playwright Fixtures.
How to make your GUI test automation less flaky and brittle
And if you're hungry for more test automation improvement tips, here comes Kevin Tuck with a solid piece of advice on making your UI tests more stable.