From af6e93dfd6eb5f437ede3d4acfc69be9719e3b29 Mon Sep 17 00:00:00 2001 From: Max Schmitt Date: Thu, 15 Dec 2022 17:14:21 +0100 Subject: [PATCH] docs(test-cli): document --trace mode (#19474) --- docs/src/test-cli-js.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/src/test-cli-js.md b/docs/src/test-cli-js.md index 91bb847eec..2031a672ff 100644 --- a/docs/src/test-cli-js.md +++ b/docs/src/test-cli-js.md @@ -107,6 +107,8 @@ Complete set of Playwright Test options is available in the [configuration file] - `--timeout `: Maximum timeout in milliseconds for each test, defaults to 30 seconds. Learn more about [various timeouts](./test-timeouts.md). +- `--trace `: Force tracing mode, can be `on`, `off`, `on-first-retry`, `retain-on-failure` + - `--ignore-snapshots`: Whether to ignore [snapshots](./test-snapshots.md). Use this when snapshot expectations are known to be different, e.g. running tests on Linux against Windows screenshots. - `--update-snapshots` or `-u`: Whether to update [snapshots](./test-snapshots.md) with actual results instead of comparing them. Use this when snapshot expectations have changed.