You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-21 07:42:09 +03:00
Stabilise screenshot tests (#12835)
* Hide tooltips in screenshot tests by default Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Blank out dialog backgrounds by default Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Crop image-upload-preview screenshot Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Update screenshots Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Stabilise width of masked user is in user profile Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Tidy Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Update screenshots Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --------- Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
committed by
GitHub
parent
077549e412
commit
a1897583b1
@ -40,6 +40,6 @@ test.describe("Image Upload", () => {
|
||||
|
||||
await expect(page.getByRole("button", { name: "Upload" })).toBeEnabled();
|
||||
await expect(page.getByRole("button", { name: "Close dialog" })).toBeEnabled();
|
||||
await expect(page).toMatchScreenshot("image-upload-preview.png");
|
||||
await expect(page.locator(".mx_Dialog")).toMatchScreenshot("image-upload-preview.png");
|
||||
});
|
||||
});
|
||||
|
Reference in New Issue
Block a user