matrix-react-sdk
c6d9228f - Fix flaky Cypress test cypress/e2e/widgets/stickers.spec.ts (#11440)

Commit
2 years ago
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
Author
Parents
Loading