element-web/cypress/e2e
Michael Telatynski fbf72f6a3a
Migrate register.spec.ts from Cypress to Playwright (#11942)
* Install playwright

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

* Add foundations for writing tests under Playwright

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

* .gitignore juggling

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

* Add tsconfig and fix eslint rules

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

* Add docker & synapse plugins

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

* Add login.spec.ts

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

* Wire up fixture which sets up ElementAppPage & bakes config.json

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

* Remove launch test, it has served its purpose

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

* Remove test which has been ported to Playwright

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

* Fix test not cleaning up after itself

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

* Move registerUser to the Homeserver interface

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

* Remove unused fixture param

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

* Remove redundant launch test

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

* Add newline

* Run both legacy & rust crypto tests in Playwright

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

* Remove redundant comment

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

* Create plugin for mail-hog

* Move injectAxe into element-web-test.ts

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

* Switch out axe-playwright for @axe-core/playwright

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

* Migrate email.spec.ts from Cypress to Playwright

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

* prettier

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

* Use Playwright snapshot utility over Percy

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

* Remove commented our Percy badge as we're unlikely to want to go back

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

* Migrate user-onboarding-old.spec.ts

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

* Migrate user-onboarding-new.spec.ts

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

* Add screenshots

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

* Fix bad merge

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

* Fix test and re-enable

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

* Run linters on playwright

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

* Make typescript happier

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

* Fix types

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

* Update typescript

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

* Migrate register.spec.ts from Cypress to Playwright

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

* Add screenshots

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

* Update screenshots

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

* Update import

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

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
Co-authored-by: R Midhun Suresh <hi@midhun.dev>
2023-11-28 12:08:05 +00:00
..
audio-player Disable some IRC audio player tests because they are flaky (#11456) 2023-08-23 10:00:50 +00:00
composer Disable a bunch of flaky cypress tests (#11719) 2023-10-05 15:30:49 +01:00
crypto Re-enable Cypress test creating a DM on Rust (#11946) 2023-11-28 11:37:32 +00:00
editing Render timeline separator for late event groups (#11739) 2023-10-16 14:14:04 +00:00
integration-manager Update read_events.spec.ts - use Cypress Testing Library (#10719) 2023-04-27 10:37:58 +00:00
invite Update RoomSummaryCard navigation links (#11812) 2023-11-16 03:25:34 +00:00
knock Add e2e tests for the knocking feature (#11803) 2023-11-07 14:00:24 +00:00
lazy-loading Update RoomSummaryCard navigation links (#11812) 2023-11-16 03:25:34 +00:00
permalinks Fix: flaky percy test "Rendering permalinks" (#10874) 2023-05-19 02:53:44 +00:00
polls Update RoomSummaryCard navigation links (#11812) 2023-11-16 03:25:34 +00:00
presence Implement new unreachable state and fix broken string ref (#11748) 2023-11-07 10:14:30 +00:00
read-receipts Disable flaky test 'Reading a thread after a reaction to a redacted message marks the thread as read' (#11890) 2023-11-16 10:21:13 +00:00
regression-tests Update pills-click-in-app.spec.ts - use Cypress Testing Library (#10582) 2023-04-16 22:50:57 +00:00
right-panel Update RoomSummaryCard navigation links (#11812) 2023-11-16 03:25:34 +00:00
room Fix broken tests 2023-09-14 16:55:14 +05:30
room-directory Update room-directory.spec.ts - use Cypress Testing Library (#10596) 2023-04-17 09:54:35 +00:00
settings Default bundled emoji font to on (#11935) 2023-11-27 09:59:09 +00:00
sliding-sync Disabled sliding sync tests in failure (#11043) 2023-06-05 13:32:11 +00:00
spaces Disable axe check which only fails in Chrome (#11909) 2023-11-20 09:58:09 +00:00
spotlight Add e2e tests for the knocking feature (#11803) 2023-11-07 14:00:24 +00:00
threads Disable a flaky threads test (#11810) 2023-10-31 14:24:41 +00:00
timeline add emoji messages to percy screenshot (#11775) 2023-10-23 20:17:42 +00:00
user-view Stabilise Percy snapshot of the user view (#11399) 2023-08-14 07:40:02 +00:00
widgets Add e2e tests for the knocking feature (#11803) 2023-11-07 14:00:24 +00:00
utils.ts Add e2e tests for the knocking feature (#11803) 2023-11-07 14:00:24 +00:00