Skip to main content

Test Runs

A test run is a named, rerunnable set of test cases that you execute together. Where Test Execution is about running scripts one at a time, a test run keeps every attempt, so you can see what passed, what failed, what only passed on a retry, and how the result changed between runs.

  • Who can create, start and edit runs Project Admin, QA Manager, Tester (and workspace Owners and Coordinators). Everyone on the project can view them
  • Costs Nothing. Running tests never uses Flairs
  • Where Project → Test Runs
  • Also from Your AI editor, through the MCP server

Runs, sessions and cases​

Test runname, framework, execution preference
CasesTC-1, TC-2
Start runSession 1every case executed once
RerunSession 2TC-2: attempt 1 failed, attempt 2 passed, so TC-2 is Flaky
A run holds its cases; every Start or Rerun opens a new session; every execution of a case inside a session is an attempt.
TermWhat it is
RunThe container you create and name. It holds a set of test cases, a framework, a language, an execution preference and an optional environment label.
SessionOne press of Start run or Rerun. Each session executes every case in the run and keeps its own results.
AttemptOne execution of one case. Re-running a single case adds another attempt to the current session. The Triers count shows how many attempts a case has had.
CaseA test case in the run, with the status of its latest attempt.

A run never fails. It goes from Not Started to Running to Completed even when every case inside it failed: the run's status says whether the work finished, not whether your application passed. Pass and fail are reported per case.

Creating a test run​

Step 1 of Create Test Run: name, description and test cases

Adding test cases to a run: only cases with a completed script are listed

Step 2 of Create Test Run: execution preferences, language and framework

  1. Open your project and go to Test Runs.
  2. Click Create test run.
  3. Test run details: enter a Run Name and, optionally, a Description. Under Test cases, click Add and pick the cases, grouped by user story. Only test cases with a completed script are offered. (The Test plan field is not available yet.)
  4. Click Next.
  5. Preferences: choose the Execution Preferences to use (or Add New setting), optionally an Environment label such as Staging, the language (Java; Python is not available yet) and the automation framework, Selenium or Playwright.
  6. Click Create.
One framework per run

Every case in a run executes with the run's framework. A case whose script was generated with the other framework shows as Blocked. If your project has scripts for both frameworks, create a run for each.

A run uses its execution preference live: if someone edits that saved preference, the run's next session uses the new values. Each session keeps a record of the settings it actually ran with, shown as Last run used on the Details tab.

Starting and rerunning​

  • Start run opens the first session. The confirmation reminds you that cases without a generated script are skipped as Blocked.
  • Rerun opens a new session over all the cases. Earlier sessions are kept.
  • Re-run on a single Failed case runs just that case again, inside the current session.
Not Started
Runningafter Start run
Completedevery case settled
  • Completed→RunningRerun, or re-run a case
A run's status. Re-running a single case reopens the current session, so the run reads Running until that case settles.

Progress updates live; you don't need to refresh. You're notified when the run finishes.

Limits and cost​

  • Time per test: each case gets the Maximum Test Duration from the run's execution preference, 120 seconds by default and up to 250 seconds.
  • Concurrency: up to 4 test runs can be in progress per workspace. Inside them, executions share the workspace's slots with every other execution: 3 at a time per workspace and 2 per user. Cases beyond that wait as Queued.
  • Cost: running tests never costs Flairs.

Case results​

A run's Test Cases tab with the case result

ResultMeaning
Not StartedThe current session hasn't reached it, or the run hasn't started
QueuedWaiting for a free execution slot
RunningExecuting now
PassedThe latest attempt passed
FailedThe latest attempt failed
FlakyThe latest attempt passed, but an earlier attempt in the same session failed
BlockedThe case could not be executed. See below

How Flaky is decided​

Latest attempt passed?
No
Failed
Yes
An earlier attempt in this session failed?
Yes
Flaky
No
Passed
Only attempts in the same session count. A failure in an older session never makes today's pass Flaky.

