How can I test my Electron app with cypress? #14329
Unanswered
zxytest
asked this question in
Questions and Help
Replies: 1 comment
-
I have the same issue, have you got the solution on how to use the cypress to automate the Electron desktop app? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
In the FAQ part, i saw someone asked this question, and the answer is :Testing your Electron app will not ‘just work’, as Cypress is designed to test anything that runs in a browser and Electron is a browser + Node.
That being said, we use Cypress to test our own Desktop app’s front end - by stubbing events from Electron. These tests are open source so you can check them out here(https://github.com/cypress-io/cypress/tree/develop/packages/desktop-gui/cypress/integration).
I checked out the code, but i still don't know how to run and test the electron client.Can give more details or some samples are better.
Beta Was this translation helpful? Give feedback.
All reactions