Improve CI stability and tidy it up (#451)
This commit is contained in:
committed by
GitHub
parent
79b0b3077a
commit
1e6a3ceebd
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user