element-web/playwright
Michael Telatynski 446400b6b6
Migrate right-panel/* from Cypress to Playwright (#11954)
* 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>
2023-12-01 12:24:49 +00:00
..
e2e Migrate right-panel/* from Cypress to Playwright (#11954) 2023-12-01 12:24:49 +00:00
pages Migrate right-panel/* from Cypress to Playwright (#11954) 2023-12-01 12:24:49 +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 right-panel/* from Cypress to Playwright (#11954) 2023-12-01 12:24:49 +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 remaining editing.spec.ts from Cypress to Playwright (#11976) 2023-11-30 10:18:18 +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