A test fails on the first run and passes on the second. There are two observations here, both worth keeping. The first tells us a user path can fail under at least one set of conditions. The second tells us the failure is conditional. Throw away the first run as soon as the second turns green and the most useful clue disappears.
Consider a user who submits a form and expects to see a confirmation. The test waits for a fixed interval, then reads the screen. Sometimes the service takes longer than the interval. Sometimes the confirmation appears promptly but refers to an earlier submission. Both can produce a flaky test. Increasing the delay might make the first case quieter while leaving the second untouched.

Read the figure as text
- Run A
- Mismatch · Sent ID 41. The confirmation still shows ID 40.
- Run B
- Match · Sent ID 42. The confirmation shows ID 42.
- Next check
- Investigate · Wait for the matching ID and measure its arrival time.
Keep the disagreement
For this test I would record an identifier for the submission, the response acknowledging it, and the identifier on the confirmation. Now a failed run can answer a narrower question. Did the requested work finish, and did the interface display its result to the right user? The team can decide separately how long that work is allowed to take. Timing and correctness each get an observable condition.
This is an interesting design problem for autonomous testing. An agent can explore the path more than once, compare what it observed and propose a better check. It should preserve the original disagreement and explain which hypothesis its next run will distinguish. Otherwise automation can make a weak testing habit much faster. Rerunning until success is a particularly easy habit for software to learn.
If a team temporarily quarantines the test, I’d keep a named owner, the affected user behavior and a reason to revisit it. A hidden test is a blind spot even when the build system gives it a friendly label.
My interest in systems that can verify their own behavior starts here, with one disagreement a human can understand. An agent that can tell me why two runs diverged, and give me a way to check its explanation, has earned more trust than one that simply found a green run.

