diff --git a/playwright/e2e/chat-export/html-export.spec.ts b/playwright/e2e/chat-export/html-export.spec.ts index 947aa2c1bc..5eec541f21 100644 --- a/playwright/e2e/chat-export/html-export.spec.ts +++ b/playwright/e2e/chat-export/html-export.spec.ts @@ -124,7 +124,8 @@ test.describe("HTML Export", () => { await expect(page).toMatchScreenshot("html-export.png", { mask: [ page.getByText("This is the start of export", { exact: false }), - page.locator(".mx_DateSeparator_dateHeading"), + // We need to mask the whole thing because the width of the time part changes + page.locator(".mx_TimelineSeparator"), page.locator(".mx_MessageTimestamp"), ], }); diff --git a/playwright/snapshots/chat-export/html-export.spec.ts/html-export-linux.png b/playwright/snapshots/chat-export/html-export.spec.ts/html-export-linux.png index 99af1a757b..ae11ec9eec 100644 Binary files a/playwright/snapshots/chat-export/html-export.spec.ts/html-export-linux.png and b/playwright/snapshots/chat-export/html-export.spec.ts/html-export-linux.png differ