Hide card tooltip in pinned message e2e test (#28257)
This commit is contained in:
parent
d8800ef987
commit
5e5949257c
1 changed files with 8 additions and 1 deletions
|
@ -196,7 +196,14 @@ export class Helpers {
|
||||||
*/
|
*/
|
||||||
async assertEmptyPinnedMessagesList() {
|
async assertEmptyPinnedMessagesList() {
|
||||||
const rightPanel = this.getRightPanel();
|
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;
|
||||||
|
}
|
||||||
|
`,
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue