mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-05 12:54:39 +00:00
Improve stability of Playwright screenshot tests (#11983)
This commit is contained in:
committed by
GitHub
parent
74ea0d134e
commit
e180ca841b
@@ -34,7 +34,7 @@ test.describe("General room settings tab", () => {
|
||||
// Assert that "Show less" details element is rendered
|
||||
await expect(settings.getByText("Show less")).toBeVisible();
|
||||
|
||||
await expect(settings).toHaveScreenshot();
|
||||
await expect(settings).toMatchScreenshot();
|
||||
|
||||
// Click the "Show less" details element
|
||||
await settings.getByText("Show less").click();
|
||||
|
||||
Reference in New Issue
Block a user