Created
October 29, 2021 14:25
-
-
Save el3um4s/615c5a669d50aa1572d9cb733e13db71 to your computer and use it in GitHub Desktop.
MEDIUM - Ho to Test Electron Apps - 08
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
test.describe("Check Man Page", async () => { | |
let electronApp: ElectronApplication; | |
let firstWindow: Page; | |
test.beforeAll(async () => { | |
electronApp = await electron.launch({ args: ["."] }); | |
firstWindow = await electronApp.firstWindow(); | |
}); | |
// ... | |
test.afterAll(async () => { | |
await electronApp.close(); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment