Skip to content

Commit fa48846

Browse files
authored
Merge branch 'develop' into devgurjar
2 parents 9280c90 + 954ff0a commit fa48846

File tree

5 files changed

+3
-9
lines changed

5 files changed

+3
-9
lines changed

playwright/e2e/pinned-messages/index.ts

+1-8
Original file line numberDiff line numberDiff line change
@@ -196,14 +196,7 @@ export class Helpers {
196196
*/
197197
async assertEmptyPinnedMessagesList() {
198198
const rightPanel = this.getRightPanel();
199-
await expect(rightPanel).toMatchScreenshot(`pinned-messages-list-empty.png`, {
200-
// hide the tooltip "Room information" to avoid flakiness
201-
css: `
202-
[data-floating-ui-portal] {
203-
display: none !important;
204-
}
205-
`,
206-
});
199+
await expect(rightPanel).toMatchScreenshot(`pinned-messages-list-empty.png`);
207200
}
208201

209202
/**

playwright/e2e/release-announcement/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export class Helpers {
4242
*/
4343
async assertReleaseAnnouncementIsVisible(name: string) {
4444
await expect(this.getReleaseAnnouncement(name)).toBeVisible();
45-
await expect(this.page).toMatchScreenshot(`release-announcement-${name}.png`);
45+
await expect(this.page).toMatchScreenshot(`release-announcement-${name}.png`, { showTooltips: true });
4646
}
4747

4848
/**

playwright/element-web-test.ts

+1
Original file line numberDiff line numberDiff line change
@@ -345,6 +345,7 @@ export const expect = baseExpect.extend({
345345

346346
if (!options?.showTooltips) {
347347
css += `
348+
[data-floating-ui-portal],
348349
[role="tooltip"] {
349350
visibility: hidden !important;
350351
}
Loading

0 commit comments

Comments
 (0)