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 Consume more imports from matrix-js-sdk/src/matrix (#11449) 2023-08-23 09:04:25 +00:00
clipboard.ts
composer.ts
config.json.ts
e2e.ts Simplify registration with email validation (#11398) 2023-08-15 16:14:53 +01:00
homeserver.ts Support Podman style of accessing the host network in Cypress tests (#11421) 2023-08-18 14:40:17 +00:00
iframes.ts
labs.ts
log.ts
login.ts
mailhog.ts Simplify registration with email validation (#11398) 2023-08-15 16:14:53 +01:00
network.ts
percy.ts
promise.ts Simplify registration with email validation (#11398) 2023-08-15 16:14:53 +01:00
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