Condition fields
There are 13 fields. Which ones a rule can use depends on the action: see Skip matches before the run.
Error Message only exists after a test has run, so it is available to quarantine and tag rules, never to skip rules.
Operators
is present and is empty take no values. is and is not take exactly 1. The rest take a list of up to 50.
A missing field is not the same as an empty one. is missing all of is true when the field does not exist at all, because a value cannot be present in something that is not there. is present is false in that case.
Match with a regular expression
Any condition can be evaluated as a regular expression instead of literal text. Patterns are validated when you save the rule, so an invalid pattern is rejected at creation rather than at run time. A pattern that does not compile matches nothing.Combine conditions with AND and OR
Conditions live in a tree. The top level is a group set to either AND, where every child must match, or OR, where at least one must. Groups nest up to 3 levels deep, counting the top level as the first. A rule targeting flaky checkout tests on 2 branches uses an OR group nested inside an AND group: the test is incheckout.spec.ts, and the branch is either main or release.
Skip matches before the run
Skip is decided before Playwright starts, so a skip rule can only use information that exists at that point. Conditions that depend on a result cannot back one.
The rule builder blocks an unusable combination as you build it, rather than saving a rule that would never fire. Picking an unavailable field shows:
Limits
Related
TestDino Actions
How rules skip, quarantine, and tag tests, and how to create one.
Create an action rule
Build the same conditions over the public REST API.