From 2402cd59bce19d65b144ba652ef773174efd2ed4 Mon Sep 17 00:00:00 2001 From: David Baker Date: Wed, 28 Feb 2024 10:04:25 +0000 Subject: [PATCH] Allow screenshot update docker to run multiple test files (#12291) 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 4d2354dfa4..7bc5d2c9d8 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' $@