Skip to content
Philippos Melikidis

2026 · open source

flakeproof

When CI goes red, flakeproof tells you whether the app broke or just the test.

Diagram. A matrix of four page changes against three tests. A changed button text must turn a test red. A renamed class, an extra wrapper and an element that appears 800 ms later must not. The good test reacts correctly everywhere, the blind test stays green on the real change, the fragile test goes red on the cosmetic ones. Verdicts, real change, fragile, nondeterministic or unclear.Change to the pageMustGood testBlind testFragile testButton text changedmeaningfulClass renamedcosmeticExtra wrappercosmeticElement 800 ms latertiminggoes redstays greenwrong reactionWhen CI fails, one of four verdictsReal change / Fragile / Nondeterministic / UnclearDiagram. A matrix of four page changes against three tests. A changed button text must turn a test red. A renamed class, an extra wrapper and an element that appears 800 ms later must not. The good test reacts correctly everywhere, the blind test stays green on the real change, the fragile test goes red on the cosmetic ones. Verdicts, real change, fragile, nondeterministic or unclear.Change to the pageMustGoodBlindFragileButton text changedmeaningfulClass renamedcosmeticExtra wrappercosmeticElement 800 ms latertiminggoes redstays greenwrong reactionWhen CI fails, one of four verdictsReal changeFragileNondeterministicUnclear
Schematic. How a good, a blind and a fragile test react to the same changes

The problem

An end-to-end suite can fail you in two ways. Blind tests stay green while something real breaks, fragile tests go red because a class name changed. Both get called flaky, and every red build turns into guesswork.

What I built

A tool that mutates the page under test on purpose and watches how the tests react. Meaningful changes, like a changed button text, must turn a good test red. Cosmetic ones, like a renamed class or an extra wrapper, must not, and neither should an element that appears 800 ms later. When CI fails, flakeproof compares the failing selector against a baseline and gives a verdict.

What came out

Four verdicts instead of a shrug, real change, fragile, nondeterministic or unclear. For fragile selectors it proves a better one instead of guessing it, and when the evidence is mixed it says so.

Tech

  • Node.js
  • Playwright

Source on GitHub

Works with Playwright, Robot Framework, Cypress, Selenium and Puppeteer.

← All work