From f84539bf00a48d4dc1160c4b34b7cb0cd5a793d4 Mon Sep 17 00:00:00 2001 From: Simon Knott Date: Thu, 29 Aug 2024 11:21:07 +0200 Subject: [PATCH] cherry-pick(#32145): doc(release notes): Fix 1.46 release notes typos (#32145) --- docs/src/release-notes-js.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/src/release-notes-js.md b/docs/src/release-notes-js.md index c349128151..c4434d60f5 100644 --- a/docs/src/release-notes-js.md +++ b/docs/src/release-notes-js.md @@ -41,14 +41,14 @@ You can also provide client certificates to a particular [test project](./api/cl ### `--only-changed` cli option -New CLI option `--only-changed` allows to only run test files that have been changed since the last git commit or from a specific git "ref". +New CLI option `--only-changed` will only run test files that have been changed since the last git commit or from a specific git "ref". This will also run all test files that import any changed files. ```sh # Only run test files with uncommitted changes npx playwright test --only-changed # Only run test files changed relative to the "main" branch -npx playwrigh test --only-changed=main +npx playwright test --only-changed=main ``` ### Component Testing: New `router` fixture