Skip to content

Commit 981ddbb

Browse files
committed
(#5) Removed window E2E test
1 parent 3fb6794 commit 981ddbb

File tree

1 file changed

+1
-16
lines changed

1 file changed

+1
-16
lines changed

index.e2e.spec.ts

+1-16
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import {
2-
activeWindow,
32
assert,
43
Button,
54
centerOf,
@@ -88,7 +87,7 @@ describe("E2E drag & drop demo", () => {
8887
});
8988

9089
describe("E2E mouse button demo", () => {
91-
it("should run without throwing", async () => {
90+
it("should click all mouse buttons without throwing", async () => {
9291
jest.setTimeout(60000);
9392
screen.config.resourceDirectory = "./e2e/assets";
9493
for (const btn of [Button.RIGHT, Button.MIDDLE, Button.LEFT]) {
@@ -98,17 +97,3 @@ describe("E2E mouse button demo", () => {
9897
}
9998
});
10099
});
101-
102-
describe("E2E window demo", () => {
103-
it("should list gnome-calculator", async () => {
104-
jest.setTimeout(30000);
105-
screen.config.resourceDirectory = "./e2e/assets";
106-
await run("uxterm");
107-
await sleep(1500);
108-
const foregroundWindow = await activeWindow();
109-
const windowTitle = await foregroundWindow.title;
110-
await close();
111-
112-
expect(windowTitle).toBe("uxterm")
113-
});
114-
});

0 commit comments

Comments
 (0)