element-web/playwright/docker-entrypoint.sh
David Baker 2402cd59bc
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.
2024-02-28 10:04:25 +00:00

8 lines
197 B
Bash

#!/bin/bash
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' $@