Skip to content

Commit fcfcee0

Browse files
committed
Updated E2E test
1 parent 8066c95 commit fcfcee0

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

index.e2e.spec.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,13 @@ const close = async () => {
3333
await mouse.leftClick();
3434
};
3535

36+
describe("E2E screen test", () => {
37+
it("should throw on invalid images", async () => {
38+
jest.setTimeout(30000);
39+
await expect(screen.find("mouse.png")).rejects.toContain("Failed to load image");
40+
});
41+
});
42+
3643
describe("E2E demo", () => {
3744
it("should run without throwing", async () => {
3845
jest.setTimeout(30000);

0 commit comments

Comments
 (0)