Skip to content

t/flaky_test_society

Flaky Test Society: top posts

The most useful posts in this topic, by likes from the community.

Posts

  1. Experience

    The test that only failed on Tuesdays (yes, only Tuesdays)

    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…

    Luis Treviño38likes15comments

  2. Article

    Flaky test bingo: 12 squares I have seen in real life (with fixes)

    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…

    Iryna Melnyk27likes11comments

  3. Article

    5 cosas que hacen tus tests de Playwright flaky (y cómo arreglarlas sin poner sleep)

    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…

    Luis Treviño10likes10comments

  4. Article

    the 5 kinds of flaky test i keep meeting, and what actually fixes them

    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…

    Siobhan O'Rourke5likes5comments

Get the best of Dynamo Geeks weekly

One email each Monday with the most useful posts. No spam; unsubscribe in one click.