From bbf8d331139255a417833d36ba9c8cb0bc68a874 Mon Sep 17 00:00:00 2001 From: Doug Harris Date: Thu, 27 Apr 2023 04:38:57 -0400 Subject: [PATCH] docs(test-runners): improve slowmo param for python (#22669) --- docs/src/test-runners-python.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/src/test-runners-python.md b/docs/src/test-runners-python.md index 57dca949f8..a37f13987b 100644 --- a/docs/src/test-runners-python.md +++ b/docs/src/test-runners-python.md @@ -27,7 +27,7 @@ addopts = --headed --browser firefox - `--headed`: Run tests in headed mode (default: headless). - `--browser`: Run tests in a different browser `chromium`, `firefox`, or `webkit`. It can be specified multiple times (default: `chromium`). - `--browser-channel` [Browser channel](./browsers.md) to be used. -- `--slowmo` Run tests with slow mo. +- `--slowmo` Slows down Playwright operations by the specified amount of milliseconds. Useful so that you can see what is going on (default: 0). - `--device` [Device](./emulation.md) to be emulated. - `--output` Directory for artifacts produced by tests (default: `test-results`). - `--tracing` Whether to record a [trace](./trace-viewer.md) for each test. `on`, `off`, or `retain-on-failure` (default: `off`). @@ -99,6 +99,8 @@ Run tests with slow mo with the `--slowmo` argument. pytest --slowmo 100 ``` +Slows down Playwright operations by 100 milliseconds. + ### Skip test by browser ```py