A case becomes Flaky when it fails, you Re-run it, and it then passes. A fresh Rerun of the whole run starts a new session, so its cases start clean. An attempt that stopped because a precondition failed doesn't count as a failure of the case itself.

Treat Flaky as a warning, not a pass: a test that only passes on retry usually has a timing problem, or your application is genuinely unstable.

Why a case is Blocked​

A case blocked because its script was built for the other framework

Blocked cases are dimmed and can't be opened or re-run. The reason is shown on the case:

ReasonWhat to do
No script generatedGenerate the test case's script. See Test Scripts.
Script still generatingWait for generation to finish, then rerun.
Built for another frameworkRegenerate the script with this run's framework, or edit the run to use the other framework.
Precondition on another frameworkA precondition's script uses the other framework. Regenerate it with this run's framework.
Precondition script not readyA precondition has no finished script. Generate it first.
Precondition failedThe case's precondition failed during the run, so its own steps never ran. Fix the precondition.
info

Progress counts every case in the run, blocked ones included, so a run with blocked cases can complete without reaching 100%.

The run detail view​

A completed run's Analytics tab

The header shows the run's name, status and progress bar, with Edit, Start run or Rerun, and a ⋯ menu (View properties, Export, Delete). It has three tabs:

TabWhat it shows
AnalyticsTiles for Total test cases, Total passed, Total failed and Avg duration; a donut of Queued, Running, Passed, Failed, Flaky and Blocked; and Top failing tests with their Triers count
Test CasesEvery case with its result and blocked reason. Filter with All / Queued / In progress / Completed and search. Re-run a failed case, open a case's execution details (logs, video, metrics), or generate bugs from a failure
DetailsExecution Preferences, Last run used, Programming language, Automation framework and the other properties

How Analytics counts:

  • Total passed includes Flaky cases, because they ended green; the donut still shows Flaky as its own segment.
  • Avg duration is the average of each case's latest attempt.
  • Top failing tests lists up to 5 Failed or Flaky cases, the ones with the most attempts first.

Analytics and the Test Cases tab are calculated from the same results, so they always agree. Comments are available on a run. See Collaboration.

Editing a run​

Click Edit to change the name, description, environment, execution preference, framework or cases. The language is fixed at creation, and the framework can't be changed while the run is executing. Changing the framework re-checks every case, so cases built for the previous framework show as Blocked.

warning

Saving the case selection replaces the run's cases. The picker opens with the current cases already selected, so only clear ones you mean to remove.

Exporting a run​

Choose Export from a run's ⋯ menu, or select several runs in the list and export them together. You get an Excel workbook with four sheets:

SheetContents
SummaryThe run, the settings it ran with, its latest session and totals
Test CasesOne row per case with its result and blocked reason
AttemptsOne row per execution: the evidence behind a Flaky result
SessionsOne row per Start or Rerun

Finding runs​

The Test Runs list with summary cards

The Test Runs list shows Total runs, Active Runs, Completed runs and Avg Progress at the top. Search by name, use the All / Active / Completed / Not started toggle, or open the filter drawer to filter by Date (last 7, 30 or 90 days) and Status. Select runs to export or delete them in bulk; runs that are executing can't be deleted.

Troubleshooting​

All my cases are Blocked

  • Usually a framework mismatch. Compare the framework on the Details tab with the framework the scripts were generated with.

The run completed but nothing passed

  • That is a normal completed run reporting real failures. Open a failed case to see its logs and video, and turn it into a bug. See Bugs.

Progress stopped below 100%

  • Check for blocked cases. They count toward the total but never execute.

A case keeps coming back Flaky

  • It passes only on retry. Look for timing assumptions in the script (raise Action Timeout or add a Page Transition Timeout in the execution preference) or instability in the application.

Start run is refused

  • A run can't start while it is already running, or if it has no cases.

Next Steps​

  • Test Execution — Run a single script and read its results
  • Test Scripts — Generate the scripts a run needs
  • Test Plans — Release-level coverage across runs
  • MCP Server — Create and start runs from your AI editor
  • Bugs — Turn a failed case into a tracked bug