mirror of https://github.com/vector-im/riot-web
Fix pinned message e2e flakes (#28268)
parent
305d60f732
commit
83777a6c57
|
@ -197,8 +197,8 @@ export class Helpers {
|
|||
async assertEmptyPinnedMessagesList() {
|
||||
const rightPanel = this.getRightPanel();
|
||||
await expect(rightPanel).toMatchScreenshot(`pinned-messages-list-empty.png`, {
|
||||
// hide the tooltip "Room information" to avoid flakiness
|
||||
css: `
|
||||
// hide the tooltip "Room information" to avoid flakiness
|
||||
[data-floating-ui-portal] {
|
||||
display: none !important;
|
||||
}
|
||||
|
|
|
@ -31,8 +31,8 @@ test.describe("Pinned messages", () => {
|
|||
const tile = util.getEventTile("Msg1");
|
||||
await expect(tile).toMatchScreenshot("pinned-message-Msg1.png", {
|
||||
mask: [tile.locator(".mx_MessageTimestamp")],
|
||||
// Hide the jump to bottom button in the timeline to avoid flakiness
|
||||
css: `
|
||||
// Hide the jump to bottom button in the timeline to avoid flakiness
|
||||
.mx_JumpToBottomButton {
|
||||
display: none !important;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue