Reduce screenshot scope (#33522)
This commit is contained in:
@@ -64,9 +64,12 @@ test.describe("History sharing", function () {
|
||||
// Exclude message timestamps and RR avatars from the screenshot. Bob sometimes sees Alice's RR on the
|
||||
// previous event, which is surprising but not what we're testing here.
|
||||
const mask = [bobPage.locator(".mx_MessageTimestamp"), bobPage.locator(".mx_ReadReceiptGroup_container")];
|
||||
await expect(bobPage.locator(".mx_RoomView_body")).toMatchScreenshot("shared-history-invite-accepted.png", {
|
||||
mask,
|
||||
});
|
||||
await expect(bobPage.locator(".mx_RoomView_timeline")).toMatchScreenshot(
|
||||
"shared-history-invite-accepted.png",
|
||||
{
|
||||
mask,
|
||||
},
|
||||
);
|
||||
},
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user