1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-07-28 15:22:05 +03:00

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
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 // Exclude timestamp and read marker from snapshot
const screenshotOptions = { const screenshotOptions = {
mask: [page.locator(".mx_MessageTimestamp")], mask: [page.locator(".mx_MessageTimestamp")],
hideTooltips: true,
css: ` css: `
.mx_TopUnreadMessagesBar, .mx_MessagePanel_myReadMarker { .mx_TopUnreadMessagesBar, .mx_MessagePanel_myReadMarker {
display: none !important; display: none !important;

Binary file not shown.

Before

Width:  |  Height:  |  Size: 96 KiB

After

Width:  |  Height:  |  Size: 94 KiB