From 6d918bfe6539f0928f04b664f206cd6bc2fa8690 Mon Sep 17 00:00:00 2001 From: Suguru Hirahara Date: Thu, 13 Apr 2023 23:01:33 +0900 Subject: [PATCH 1/2] Update room.spec.ts - use Cypress Testing Library Signed-off-by: Suguru Hirahara --- cypress/e2e/room/room.spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cypress/e2e/room/room.spec.ts b/cypress/e2e/room/room.spec.ts index a8a3a9a7e65..843258a7780 100644 --- a/cypress/e2e/room/room.spec.ts +++ b/cypress/e2e/room/room.spec.ts @@ -71,11 +71,11 @@ describe("Room Directory", () => { // we want to make sure it is never displayed when switching these rooms cy.get(".mx_RoomPreviewBar_spinnerTitle", { timeout: 1 }).should("not.exist"); // confirm the room was loaded - cy.contains("Bob joined the room").should("exist"); + cy.findByText("Bob joined the room").should("exist"); cy.viewRoomByName("Charlie"); cy.get(".mx_RoomPreviewBar_spinnerTitle", { timeout: 1 }).should("not.exist"); // confirm the room was loaded - cy.contains("Charlie joined the room").should("exist"); + cy.findByText("Charlie joined the room").should("exist"); }); }); From 91b213a4d413dc5e78f0239e0b4db29af93c0b36 Mon Sep 17 00:00:00 2001 From: Suguru Hirahara Date: Fri, 14 Apr 2023 16:09:12 +0000 Subject: [PATCH 2/2] Empty commit Signed-off-by: Suguru Hirahara