From 685471e6a9abfb25dc11c47c5f632a5e0eb8ad6f Mon Sep 17 00:00:00 2001 From: Eric Jinks <3147296+Jinksi@users.noreply.github.com> Date: Fri, 18 Oct 2024 07:27:13 +1000 Subject: [PATCH] Update Playwright README with correct instructions for updating snapshots (#9563) --- .../fix-9562-readme-correction-playwright-update-snapshots | 5 +++++ tests/e2e-pw/README.md | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 changelog/fix-9562-readme-correction-playwright-update-snapshots diff --git a/changelog/fix-9562-readme-correction-playwright-update-snapshots b/changelog/fix-9562-readme-correction-playwright-update-snapshots new file mode 100644 index 00000000000..846b832a05f --- /dev/null +++ b/changelog/fix-9562-readme-correction-playwright-update-snapshots @@ -0,0 +1,5 @@ +Significance: patch +Type: dev +Comment: Update Playwright README with correct instructions for updating snapshots – not user-facing. + + diff --git a/tests/e2e-pw/README.md b/tests/e2e-pw/README.md index f18388e3f31..c91f61a345d 100644 --- a/tests/e2e-pw/README.md +++ b/tests/e2e-pw/README.md @@ -17,7 +17,7 @@ See [tests/e2e/README.md](/tests/e2e/README.md) for detailed e2e environment set - `npm run test:e2e-pw` headless run from within a linux docker container. - `npm run test:e2e-pw-ui` runs tests in interactive UI mode from within a linux docker container – recommended for authoring tests and re-running failed tests. - `npm run test:e2e-pw keyword` runs tests only with a specific keyword in the file name, e.g. `dispute` or `checkout`. -- `npm run test:e2e-pw --update-snapshots` updates snapshots. +- `npm run test:e2e-pw -- --update-snapshots` updates snapshots. This can be combined with a keyword to update a specific set of snapshots, e.g. `npm run test:e2e-pw -- --update-snapshots deposits`. ## FAQs