Software Testing / Learning brief

Tom stops trusting the scale

What this means in plain language

A Daily List check goes red, green and red again with no change to the app, and the team starts to ignore it. A kitchen story of flaky checks, their causes and fixes that do not hide them.

Understand the full idea, step by step

You weigh flour and see 200 grams. You weigh the same flour again and see 205. Neither number is far off, but now you trust none of them, and you start guessing.

The Daily List team has a check that goes red on Monday, green on Tuesday and red on Wednesday. Nobody changed the app. People have started to say, just run it again.

Evidence & review

REVIEWED 2026-10-18

The date on this lesson is when it went up on Payments Signal, not when its material was written — most of these were brought across from an earlier catalogue in a single run, which is why so many of them share a date. What the lesson says about the world is dated by the review above and by the sources below it.

Flaky tests as taught in this academy, with an invented app. The order, timing and JavaScript runs were done for real.

What this brief simplifies: Fiction labelled SYNTHETIC / TRAINING ONLY. Sources were seen only as search excerpts. The scale is a teaching picture. Timing counts are from one set of runs.

Sources for this brief — 7 sources
  1. Market practice

    Flaky tests at Google and how we mitigate them (Google Testing Blog, 2016) ↗ — Google (Testing Blog) · Describes flaky tests at Google and the ways the team mitigates them (search excerpt, page not opened)

    Per the search excerpt, flaky results wear down trust because people learn to ignore alarms with a history of false signals; Google can re-run failing tests and mark a test as flaky. Practitioner guidance, not a standard. · Checked 2026-10-18

    Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.

  2. Market practice

    Eradicating Non-Determinism in Tests (Martin Fowler) ↗ — Martin Fowler · Names isolation, asynchronous behaviour and quarantine; advises polling or callbacks with a timeout instead of bare sleeps; quarantined tests need a deadline (search excerpt, page not opened)

    Names isolation, asynchronous behaviour and quarantine as ways to handle non-deterministic tests, and advises against bare sleeps in favour of callbacks or polling with a timeout. Practitioner or vendor guidance, not a standard unless stated. · Checked 2026-10-18

    Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.

  3. Market practice

    Just Say No to More End-to-End Tests (Google Testing Blog, 2015) ↗ — Google · End-to-end tests are slow and flaky when they dominate; keep them few (search excerpt, page not opened)

    Argues for keeping end-to-end tests few because runtime and flakiness grow when they dominate. Practitioner or vendor guidance, not a standard unless stated. · Checked 2026-10-18

    Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.

  4. Market practice

    Using promises (Mozilla developer docs) ↗ — Mozilla · It is easy to forget await, and a promise used as a value gives a type mismatch (search excerpt, page not opened)

    Says it is easy to forget the await keyword and that a promise used as a value gives a type mismatch. Practitioner or vendor guidance, not a standard unless stated. · Checked 2026-10-18

    Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.

  5. Market practice

    The Practical Test Pyramid (Martin Fowler site, by Ham Vocke) ↗ — Martin Fowler / Ham Vocke · Many small fast checks, few slow ones (search excerpt, page not opened)

    Explains the test pyramid, sorting tests by size, and the ice-cream cone warning. Practitioner guidance, not a standard. · Checked 2026-10-18

    Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.

  6. Market practice

    Waiting strategies (Selenium documentation) ↗ — Selenium project · Fixed waits and implicit waits can make timing unpredictable (search excerpt, page not opened)

    Per the search excerpt, an implicit wait is a session-wide setting for element lookups, an explicit wait polls for one named condition, and mixing the two can cause unpredictable wait times. · Checked 2026-10-18

    Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.

  7. Simplified educational illustration

    Payments Signal editorial teaching models — Payments Signal

    This site's own simplified teaching models. · Checked 2026-07-12

    Used wherever diagrams, scenarios, figures, or example values are didactic constructions rather than sourced facts; every such use carries a simplifications disclosure. All people, companies, banks, and list entries in examples are fictional.

Learn this properly

START HEREFlaky testsName the main causes of a check that passes and fails by luck: timing, shared data and order, async slips and the environment. Then fix them.Opens at L0 Explain simply · about 20 min

Also covered in Waits and timing in automated checks.

Related briefs

Tom marks the stops

Tom practises building keywords and choosing regression tests after a change. A phrase book and a trip plan show him how.

READ BRIEF

Tom stops waiting by the clock

Tom's test pauses for a few seconds before every click, and it is slow. A waiter who looks before seating a guest shows what Playwright checks for you, and which waits it cannot do for the page.

READ BRIEF