Only render NotificationBadge when needed (#9493)

This commit is contained in:
Germain
2022-10-25 14:31:38 +01:00
committed by GitHub
parent 6e73a853a8
commit 249474b430
2 changed files with 7 additions and 2 deletions

View File

@@ -235,7 +235,7 @@ describe("Sliding Sync", () => {
"Test Room", "Dummy",
]);
cy.contains(".mx_RoomTile", "Test Room").get(".mx_NotificationBadge").should("not.be.visible");
cy.contains(".mx_RoomTile", "Test Room").get(".mx_NotificationBadge").should("not.exist");
});
it("should update user settings promptly", () => {