IssueRaiser

Add support for testing Electron.js applications

Currently Cypress can open the browser and load websites for testing. Electron.js applications ARE in essence the browser, so it would be cool to let Cypress test them. Original issue: https://github.com/cypress-io/cypress/issues/2072 - [x] create basic Electron.js example to be used as a proof of concept * see https://github.com/cypress-io/cypress-example-electron - [x] figure out how to change the browser launch from Cypress in order to "attach" to an Electron application * external process, similar to Chrome, passing remote interface url to be able to control the browser process - [ ] see if we can implement testing an Electron.js application with minimal core changes, and most of the code as external plugin (faster iteration) - [ ] figure out the changes / API that a typical Electron.js application would need to be testable from Cypress

Posted by bahmutov on Aug 9, 2019, 7:00 PM

Tags

Related issues

Raise real-world problems, find people facing the same issue, and discuss solutions.3,500 issues0 comments

support (E-commerce)

Add support for testing Electron.js applications

bahmutovAug 9, 2019, 7:00 PM

Currently Cypress can open the browser and load websites for testing. Electron.js applications ARE in essence the browser, so it would be cool to let Cypress test them. Original issue: https://github.com/cypress-io/cypress/issues/2072 - [x] create basic Electron.js example to be used as a proof of concept * see https://github.com/cypress-io/cypress-example-electron - [x] figure out how to change the browser launch from Cypress in order to "attach" to an Electron application * external process, similar to Chrome, passing remote interface url to be able to control the browser process - [ ] see if we can implement testing an Electron.js application with minimal core changes, and most of the code as external plugin (faster iteration) - [ ] figure out the changes / API that a typical Electron.js application would need to be testable from Cypress

Comments (0)

No comments yet. Start the discussion.

Comment on this issue