Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
TypeScript automationchromechromiume2e-testingelectronend-to-end-testingfirefoxjavascriptplaywrighttesttest-automationtestingtesting-toolswebwebkit
docs(test): fix the --update-source-method signature (#42976)
Zain Qureshi0d91ec6cb210
diff --git a/docs/src/test-cli-js.md b/docs/src/test-cli-js.mdindex 6c57c94ff2..02fa76f030 100644--- a/docs/src/test-cli-js.md+++ b/docs/src/test-cli-js.md@@ -116,7 +116,7 @@ npx playwright test --ui| `--ui-host <host>` | Host to serve UI on; specifying this option opens UI in a browser tab. || `--ui-port <port>` | Port to serve UI on, 0 for any free port; specifying this option opens UI in a browser tab. || `-u` or `--update-snapshots [mode]` | Update snapshots with actual results. Possible values are "all", "changed", "missing", "none" and "default". Running tests without the flag defaults to "default"; running tests with the flag but without a value defaults to "changed". |-| `--update-source-method [mode]` | Update snapshots with actual results. Possible values are "patch" (default), "3way" and "overwrite". "Patch" creates a unified diff file that can be used to update the source code later. "3way" generates merge conflict markers in source code. "Overwrite" overwrites the source code with the new snapshot values.|+| `--update-source-method <method>` | Chooses the way source is updated. Possible values are "patch" (default), "3way" and "overwrite". "Patch" creates a unified diff file that can be used to update the source code later. "3way" generates merge conflict markers in source code. "Overwrite" overwrites the source code with the new snapshot values.|| `-x` | Stop after the first failure. |#### Test list