mirror of
https://github.com/element-hq/element-web
synced 2024-11-22 17:25:50 +03:00
40aa5ad0fb
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> |
||
---|---|---|
.. | ||
e2e | ||
pages | ||
plugins | ||
.gitignore | ||
element-web-test.ts | ||
README.md | ||
tsconfig.json |
To update snapshots you will need to run Playwright on a Linux machine. If you have access to docker then you can use the following:
docker run \
--rm \
--network host \
-v $(pwd)/../:/work/ \
-v playwright-ew-node-modules:/work/element-web/node_modules \
-v /var/run/docker.sock:/var/run/docker.sock \
-v /tmp/:/tmp/ \
-w /work/matrix-react-sdk \
-it mcr.microsoft.com/playwright:v1.40.0-jammy \
sh -c "apt-get update && apt-get -y install docker.io && yarn --cwd ../element-web install && npx playwright test --update-snapshots --reporter line"