diff --git a/apps/web/playwright/e2e/crypto/decryption-failure-messages.spec.ts b/apps/web/playwright/e2e/crypto/decryption-failure-messages.spec.ts index 1dc04ee905..8c14d59e88 100644 --- a/apps/web/playwright/e2e/crypto/decryption-failure-messages.spec.ts +++ b/apps/web/playwright/e2e/crypto/decryption-failure-messages.spec.ts @@ -118,6 +118,9 @@ test.describe("Cryptography", function () { user: alice, bot: bob, }) => { + await app.closeVerifyToast(true); + await app.closeNotificationToast(true); + // Bob creates an encrypted room and sends a message to it. He then invites Alice const roomId = await bob.evaluate( async (client, { alice }) => { @@ -224,6 +227,9 @@ test.describe("Cryptography", function () { user: alice, bot: bob, }) => { + await app.closeVerifyToast(true); + await app.closeNotificationToast(true); + // Bob: // - creates an encrypted room, // - invites Alice, diff --git a/apps/web/playwright/e2e/spaces/threads-activity-centre/threadsActivityCentre.spec.ts b/apps/web/playwright/e2e/spaces/threads-activity-centre/threadsActivityCentre.spec.ts index a22ce1ec2b..d889a25b4f 100644 --- a/apps/web/playwright/e2e/spaces/threads-activity-centre/threadsActivityCentre.spec.ts +++ b/apps/web/playwright/e2e/spaces/threads-activity-centre/threadsActivityCentre.spec.ts @@ -26,6 +26,7 @@ test.describe("Threads Activity Centre", { tag: "@no-firefox" }, () => { { tag: "@screenshot" }, async ({ util, app }) => { await app.closeVerifyToast(); + await app.closeNotificationToast(); // Open the space panel await util.expandSpacePanel(); @@ -36,6 +37,7 @@ test.describe("Threads Activity Centre", { tag: "@no-firefox" }, () => { test("should not show indicator when there is no thread", { tag: "@screenshot" }, async ({ room1, util, app }) => { await app.closeVerifyToast(); + await app.closeNotificationToast(); // No indicator should be shown await util.assertNoTacIndicator(); @@ -54,6 +56,7 @@ test.describe("Threads Activity Centre", { tag: "@no-firefox" }, () => { app, }) => { await app.closeVerifyToast(); + await app.closeNotificationToast(); await util.goTo(room1); await util.receiveMessages(room1, ["Msg1", msg.threadedOff("Msg1", "Resp1")]); @@ -70,6 +73,7 @@ test.describe("Threads Activity Centre", { tag: "@no-firefox" }, () => { app, }) => { await app.closeVerifyToast(); + await app.closeNotificationToast(); await util.goTo(room1); await util.receiveMessages(room1, [ @@ -93,6 +97,7 @@ test.describe("Threads Activity Centre", { tag: "@no-firefox" }, () => { { tag: "@screenshot" }, async ({ room1, room2, util, msg, user, app }) => { await app.closeVerifyToast(); + await app.closeNotificationToast(); await util.goTo(room2); await util.populateThreads(room1, room2, msg, user); @@ -116,6 +121,7 @@ test.describe("Threads Activity Centre", { tag: "@no-firefox" }, () => { { tag: "@screenshot" }, async ({ room1, room2, util, msg, user, app }) => { await app.closeVerifyToast(); + await app.closeNotificationToast(); await util.goTo(room2); await util.populateThreads(room1, room2, msg, user); @@ -142,6 +148,7 @@ test.describe("Threads Activity Centre", { tag: "@no-firefox" }, () => { test("should order by recency after notification level", async ({ room1, room2, util, msg, user, app }) => { await app.closeVerifyToast(); + await app.closeNotificationToast(); await util.goTo(room2); await util.populateThreads(room1, room2, msg, user, false); @@ -155,6 +162,7 @@ test.describe("Threads Activity Centre", { tag: "@no-firefox" }, () => { test("should block the Spotlight to open when the TAC is opened", async ({ util, page, app }) => { await app.closeVerifyToast(); + await app.closeNotificationToast(); const toggleSpotlight = () => page.keyboard.press(`${CommandOrControl}+k`); @@ -172,6 +180,7 @@ test.describe("Threads Activity Centre", { tag: "@no-firefox" }, () => { test("should have the correct hover state", { tag: "@screenshot" }, async ({ util, page, app }) => { await app.closeVerifyToast(); + await app.closeNotificationToast(); await util.hoverTacButton(); await expect(util.getSpacePanel()).toMatchScreenshot("tac-hovered.png"); @@ -184,6 +193,7 @@ test.describe("Threads Activity Centre", { tag: "@no-firefox" }, () => { test("should mark all threads as read", { tag: "@screenshot" }, async ({ room1, room2, util, msg, page, app }) => { await app.closeVerifyToast(); + await app.closeNotificationToast(); await util.receiveMessages(room1, ["Msg1", msg.threadedOff("Msg1", "Resp1")]); @@ -199,6 +209,7 @@ test.describe("Threads Activity Centre", { tag: "@no-firefox" }, () => { test("should focus the thread tab when clicking an item in the TAC", async ({ room1, room2, util, msg, app }) => { await app.closeVerifyToast(); + await app.closeNotificationToast(); await util.receiveMessages(room1, ["Msg1", msg.threadedOff("Msg1", "Resp1")]); diff --git a/apps/web/playwright/pages/ElementAppPage.ts b/apps/web/playwright/pages/ElementAppPage.ts index 40a1238242..3e7d9a3881 100644 --- a/apps/web/playwright/pages/ElementAppPage.ts +++ b/apps/web/playwright/pages/ElementAppPage.ts @@ -96,6 +96,8 @@ export class ElementAppPage { */ public async viewRoomByName(name: string): Promise { await this.closeVerifyToast(true); + await this.closeKeyStorageToast(true); + await this.closeNotificationToast(true); // We get the room list by test-id which is a listbox and matching title=name return this.page.getByTestId("room-list").locator(`[title="${name}"]`).first().click(); diff --git a/apps/web/playwright/snapshots/crypto/toasts.spec.ts/key-storage-out-of-sync-toast-linux.png b/apps/web/playwright/snapshots/crypto/toasts.spec.ts/key-storage-out-of-sync-toast-linux.png index 559de9ab32..f2b0d4c12f 100644 Binary files a/apps/web/playwright/snapshots/crypto/toasts.spec.ts/key-storage-out-of-sync-toast-linux.png and b/apps/web/playwright/snapshots/crypto/toasts.spec.ts/key-storage-out-of-sync-toast-linux.png differ diff --git a/apps/web/playwright/snapshots/crypto/toasts.spec.ts/verify-this-device-linux.png b/apps/web/playwright/snapshots/crypto/toasts.spec.ts/verify-this-device-linux.png index 8838386ac3..476df6add3 100644 Binary files a/apps/web/playwright/snapshots/crypto/toasts.spec.ts/verify-this-device-linux.png and b/apps/web/playwright/snapshots/crypto/toasts.spec.ts/verify-this-device-linux.png differ diff --git a/apps/web/playwright/snapshots/spaces/threads-activity-centre/threadsActivityCentre.spec.ts/tac-button-expanded-linux.png b/apps/web/playwright/snapshots/spaces/threads-activity-centre/threadsActivityCentre.spec.ts/tac-button-expanded-linux.png index 9c9c66c156..fc087b9482 100644 Binary files a/apps/web/playwright/snapshots/spaces/threads-activity-centre/threadsActivityCentre.spec.ts/tac-button-expanded-linux.png and b/apps/web/playwright/snapshots/spaces/threads-activity-centre/threadsActivityCentre.spec.ts/tac-button-expanded-linux.png differ diff --git a/apps/web/playwright/snapshots/spaces/threads-activity-centre/threadsActivityCentre.spec.ts/tac-hovered-expanded-linux.png b/apps/web/playwright/snapshots/spaces/threads-activity-centre/threadsActivityCentre.spec.ts/tac-hovered-expanded-linux.png index e0bfedd7d5..f97de99cd9 100644 Binary files a/apps/web/playwright/snapshots/spaces/threads-activity-centre/threadsActivityCentre.spec.ts/tac-hovered-expanded-linux.png and b/apps/web/playwright/snapshots/spaces/threads-activity-centre/threadsActivityCentre.spec.ts/tac-hovered-expanded-linux.png differ diff --git a/apps/web/playwright/snapshots/voip/element-call.spec.ts/incoming-call-dm-video-toast-checked-linux.png b/apps/web/playwright/snapshots/voip/element-call.spec.ts/incoming-call-dm-video-toast-checked-linux.png index 1faf65f023..d533dceeac 100644 Binary files a/apps/web/playwright/snapshots/voip/element-call.spec.ts/incoming-call-dm-video-toast-checked-linux.png and b/apps/web/playwright/snapshots/voip/element-call.spec.ts/incoming-call-dm-video-toast-checked-linux.png differ diff --git a/apps/web/playwright/snapshots/voip/element-call.spec.ts/incoming-call-dm-video-toast-unchecked-linux.png b/apps/web/playwright/snapshots/voip/element-call.spec.ts/incoming-call-dm-video-toast-unchecked-linux.png index fda6c35a6a..5995b7a928 100644 Binary files a/apps/web/playwright/snapshots/voip/element-call.spec.ts/incoming-call-dm-video-toast-unchecked-linux.png and b/apps/web/playwright/snapshots/voip/element-call.spec.ts/incoming-call-dm-video-toast-unchecked-linux.png differ diff --git a/apps/web/playwright/snapshots/voip/element-call.spec.ts/incoming-call-dm-voice-toast-linux.png b/apps/web/playwright/snapshots/voip/element-call.spec.ts/incoming-call-dm-voice-toast-linux.png index 96b096905d..afc58fd22e 100644 Binary files a/apps/web/playwright/snapshots/voip/element-call.spec.ts/incoming-call-dm-voice-toast-linux.png and b/apps/web/playwright/snapshots/voip/element-call.spec.ts/incoming-call-dm-voice-toast-linux.png differ diff --git a/apps/web/playwright/snapshots/voip/element-call.spec.ts/incoming-call-group-video-toast-checked-linux.png b/apps/web/playwright/snapshots/voip/element-call.spec.ts/incoming-call-group-video-toast-checked-linux.png index 711d748767..a7fced9c8b 100644 Binary files a/apps/web/playwright/snapshots/voip/element-call.spec.ts/incoming-call-group-video-toast-checked-linux.png and b/apps/web/playwright/snapshots/voip/element-call.spec.ts/incoming-call-group-video-toast-checked-linux.png differ diff --git a/apps/web/playwright/snapshots/voip/element-call.spec.ts/incoming-call-group-video-toast-unchecked-linux.png b/apps/web/playwright/snapshots/voip/element-call.spec.ts/incoming-call-group-video-toast-unchecked-linux.png index 431b137108..c2f39b5855 100644 Binary files a/apps/web/playwright/snapshots/voip/element-call.spec.ts/incoming-call-group-video-toast-unchecked-linux.png and b/apps/web/playwright/snapshots/voip/element-call.spec.ts/incoming-call-group-video-toast-unchecked-linux.png differ diff --git a/apps/web/playwright/snapshots/voip/element-call.spec.ts/incoming-call-group-voice-toast-linux.png b/apps/web/playwright/snapshots/voip/element-call.spec.ts/incoming-call-group-voice-toast-linux.png index 974b14344a..ab5bbed950 100644 Binary files a/apps/web/playwright/snapshots/voip/element-call.spec.ts/incoming-call-group-voice-toast-linux.png and b/apps/web/playwright/snapshots/voip/element-call.spec.ts/incoming-call-group-voice-toast-linux.png differ