riot-web/cypress/support
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
..
app.ts
axe.ts
bot.ts
client.ts
clipboard.ts
composer.ts
config.json.ts
e2e.ts
homeserver.ts
iframes.ts
labs.ts
log.ts
login.ts
mailhog.ts
network.ts
percy.ts
promise.ts
proxy.ts
settings.ts
timeline.ts
toasts.ts
util.ts
views.ts Fix flaky Cypress test cypress/e2e/widgets/stickers.spec.ts (#11440) 2023-08-25 11:04:56 +00:00
webserver.ts