riot-web/cypress/e2e/widgets
Andy Balaam c6d9228f94
Fix flaky Cypress test cypress/e2e/widgets/stickers.spec.ts (#11440)
* Fix tests choosing the wrong room by matching on exact room name in viewRoomByName

* Allow either of the two different URLs for thumbnails in sticker test

* Find room by looking inside Rooms for something with the right text

* Check for the download URL of a thumbnail only, which will appear after the thumbnail 404s

* Click the title div instead of the contained span, to avoid clicking something potentially off-screen

* Find by label text because that works when room list is folded

* Find room by title because label text is different

* Attempt to allow opening room by name in all needed cases
2023-08-25 11:04:56 +00:00
..
events.spec.ts
layout.spec.ts
stickers.spec.ts Fix flaky Cypress test cypress/e2e/widgets/stickers.spec.ts (#11440) 2023-08-25 11:04:56 +00:00
widget-pip-close.spec.ts