riot-web/playwright
Michael Telatynski e897d7360d
Migrate user-view.spec.ts from Cypress to Playwright (#11944)
* 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>
2023-11-29 16:39:27 +00:00
..
e2e Migrate user-view.spec.ts from Cypress to Playwright (#11944) 2023-11-29 16:39:27 +00:00
pages Migrate user-view.spec.ts from Cypress to Playwright (#11944) 2023-11-29 16:39:27 +00:00
plugins Migrate settings/* from Cypress to Playwright (#11949) 2023-11-29 13:50:13 +00:00
sample-files Migrate settings/* from Cypress to Playwright (#11949) 2023-11-29 13:50:13 +00:00
snapshots Migrate user-view.spec.ts from Cypress to Playwright (#11944) 2023-11-29 16:39:27 +00:00
.gitignore Migrate user-view.spec.ts from Cypress to Playwright (#11944) 2023-11-29 16:39:27 +00:00
Dockerfile
README.md
docker-entrypoint.sh Migrate settings/* from Cypress to Playwright (#11949) 2023-11-29 13:50:13 +00:00
element-web-test.ts Migrate user-view.spec.ts from Cypress to Playwright (#11944) 2023-11-29 16:39:27 +00:00
global.d.ts Migrate user-view.spec.ts from Cypress to Playwright (#11944) 2023-11-29 16:39:27 +00:00
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