element-web/playwright
Michael Telatynski b02ff16a21
Migrate room/* from Cypress to Playwright (#11985)
* Remove old percy media query CSS

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Stabilise soft_logout.spec.ts

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Update screenshots using `toMatchScreenshot` assertion with CSS overrides

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Fix accidentally commented test

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Migrate room/* from Cypress to Playwright

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* delint

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Add screenshots

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Update labs.ts

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2023-12-04 12:01:06 +00:00
..
e2e Migrate room/* from Cypress to Playwright (#11985) 2023-12-04 12:01:06 +00:00
pages Migrate room/* from Cypress to Playwright (#11985) 2023-12-04 12:01:06 +00:00
plugins Migrate room/* from Cypress to Playwright (#11985) 2023-12-04 12:01:06 +00:00
sample-files Migrate settings/* from Cypress to Playwright (#11949) 2023-11-29 13:50:13 +00:00
snapshots Migrate room/* from Cypress to Playwright (#11985) 2023-12-04 12:01:06 +00:00
.gitignore Migrate user-view.spec.ts from Cypress to Playwright (#11944) 2023-11-29 16:39:27 +00:00
docker-entrypoint.sh Migrate settings/* from Cypress to Playwright (#11949) 2023-11-29 13:50:13 +00:00
Dockerfile Consolidate snapshots between Legacy & Rust crypto in the happy case (#11950) 2023-11-28 10:22:25 +00:00
element-web-test.ts Migrate room/* from Cypress to Playwright (#11985) 2023-12-04 12:01:06 +00:00
global.d.ts Migrate remaining editing.spec.ts from Cypress to Playwright (#11976) 2023-11-30 10:18:18 +00:00
README.md Consolidate snapshots between Legacy & Rust crypto in the happy case (#11950) 2023-11-28 10:22:25 +00:00
tsconfig.json Migrate user-onboarding-*.spec.ts from Cypress to Playwright (#11927) 2023-11-27 12:11:00 +00:00

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