From 873c4bf9405195cdd49f313354a73ef18d77971b Mon Sep 17 00:00:00 2001 From: David Baker Date: Tue, 27 Feb 2024 16:36:43 +0000 Subject: [PATCH] Allow screenshot update docker to run multiple test files The entrypoint script only passed the first argument so if you specified multiple test files it would only run the first. This will need the docker image to be rebuilt on each machine you run it on to take effect. --- playwright/docker-entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playwright/docker-entrypoint.sh b/playwright/docker-entrypoint.sh index 4d2354dfa4a..7bc5d2c9d84 100644 --- a/playwright/docker-entrypoint.sh +++ b/playwright/docker-entrypoint.sh @@ -5,4 +5,4 @@ set -e yarn link yarn --cwd ../element-web install yarn --cwd ../element-web link matrix-react-sdk -npx playwright test --update-snapshots --reporter line --project='Legacy Crypto' $1 +npx playwright test --update-snapshots --reporter line --project='Legacy Crypto' $@