element-web-Github/playwright/e2e
Richard van der Hoff 771d4a8417
Fix flaky crypto playwright tests (#143)
* Playwright: wait for sync to arrive after joining rooms

Fix a couple of flaky tests which were not waiting for the /sync to complete
after joining a room.

* Playwright: add a comment about a broken helper

* playwright: fix more flakiness in the shields test

This bit can take a while as well.

* Update playwright/pages/client.ts

Co-authored-by: R Midhun Suresh <hi@midhun.dev>

* Add a timeout to `awaitRoomMembership`

---------

Co-authored-by: R Midhun Suresh <hi@midhun.dev>
2024-10-11 11:48:46 +00:00
..
accessibility Change license (#13) 2024-09-09 13:57:16 +00:00
app-loading Change license (#13) 2024-09-09 13:57:16 +00:00
audio-player Change license (#13) 2024-09-09 13:57:16 +00:00
chat-export Change license (#13) 2024-09-09 13:57:16 +00:00
composer Change license (#13) 2024-09-09 13:57:16 +00:00
create-room Change license (#13) 2024-09-09 13:57:16 +00:00
crypto Fix flaky crypto playwright tests (#143) 2024-10-11 11:48:46 +00:00
editing Change license (#13) 2024-09-09 13:57:16 +00:00
file-upload Change license (#13) 2024-09-09 13:57:16 +00:00
forgot-password Change license (#13) 2024-09-09 13:57:16 +00:00
integration-manager Ditch right panel tabs and re-add close button (#99) 2024-10-03 08:59:41 +00:00
invite Change license (#13) 2024-09-09 13:57:16 +00:00
knock Change license (#13) 2024-09-09 13:57:16 +00:00
lazy-loading Ditch right panel tabs and re-add close button (#99) 2024-10-03 08:59:41 +00:00
left-panel Change license (#13) 2024-09-09 13:57:16 +00:00
location Change license (#13) 2024-09-09 13:57:16 +00:00
login Force verification even for refreshed clients (#44) 2024-10-03 08:55:06 +00:00
messages Change license (#13) 2024-09-09 13:57:16 +00:00
oidc Ensure no race condition between page load and waitForRequest set up (#109) 2024-10-02 10:21:44 +00:00
one-to-one-chat Change license (#13) 2024-09-09 13:57:16 +00:00
permalinks Change license (#13) 2024-09-09 13:57:16 +00:00
pinned-messages Add a pinned message badge under a pinned message (#118) 2024-10-04 07:11:37 +00:00
polls Change license (#13) 2024-09-09 13:57:16 +00:00
presence Change license (#13) 2024-09-09 13:57:16 +00:00
read-receipts Ditch right panel tabs and re-add close button (#99) 2024-10-03 08:59:41 +00:00
register Change license (#13) 2024-09-09 13:57:16 +00:00
regression-tests Change license (#13) 2024-09-09 13:57:16 +00:00
release-announcement Change license (#13) 2024-09-09 13:57:16 +00:00
right-panel Ditch right panel tabs and re-add close button (#99) 2024-10-03 08:59:41 +00:00
room Open room settings on room header avatar click (#88) 2024-09-26 10:14:53 +00:00
room_options Change license (#13) 2024-09-09 13:57:16 +00:00
room-directory Change license (#13) 2024-09-09 13:57:16 +00:00
settings Change license (#13) 2024-09-09 13:57:16 +00:00
sliding-sync Change license (#13) 2024-09-09 13:57:16 +00:00
spaces Ditch right panel tabs and re-add close button (#99) 2024-10-03 08:59:41 +00:00
spotlight Change license (#13) 2024-09-09 13:57:16 +00:00
threads Change license (#13) 2024-09-09 13:57:16 +00:00
timeline Change license (#13) 2024-09-09 13:57:16 +00:00
toasts Change license (#13) 2024-09-09 13:57:16 +00:00
update Change license (#13) 2024-09-09 13:57:16 +00:00
user-menu Change license (#13) 2024-09-09 13:57:16 +00:00
user-onboarding Change license (#13) 2024-09-09 13:57:16 +00:00
user-view Change license (#13) 2024-09-09 13:57:16 +00:00
widgets Change license (#13) 2024-09-09 13:57:16 +00:00
utils.ts Fix flaky crypto playwright tests (#143) 2024-10-11 11:48:46 +00:00