mirror of https://github.com/vector-im/riot-web
446400b6b6
* Migrate file-panel.spec.ts from Cypress to Playwright Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Migrate right-panel.spec.ts from Cypress to Playwright Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Migrate notification-panel.spec.ts from Cypress to Playwright Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Update screenshots Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Update screenshots Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Fix test flakes Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * delint Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Update screenshot Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Fix tests Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Update screenshots Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Try stabilise test Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * sleep Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Handle both cases Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Fix assertion Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Flip Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Test Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Iterate Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Test Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --------- 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