QadetDocs
Test · Reliability

Getting started

Set up

Test

Connect

Reference

Test

Reliability

Know which tests to trust, which are flaky, and where they'll break next.

A second opinion before a failure

A run with AI that fails, or can't decide, runs once more before you see the result, and a failure is reported only when both runs agree. It is on by default and uses the frontier model. In Settings → AI, on the AI model card, you can choose a Second-opinion model, ideally a stronger one, or turn Second opinion off. If the second run passes, the run says Passed on retry. Runs blocked by the environment or missing data aren't run again, since another model wouldn't change them, and passing runs aren't touched, so they stay as fast and cheap as before.

A review before a pass is saved

When Qadet's AI finishes a test as passed, a second, economical model reads the test's Goal and its saved steps before they are saved, as a reviewer would. It looks only for checks that would let the test pass while the app is broken: a part of the Goal nothing checks, a check of text the page showed all along, or a value the test doesn't control, such as today's date. The AI fixes what is real once, then saves. The review takes a few seconds; if it takes longer than 20 seconds or fails, the test is saved as before. Its cost counts toward the run.

Flaky tests

A test that failed and then passed on retry is marked flaky until it passes cleanly five times in a row. The Tests tab counts them, and a filter shows them. A run that passed only on its retry says Passed on retry on its page, in the Tests list, in test runs, in PDF and Excel reports and to your editor, so it never looks like a clean pass.

A replay in a test run that fails gets one more attempt by itself. If that passes, the test is marked flaky rather than failed. See Test runs.

Quarantine

Turn on Quarantine on a test's page for a test you know is unstable. It still runs and reports, but its failures don't fail a test run.

Reliability score

A test's page shows its reliability: the pass rate of its last 20 finished runs, leaving out runs that couldn't reach the app.

Tips from Qadet

A project's page shows a small card in the bottom corner when something you know would make its plans and tests more reliable. One tip shows at a time, with dots when there are more, and each offers one thing to do:

  • A data or setup problem: a test failed because the app wasn't in the state it expects, not because the app changed, such as a budget another test left open or data its setup never made. The tip says what was missing. Change the test with Qadet from the first broken step so it makes its own data, or give its setup the data.
  • The app's rate limit: the app turned two or more runs away with "Too many requests" in the last day. Relax the limit in the environment you test.
  • Tests were blocked in the last day for something Qadet couldn't know, such as missing setup data. The tip names the most common reason, and See blocked tests lists them. Missing passwords and an app's rate limit have banners of their own.
  • Knowledge is waiting for you: facts from your editor, or lessons in an organization that reviews them, are used once a person approves them. Review opens them in Setup.
  • Plans were corrected two or more times this week. A short PRD or spec added under Knowledge helps the next plan get it right the first time. Answers to Qadet's own questions don't count as corrections.

Not now hides a tip for a day on that browser. It comes back sooner when something new happens, such as another blocked test. The card moves up while the Running now player shows, and the tips are worked out from what already happened, with no AI.

Warnings

  • Steps that keep needing repairs: a step repaired several times recently. Rewrite it to name what's on the page.
  • Values that can collide with another run: a step types the same value every run for a record it creates. Add {{unique}}.
  • Slowest step: where a test spends its time.