From 9cb7e59ecd0e236e38b83c5db4d860a0f4b9d185 Mon Sep 17 00:00:00 2001 From: MARCHAND MANON Date: Tue, 21 May 2024 14:41:06 +0200 Subject: [PATCH] docs: add instructions to refresh snapshots --- js/ui-tests/README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/js/ui-tests/README.md b/js/ui-tests/README.md index db26f1d4..c3b81a5f 100644 --- a/js/ui-tests/README.md +++ b/js/ui-tests/README.md @@ -37,3 +37,17 @@ notebooks testing. ```sh npx playwright test my_test.spec.js --debug ``` + +## Update the snapshots + +Open the test server + +```sh +npm run start-test-server +``` + +then update the snapshots + +```sh +npx playwright test --update-snapshots +```