Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(plugin): add support for Electron #151

Merged
merged 1 commit into from
Jan 15, 2023

Conversation

derevnjuk
Copy link
Member

To make the plugin work with Electron, you just need to set the remote-debugging-port option when you launch Cypress as follows:

$ ELECTRON_EXTRA_LAUNCH_ARGS=--remote-debugging-port=9222 cypress run --browser electron

Please refer to the Electron documentation and the Cypress documentation for more information on how to properly configure this switch.

closes #46

@derevnjuk derevnjuk added the Type: enhancement New feature or request. label Jan 15, 2023
@derevnjuk derevnjuk self-assigned this Jan 15, 2023
@codeclimate
Copy link

codeclimate bot commented Jan 15, 2023

Code Climate has analyzed commit 4e2555c and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 100.0% (50% is the threshold).

This pull request will bring the total coverage in the repository to 90.8%.

View more on Code Climate.

@derevnjuk derevnjuk mentioned this pull request Jan 15, 2023
To make the plugin work with Electron, you just need to set the `remote-debugging-port` option when you launch Cypress as follows:

```bash
$ ELECTRON_EXTRA_LAUNCH_ARGS=--remote-debugging-port=9222 cypress run --browser electron
```

Please refer to the [Electron documentation](https://www.electronjs.org/docs/latest/api/command-line-switches#--remote-debugging-portport) and the [Cypress documentation](https://docs.cypress.io/api/plugins/browser-launch-api#Modify-Electron-app-switches) for more information on how to properly configure this switch.

closes #46
@derevnjuk derevnjuk force-pushed the feat_#46/support_for_electron branch from 7983043 to 4e2555c Compare January 15, 2023 15:19
@derevnjuk derevnjuk merged commit 6ebdfa8 into master Jan 15, 2023
@derevnjuk derevnjuk deleted the feat_#46/support_for_electron branch January 15, 2023 15:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: enhancement New feature or request.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support for Electron
1 participant