Improve CI stability and tidy it up (#451)

This commit is contained in:
Michael Telatynski
2022-11-11 15:15:21 +00:00
committed by GitHub
parent 79b0b3077a
commit 1e6a3ceebd
6 changed files with 224 additions and 199 deletions

View File

@@ -48,12 +48,14 @@ describe("App launch", () => {
}
});
window = await app.firstWindow();
});
}, 30000);
afterAll(async () => {
await app?.close();
await app?.close().catch(e => {
console.error(e);
});
fs.rmSync(tmpDir, { recursive: true });
});
}, 30000);
it("should launch and render the welcome view successfully", async () => {
await window.locator("#matrixchat").waitFor();