parent
96656e4e17
commit
d87f4b0336
1 changed files with 0 additions and 14 deletions
|
@ -319,18 +319,4 @@ describe("Sliding Sync", () => {
|
|||
"Join", "Test Room",
|
||||
]);
|
||||
});
|
||||
|
||||
it("should show a favourite DM only in the favourite sublist", () => {
|
||||
cy.createRoom({
|
||||
name: "Favourite DM",
|
||||
is_direct: true,
|
||||
}).as("room").then(roomId => {
|
||||
cy.contains(".mx_RoomSublist", "Apple");
|
||||
|
||||
cy.getClient().then(cli => cli.setRoomTag(roomId, "m.favourite", { order: 0.5 }));
|
||||
});
|
||||
|
||||
cy.get('.mx_RoomSublist[aria-label="Favourites"]').contains(".mx_RoomTile", "Favourite DM").should("exist");
|
||||
cy.get('.mx_RoomSublist[aria-label="People"]').contains(".mx_RoomTile", "Favourite DM").should("not.exist");
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue