Skip to main content
A flow file can name a list of targets instead of one. QA Wolf runs the flow once on each target. You keep one copy of the steps, and each target still reports its own result. Example:
QA Wolf turns this file into two flows: Log in · iOS - Any iPhone (iOS 26) and Log in · iOS - Any iPhone (iOS 27).
Target lists and @qawolf/flows/desktop run on QA Wolf. The published @qawolf/flows package on npm doesn’t have them yet, so local execution can’t type-check or run these files.

What a list can name

A list names preset names, written the same way as a single target. All entries must be of the device class that the file imports flow from: @qawolf/flows/mac and @qawolf/flows/windows take one target. To run one desktop flow on Mac and Windows, import from @qawolf/flows/desktop. A list can mix any presets of its class. For example, Chrome with Chrome (GPU), or an iPhone with an iPad. Two entries can’t name the same target. A list with one entry is the same as a single target. Its flow name has no suffix.

Each target is its own flow

Each target of a list becomes a flow named <name> · <preset>. It is a normal flow:
  • Runs — each target runs on its own device or VM, and bills as one run. A list of three targets costs three runs.
  • Results and history — each target has its own result, flow history, and bug reports.
  • Readiness, tags, and priority — each target has its own. You can pause one broken target and keep the others running.
When you add a target to a file that already has flows, the new target copies readiness, tags, and priority from the file’s first existing target. So it has the same readiness as the first target. If it is active, it joins every trigger that picks flows by tag or picks every flow. A trigger that picks flows by ID doesn’t pick up the new target.
Turning a flow into a list multiplies its runs in every trigger that selects flows by tag or selects every flow. To run a target only in some triggers, change that target’s tags.

Order and fail fast

Two options set how the targets of a list run against each other. Both are false unless you set them. Example:
Write both options as true or false in the options object. A variable, a spread, or a computed key is a sync error. The order applies inside one run. If a run selects only some targets of a sequential list, only those run in order. The run doesn’t add the other targets. Run rules can’t remove the order, An ordering rule that contradicts it is a rule cycle, and a run-with rule on a sequential list is an error.

Screenshots

Each target keeps its own screenshot baselines. For a flow of a list, QA Wolf adds the target key to the screenshot name: A Latest preset is keyed by its name, so its baselines stay when the version it points to moves. WebdriverIO adds its own platform part to native screenshot names.
Turning a flow into a list, or a list into one target, starts new baselines. The first run of each target saves its images and passes, so it can’t catch a visual change in the same commit. Run every target once against the current UI, so it saves its baselines, before you deploy the UI change.

Run rules

In rules.yaml, the flow’s name, such as Checkout, names every target of its list, the way a tag names every tagged flow. The full name, such as Checkout · Web - Firefox, names one target. A rule keeps working when its flow becomes a list. See Run rules. The flow’s name can’t be the name of another flow. Otherwise, a rule for Checkout would name both. Sync reports it as an error on the name.

Change the list

A target keeps its flow, and so its history, when you edit the file:

Run one target while you edit

In the flow editor, the target menu next to Run picks the target of a list. The run, the file tree’s Run, and Tester use the target you pick. The coverage map shows a list file as one row, with a row for each target under it. A coding agent connected through the QA Wolf MCP picks the target with the target input of runner_runFlow. It takes a preset name as the file lists it. Without it, the run takes the first listed target the runner can run. See QA Wolf MCP.

Errors

Sync checks each list. It reports an error, and the flow doesn’t run, when:
  • An entry isn’t a preset name.
  • Two entries name the same target.
  • The entries aren’t all of one device class, or not of the class of the import.
  • An entry is "Basic" or the web "Electron" target.
  • sequential or failFast isn’t written as true or false.
Sync also reports an error on the flow’s name when:
  • A target flow’s name, <name> · <preset>, is longer than 255 characters.
  • The flow’s name is the name of another flow. See Run rules.
Last modified on November 27, 2026