Skip to content
NewiPhone Duo, live in your browser. Try it →

Testing Results and flaky tests

Test results and flaky tests

How VibeView counts runs, the group summary, what makes a test flaky, Needs attention, and finding slow tests.

VibeView keeps a short summary of how your tests are doing. It is in the Runs section of the Tests page, and for one group in the Analytics API.

Which runs count

A run counts when it tells you something about your app or your test: it passed, or it failed because a check failed, the screen didn’t match, a step couldn’t be done or the app crashed. Cancelled runs, runs stopped because usage credit ran out, and runs that ended because the device session ended don’t count toward pass rates, run counts, durations, Needs attention or flaky tests.

Group summary

The Analytics API returns, for one group and the last 30 days:

  • Pass rate — counted runs that passed, out of all counted runs.
  • Runs — counted runs of the group’s tests, on their own or in a group run.
  • Avg duration — the average time of counted runs.
  • Cost — what the group’s runs cost in the window, including cancelled ones. Runs on your own AI key show an estimate.
  • Tests — how many tests the group has.
  • Flaky tests — how many of its tests are flaky now.

A pass rate or duration with no data is null, never 0%. On the Runs section it shows —.

Flaky tests

A test is flaky when its last 10 counted runs include both a pass and a failure. A test that passes again 10 times in a row is no longer flaky. When a run makes a test flaky, the run.warning.flaky notification is sent once; it is sent again only after the test has been stable and turns flaky again. See Webhooks and Slack.

Needs attention

A test needs attention when one of its last 3 counted runs failed. In the test list, its Last result names what went wrong; click it to read the whole reason and open that run. The Runs section lists the same tests under Needs attention.

Slow tests

A test’s average time over the last 30 days is in the Results header on its page (see A test’s page). The Runs section’s Avg duration tile shows the average for the app’s runs.

To find slow tests, open the Runs section for the app’s average, then compare each test’s own average on its page.

Analytics API

GET /api/v1/tests/suites/{suite_id}/analytics?days=30 returns the group summary. days is 1 to 365 and defaults to 30. Add platform (for example android) to count only runs on a device of that platform, as the Tests page does when you pick one: every figure except the number of tests then comes from those runs. It must be a platform the group’s product has an app for; otherwise it returns 422.

{
  "suite": { "public_id": "a1b2c3", "name": "Checkout", "case_count": 4 },
  "stats": {
    "window_days": 30,
    "total_runs": 12,
    "pass_rate": 0.917,
    "avg_duration_ms": 41000,
    "total_cost_micro": 90000,
    "real_cost_micro": 90000,
    "est_cost_micro": 0,
    "case_count": 4,
    "flaky_count": 1
  }
}

The suite object also carries the group’s app, and the keys a group no longer has (description, tags, reset_strategy, visual_regression_*) with fixed values (reset_strategy is always clear_data); it is trimmed here.

pass_rate is null when no counted run finished in the window, and avg_duration_ms is null when none had a duration. flaky_count is null until one of the group’s tests has a counted run. Costs are in micro-credits: 1,000,000 is $1.00, and est_cost_micro is the estimate for runs on your own AI key.

Last updated 2 Dec 2026 Something wrong on this page? Tell us

Search the docs