Flaky Test Society
Nobody has said anything yet. Be the first.
Software testing and QA automation: E2E, flaky tests and test strategy
For people who have re-run a pipeline "just to see". End-to-end testing, test pyramids and test trophies, Playwright and Cypress, and making CI something the team trusts again.
Post the failing test, not just the error
And how often it fails. 1 in 5 and 1 in 500 are different bugs.
Bring the detail
Versions, error text, what you already tried. "It does not work" is not a question anyone can answer.
No drive-by self promotion
Share your own work when it answers the thread. A link with no context is an advert, and it gets removed.
Moderated by Siobhan O'Rourke
Nobody has said anything yet. Be the first.
Showing 6 posts.
Qué onda raza. Después del post del martes maldito (el test que solo fallaba los martes, búsquenlo) varios me preguntaron por DM cómo le hacemos para mantener 900 tests e2e sin volvernos locos. Aquí va lo que neta nos funcionó. Nada de magia, pura chamba. 1. Deja de usar waitForTimeout Si tienes await page.waitForTimeout(3000) , ya perdiste. En tu máquina 3 segundos sobran, en CI con 2 CPUs no alcanzan. Usa las…
Hello everyone) I collect flaky test causes like other people collect stamps. Here is my bingo card from the last 4 years. All real, all happened to me or my team. If you get a full row in one sprint, you deserve a day off. Row 1: Time 1. Test uses real current time. Fails at midnight, at end of month, on DST change. Fix: freeze time. In Playwright page.clock.setFixedTime() , in Jest or Vitest fake timers with a…
ok this one took me 3 weeks and I need to share it because neta I still don't believe it. Context: I do QA automation for a US insurance app, Playwright + TypeScript, around 900 e2e tests that run every night on CI at 2am Central. We had one test, renew policy shows correct premium , that started failing. Not every night. Some nights. Rerun, it pass. Classic flaky, we put it on the quarantine list and move on. Then…
Ive been the person who gets pinged when CI goes red for about six years now, first in a fintech and now in insurance. After a while you notice the flakes arent random. They come in the same handful of flavours. Heres my list, roughly in order of how often I see them. 1. Racing the UI The test clicks before the button is ready, or reads text before the request came back. The fix people reach for is a sleep. Dont. In…