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

Display errors from Electron when we run cypress run #3986

Closed
dhoko opened this issue Apr 17, 2019 · 1 comment
Closed

Display errors from Electron when we run cypress run #3986

dhoko opened this issue Apr 17, 2019 · 1 comment

Comments

@dhoko
Copy link

dhoko commented Apr 17, 2019

I found this issue while updating my lib, if there is a JS error it fails but without any logs.
I was able to find it via the flag --headed + devtools.

Screenshot from 2019-04-17 18-19-07

It would be great to log this error inside the report we can see inside the output from $ cypress run. Maybe there is a flag, but I didn't find one :/

Current behavior:

≃ it doesn't work cf https://circleci.com/gh/ProtonMail/pt-formgenerator/47?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-build-link

Desired behavior:

It doesn't work, look we found a JS error inside your tests:
ex:

AbortController is undefined

Steps to reproduce: (app code and test code)

Add a test with ex Fetch + AbortController, it won't work because Electron 59 doesn't support it.

Versions

Cypress 3.2.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants