Remove redundant mask

This commit is contained in:
Florian Duros
2024-10-21 18:06:40 +02:00
parent f88dc203f9
commit 4f1eb341a8
@@ -30,10 +30,7 @@ test.describe("Pinned messages", () => {
const tile = util.getEventTile("Msg1"); const tile = util.getEventTile("Msg1");
await expect(tile).toMatchScreenshot("pinned-message-Msg1.png", { await expect(tile).toMatchScreenshot("pinned-message-Msg1.png", {
mask: [ mask: [tile.locator(".mx_MessageTimestamp")],
tile.locator(".mx_MessageTimestamp"),
page.getByRole("button", { name: "Scroll to most recent messages" }),
],
css: ` css: `
// Hide the jump to bottom button in the timeline to avoid flackiness // Hide the jump to bottom button in the timeline to avoid flackiness
.mx_JumpToBottomButton { .mx_JumpToBottomButton {