mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-04 19:10:51 +00:00
Improve stability of Playwright screenshot tests (#11983)
This commit is contained in:
committed by
GitHub
parent
74ea0d134e
commit
e180ca841b
@@ -67,9 +67,7 @@ test.describe("RightPanel", () => {
|
||||
await expect(page.locator(".mx_RightPanel")).not.toBeVisible();
|
||||
await page.getByRole("button", { name: "Room info" }).click();
|
||||
|
||||
await expect(page.locator(".mx_RightPanel")).toHaveScreenshot("with-name-and-address.png", {
|
||||
mask: [page.locator(".mx_BaseAvatar")],
|
||||
});
|
||||
await expect(page.locator(".mx_RightPanel")).toMatchScreenshot("with-name-and-address.png");
|
||||
});
|
||||
|
||||
test("should handle clicking add widgets", async ({ page, app }) => {
|
||||
|
||||
Reference in New Issue
Block a user