You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-30 02:21:17 +03:00
Hide the archived section (#12286)
* Hide the archived section * Only add archived section if necessary * Update e2e tests
This commit is contained in:
@ -227,8 +227,8 @@ test.describe("Knock Into Room", () => {
|
||||
await expect(roomPreviewBar.getByRole("button", { name: "Request access" })).toBeVisible();
|
||||
|
||||
await expect(
|
||||
page.getByRole("group", { name: "Historical" }).getByRole("treeitem", { name: "Cybersecurity" }),
|
||||
).toBeVisible();
|
||||
page.getByRole("group", { name: "Rooms" }).getByRole("treeitem", { name: "Cybersecurity" }),
|
||||
).not.toBeVisible();
|
||||
});
|
||||
|
||||
test("should knock into the room then knock is cancelled by another user and room is forgotten", async ({
|
||||
|
@ -43,8 +43,8 @@ test.describe("1:1 chat room", () => {
|
||||
|
||||
// wait till the room was left
|
||||
await expect(
|
||||
page.getByRole("group", { name: "Historical" }).locator(".mx_RoomTile").getByText(user2.displayName),
|
||||
).toBeVisible();
|
||||
page.getByRole("group", { name: "Rooms" }).locator(".mx_RoomTile").getByText(user2.displayName),
|
||||
).not.toBeVisible();
|
||||
|
||||
// open new 1:1 chat room
|
||||
await page.goto(`/#/user/${user2.userId}?action=chat`);
|
||||
|
Reference in New Issue
Block a user