mirror of https://github.com/vector-im/riot-web
e897d7360d
* Migrate user-view.spec.ts from Cypress to Playwright Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Add bot support & update screenshot Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Add screenshot Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Use JSHandle Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Remove stale snapshots Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Update element-web-test.ts --------- Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> |
||
---|---|---|
.. | ||
e2e | ||
pages | ||
plugins | ||
sample-files | ||
snapshots | ||
.gitignore | ||
Dockerfile | ||
README.md | ||
docker-entrypoint.sh | ||
element-web-test.ts | ||
global.d.ts | ||
tsconfig.json |
README.md
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