mirror of
https://github.com/element-hq/element-web
synced 2024-11-26 03:05:51 +03:00
Update room.spec.ts
- use Cypress Testing Library (#10608)
* Update room.spec.ts - use Cypress Testing Library Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com> * Empty commit Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com> --------- Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
This commit is contained in:
parent
8a4a584ba0
commit
9d8d610f31
1 changed files with 2 additions and 2 deletions
|
@ -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");
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue