Skip to content

Commit

Permalink
Merge branch 'develop' into devgurjar
Browse files Browse the repository at this point in the history
  • Loading branch information
florianduros authored Oct 28, 2024
2 parents 9280c90 + 954ff0a commit fa48846
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 9 deletions.
9 changes: 1 addition & 8 deletions playwright/e2e/pinned-messages/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -196,14 +196,7 @@ 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: `
[data-floating-ui-portal] {
display: none !important;
}
`,
});
await expect(rightPanel).toMatchScreenshot(`pinned-messages-list-empty.png`);
}

/**
Expand Down
2 changes: 1 addition & 1 deletion playwright/e2e/release-announcement/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export class Helpers {
*/
async assertReleaseAnnouncementIsVisible(name: string) {
await expect(this.getReleaseAnnouncement(name)).toBeVisible();
await expect(this.page).toMatchScreenshot(`release-announcement-${name}.png`);
await expect(this.page).toMatchScreenshot(`release-announcement-${name}.png`, { showTooltips: true });
}

/**
Expand Down
1 change: 1 addition & 0 deletions playwright/element-web-test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -345,6 +345,7 @@ export const expect = baseExpect.extend({

if (!options?.showTooltips) {
css += `
[data-floating-ui-portal],
[role="tooltip"] {
visibility: hidden !important;
}
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit fa48846

Please sign in to comment.