From db52cdd02dc7ccba6c3a70f6c964146e1e82797d Mon Sep 17 00:00:00 2001 From: Kerry Date: Thu, 13 Jul 2023 04:03:57 +1200 Subject: [PATCH] wait for audio tile to load more (#11242) --- cypress/e2e/audio-player/audio-player.spec.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cypress/e2e/audio-player/audio-player.spec.ts b/cypress/e2e/audio-player/audio-player.spec.ts index a59fb64ab4..8f1ef8054c 100644 --- a/cypress/e2e/audio-player/audio-player.spec.ts +++ b/cypress/e2e/audio-player/audio-player.spec.ts @@ -43,6 +43,8 @@ describe("Audio player", () => { // Wait until the file is sent cy.get(".mx_RoomView_statusArea_expanded").should("not.exist"); cy.get(".mx_EventTile.mx_EventTile_last .mx_EventTile_receiptSent").should("exist"); + // wait for the tile to finish loading + cy.get(".mx_AudioPlayer_mediaName").should("exist"); }; /**