mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-16 05:04:57 +08:00
83f0650ed4
* Migrate location.spec.ts from Cypress to Playwright Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Migrate location.spec.ts from Cypress to Playwright Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Add screenshot Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Deflake Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --------- Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> |
||
---|---|---|
.. | ||
e2e | ||
pages | ||
plugins | ||
snapshots | ||
.gitignore | ||
docker-entrypoint.sh | ||
Dockerfile | ||
element-web-test.ts | ||
global.d.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 build playwright -t matrix-react-sdk-playwright
docker run \
--rm \
--network host \
-v $(pwd)/../:/work/ \
-v /var/run/docker.sock:/var/run/docker.sock \
-v /tmp/:/tmp/ \
-it matrix-react-sdk-playwright