Hide tooltip when taking screenshot (#12807)

This commit is contained in:
R Midhun Suresh 2024-07-24 15:16:43 +05:30 committed by GitHub
parent ae18bb9ba4
commit f17d14bdab
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 1 additions and 0 deletions

View file

@ -1108,6 +1108,7 @@ test.describe("Timeline", () => {
// Exclude timestamp and read marker from snapshot
const screenshotOptions = {
mask: [page.locator(".mx_MessageTimestamp")],
hideTooltips: true,
css: `
.mx_TopUnreadMessagesBar, .mx_MessagePanel_myReadMarker {
display: none !important;

Binary file not shown.

Before

Width:  |  Height:  |  Size: 96 KiB

After

Width:  |  Height:  |  Size: 94 KiB