Created
October 29, 2021 14:28
-
-
Save el3um4s/ae44bf6004c2673e770d3a96c5594ab0 to your computer and use it in GitHub Desktop.
MEDIUM - Ho to Test Electron Apps - 11
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("Check Screenshot", async () => { | |
await firstWindow.screenshot({ path: "tests/screenshot/firstWindow.png" }); | |
expect(await firstWindow.screenshot()).toMatchSnapshot("firstWindow.png"); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment