Skip to content

Commit

Permalink
Hide card tooltip in pinned message e2e test
Browse files Browse the repository at this point in the history
  • Loading branch information
florianduros committed Oct 21, 2024
1 parent bdaad67 commit b7faecb
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion playwright/e2e/pinned-messages/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,14 @@ export class Helpers {
*/
async assertEmptyPinnedMessagesList() {
const rightPanel = this.getRightPanel();
await expect(rightPanel).toMatchScreenshot(`pinned-messages-list-empty.png`);
await expect(rightPanel).toMatchScreenshot(`pinned-messages-list-empty.png`, {
css: `
// hide the tooltip "Room information" to avoid flakiness
[data-floating-ui-portal] {
display: none !important;
}
`,
});
}

/**
Expand Down

0 comments on commit b7faecb

Please sign in to comment.