mirror of
https://github.com/element-hq/element-web
synced 2024-11-21 16:55:34 +03:00
Hide scroll to bottom button in pinned message e2e test (#28255)
* Hide scroll to bottom button in pinned message e2e test * Remove redundant mask * Update playwright/e2e/pinned-messages/pinned-messages.spec.ts Co-authored-by: Michael Telatynski <7t3chguy@gmail.com> --------- Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
1ec2f9261f
commit
539025cf8c
2 changed files with 6 additions and 0 deletions
|
@ -31,6 +31,12 @@ test.describe("Pinned messages", () => {
|
|||
const tile = util.getEventTile("Msg1");
|
||||
await expect(tile).toMatchScreenshot("pinned-message-Msg1.png", {
|
||||
mask: [tile.locator(".mx_MessageTimestamp")],
|
||||
css: `
|
||||
// Hide the jump to bottom button in the timeline to avoid flakiness
|
||||
.mx_JumpToBottomButton {
|
||||
display: none !important;
|
||||
}
|
||||
`,
|
||||
});
|
||||
});
|
||||
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 6.8 KiB After Width: | Height: | Size: 5.7 KiB |
Loading…
Reference in a new issue