Skip to content
This repository was archived by the owner on Jul 14, 2025. It is now read-only.

Commit edaa4d4

Browse files
author
Marcin
committed
static expect
1 parent d6ed5cb commit edaa4d4

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

tests/example.spec.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,6 @@ test.describe("Map Test", () => {
6464
page.locator('#showDotDelayButton').click(),
6565
]);
6666

67-
await expect(async () => {
68-
await expect(await dotLocator.screnshoot({ expose: { backgroundColor: "blue" }, padding: 20 })).toMatchSnapshot("display-dot.png");
69-
}).toPass({ timeout: 4000 });
67+
await expect(await dotLocator.screnshoot({ expose: { backgroundColor: "blue" }, padding: 20 })).toMatchSnapshot("display-dot.png");
7068
});
7169
});

0 commit comments

Comments
 (0)