diff --git a/playwright/e2e/invite/decline-and-block-invite-dialog.spec.ts b/playwright/e2e/invite/decline-and-block-invite-dialog.spec.ts index 97238907de..f2153b5414 100644 --- a/playwright/e2e/invite/decline-and-block-invite-dialog.spec.ts +++ b/playwright/e2e/invite/decline-and-block-invite-dialog.spec.ts @@ -12,20 +12,12 @@ import { test, expect } from "../../element-web-test"; test.describe("Decline and block invite dialog", function () { test.use({ displayName: "Hanako", - botCreateOpts: { - displayName: "BotAlice", - }, }); - const botName = "BotAlice"; - - test("should support rejecting a user invite", { tag: "@screenshot" }, async ({ page, app, user, bot }) => { - // Create and view a room + test("should show decline and block dialog for a room", { tag: "@screenshot" }, async ({ page, app, user, bot }) => { await bot.createRoom({ name: "Test Room", invite: [user.userId] }); await app.viewRoomByName("Test Room"); await page.getByRole("button", { name: "Decline and block" }).click(); - - // Take a snapshot of the invite dialog with a user pill await expect(page.locator(".mx_Dialog")).toMatchScreenshot("decline-and-block-invite-empty.png"); }); }); diff --git a/playwright/snapshots/invite/decline-and-block-invite-dialog.spec.ts/decline-and-block-invite-empty-linux.png b/playwright/snapshots/invite/decline-and-block-invite-dialog.spec.ts/decline-and-block-invite-empty-linux.png new file mode 100644 index 0000000000..cb3f9f8618 Binary files /dev/null and b/playwright/snapshots/invite/decline-and-block-invite-dialog.spec.ts/decline-and-block-invite-empty-linux.png differ