wait for audio tile to load more (#11242)

This commit is contained in:
Kerry 2023-07-13 04:03:57 +12:00 committed by GitHub
parent 2ff966e802
commit db52cdd02d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -43,6 +43,8 @@ describe("Audio player", () => {
// Wait until the file is sent // Wait until the file is sent
cy.get(".mx_RoomView_statusArea_expanded").should("not.exist"); cy.get(".mx_RoomView_statusArea_expanded").should("not.exist");
cy.get(".mx_EventTile.mx_EventTile_last .mx_EventTile_receiptSent").should("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");
}; };
/** /**