Learn about options to configure tests
grep: /cart/
should only run tests with “cart” in the title.
Also available in the command line with the -g
option. The regular expression
will be tested against the string that consists of the target name, path of
the test file, title of the test and tags starting with @
.e.g. staging configure-dashboard.yaml "Configure dashboard" @dashboard @data-modification
Config.grep
. Also available in the command line with the --grep-invert
option.load
, domcontentloaded
, networkidle
,commit
. Default is load
. Refer to Playwright docs |
| stepTimeout | Fail test if step takes longer than defined timeout unless overridden. In case of AI steps it will as much as needed. Default: 5000 milliseconds |
| testTimeout | Fail test if it takes longer than defined timeout. Default: 90000 milliseconds |
setup
before all tests to cache login session and reuse it for all tests.Config.targets
, but top-level Config can also define base options shared between all targets.
mask: true
to remove sensitive data from results of tests.