Hide card tooltip in pinned message e2e test (#28257)

pull/28263/head
Florian Duros 2024-10-21 18:07:03 +02:00 committed by GitHub
parent d8800ef987
commit 5e5949257c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 8 additions and 1 deletions

View File

@ -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;
}
`,
});
}
/**