Less But Better: The Art of Writing Effective Test Suites
Shubham Sharma gives some good advice on improving test automation design and execution with good practices.
Additionally, Tobias Verhoog shares insights on Finding, Fixing and Preventing Flaky Tests.
Mastering Test Retries: The Art of Automation Craftsmanship
If you experience flaky tests, Cerosh Jacob has some helpful advice on what to do with examples in Playwright.
Additionally, Giuseppe Donati shows some good End-to-end tests retry strategies, and Mike Harris explains why Automated tests do not have to be flaky.
Irrational and False Excuses for Web Test Automation Failures
It's easy to find excuses for flaky tests so Zhimin Zhan decided to deal with the common and not-so-common ones.
Note: If you can't access the full article, simply open it in a private tab.
Modernize your test automation to build test coverage fast, eliminate flaky tests using AI all while scaling your team and testing efficiently. Sign up for your FREE account and leverage your 1,000 test runs per month!
When your tests fail, there might be plenty of reasons. Tarun Narula provides a set of potential solutions and practices that can reduce test flakiness and improve test automation process in general.
Making Xcode UI tests faster and more stable
I'm a big fan of implementing UI tests using the native platform's tools. However, Xcode UI tests tend to be a bit flaky. Luckily, John Sundell gives some handy tips and snippets on how to make these tests more reliable!
Bulletproof Your Automated Testing: Why Data-* Attributes Trump CSS Selectors
Nikolay Advolodkin advises adding data-*
attributes to HTML elements (e.g. data-test-id
) to make testing easier, more effective and less flaky. By the way, this approach is also recommended by modern test frameworks, such as Cypress and Playwright.
Creating Scalable Tests with Playwright, Java and Page-Object Model
Mohsen Nasiri shows us how to set up and automate tests with Playwright in Java environment.
You may also want to learn about Detecting Flaky Tests in Playwright with Havoc from Luc Gagan.
How to Organize and Separate Test Data Using Fixture in Cypress
Emmanuel Albert describes using the handy feature in Cypress that can help you easily set up test data.
That might be one of the solutions to Avoid flaky test cases in Cypress, as Roshika Gunarathne explains.
What are your biggest challenges when writing/running E2E tests?
It's insightful to see the challenges people face in their day-to-day test automation. Many of them mentioned flaky tests, which leads me to sharing with you another interesting thread: What are your thoughts on allowing test retries?.