diff --git a/apps/web/playwright/e2e/sliding-sync/sliding-sync.spec.ts b/apps/web/playwright/e2e/sliding-sync/sliding-sync.spec.ts index 1c44afbda6..92dc56b210 100644 --- a/apps/web/playwright/e2e/sliding-sync/sliding-sync.spec.ts +++ b/apps/web/playwright/e2e/sliding-sync/sliding-sync.spec.ts @@ -278,12 +278,13 @@ test.describe("Sliding Sync", () => { { roomRescind, clientUserId }, ); + // toggle the invites filter off again so we see all the rooms again + await primaryFilters.getByRole("option", { name: "Invites" }).click(); + await page.getByRole("option", { name: "Open room Room to Rescind" }).click(); await page.locator(".mx_RoomView").getByRole("button", { name: "Forget this room", exact: true }).click(); - await primaryFilters.getByRole("option", { name: "Invites" }).click(); - // Wait for the rescind to take effect and check the joined list once more await expect(page.getByTestId("room-list").getByRole("option")).toHaveCount(2);