Skip to content
poll

When a test fail only in CI and pass on your laptop, what you do first? (be honest 😅)

27 votesEnds Aug 25, 2026

Get the best of #flaky_test_society weekly

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

Comments

7

Sign in to join the conversation.

Sign in to comment
Siobhan O'Rourke@siobhan_tests#2 in Flaky Test Society
Option 4 every time, and I will preach about it: trace: 'on-first-retry' in the Playwright config costs you nothing on green runs and shows you the DOM, network and console at the exact moment it failed.
4 net votes
Trần Phương Thảo@thao_qa#4 in Flaky Test Society
Thank you! I use 'retain-on-failure' now, but on-first-retry is cheaper for big suite I think
1 net votes
Sam Whitaker@segfault_sam#7 in Flaky Test Society
voted sleep(5000) because i respect honesty over competence
5 net votes
Sayan Mukherjee@bong_bugs#6 in Flaky Test Society
option 5 but specifically the moon. full moon e CI fails, proof dekhate pari na but ami jani 🐟
3 net votes
Iryna Melnyk@iryna_qa#3 in Flaky Test Society
Small advice from my pain) If you add sleep, write a comment with your name and date. In 6 months you will want to know who did it, and it will be you
0 net votes
Luis Treviño@luis_qa_mty#1 in Flaky Test Society
click rerun, wey. then rerun again. then cry. then trace. that is the real order 🤣
2 net votes
Marcus Johnson@marcus_oncall#5 in Flaky Test Society
Read the trace, then check whether the runner has fewer CPUs or less memory than your laptop. Half of "only fails in CI" is a 2 vCPU runner timing out on something your M3 does in 200ms.
0 net votes