Put a flaky test in quarantine

See which tests flip between pass and fail, and quarantine one with an owner so its runs stop counting as evidence until it is fixed.

In short

A flaky test passes and fails with no change in between. The tests list shows "Flaky tests" when a test's verdict flips often. Quarantine it with an owner and a reason. It keeps running, but its runs are not evidence for a design step, a bug or the figures until someone takes it out.

Before you start

Steps

  1. Open the site's tests. "Flaky tests" lists each flaky test, such as "Changed 7 times in 20 runs (35%)".
  2. Press "Quarantine", write "Why" and choose the "Owner".
  3. Press "Quarantine" to confirm. Once it is fixed, press "Take out of quarantine".

Result: the test is marked "In quarantine" with its owner and reason.

Good to know

If something goes wrong

Related