Skip to content

Commit

Permalink
Raise timeout limit for the tests
Browse files Browse the repository at this point in the history
  • Loading branch information
aneuwald-ctw committed Apr 22, 2024
1 parent bf3f514 commit 1c94ca1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions desktop/integration-test/menus.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ describe("menus", () => {
await app.renderer.getByTestId("menu-item-open").click();

await expect(app.renderer.getByTestId("DataSourceDialog").isVisible()).resolves.toBe(true);
});
}, 15_000);

it("should display the Open Connection screen when clicking File > Open Connection", async () => {
await using app = await launchApp();
Expand All @@ -35,7 +35,7 @@ describe("menus", () => {
await app.renderer.getByTestId("menu-item-open-connection").click();

await expect(app.renderer.getByTestId("OpenConnection").count()).resolves.toBe(1);
});
}, 15_000);

it("should open the file chooser when clicking File > Open Local File", async () => {
await using app = await launchApp();
Expand All @@ -55,5 +55,5 @@ describe("menus", () => {
await app.renderer.getByTestId("menu-item-open-local-file").click();

await expect(openFilePickerCalled).resolves.toBe(true);
});
}, 15_000);
});

0 comments on commit 1c94ca1

Please sign in to comment.