You've already forked matrix-react-sdk
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:
@ -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 |
Reference in New Issue
Block a user