mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-06 14:38:21 +00:00
Hide scroll to bottom button in pinned message e2e test
This commit is contained in:
@@ -30,7 +30,16 @@ test.describe("Pinned messages", () => {
|
||||
|
||||
const tile = util.getEventTile("Msg1");
|
||||
await expect(tile).toMatchScreenshot("pinned-message-Msg1.png", {
|
||||
mask: [tile.locator(".mx_MessageTimestamp")],
|
||||
mask: [
|
||||
tile.locator(".mx_MessageTimestamp"),
|
||||
page.getByRole("button", { name: "Scroll to most recent messages" }),
|
||||
],
|
||||
css: `
|
||||
// Hide the jump to bottom button in the timeline to avoid flackiness
|
||||
.mx_JumpToBottomButton {
|
||||
display: none !important;
|
||||
}
|
||||
`,
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
BIN
Binary file not shown.
|
Before Width: | Height: | Size: 6.8 KiB After Width: | Height: | Size: 5.7 KiB |
Reference in New Issue
Block a user