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

Files with syntax errors are ignored #293

Closed
misogl opened this issue Nov 15, 2016 · 2 comments
Closed

Files with syntax errors are ignored #293

misogl opened this issue Nov 15, 2016 · 2 comments
Assignees
Labels
type: enhancement Requested enhancement of existing feature
Milestone

Comments

@misogl
Copy link

misogl commented Nov 15, 2016

cypress run ignores files with syntax errors and the tests pass without any indication of a problem. The tests should fail instead.

Also when you run tests on a single file with syntax errors cypress run --spec file.js, cypress just displays the message "Tests should begin momentarily..." and hangs.

$ cypress version
Cypress CLI: 0.12.0
Cypress App: 0.17.10
@brian-mann brian-mann added the type: enhancement Requested enhancement of existing feature label Nov 15, 2016
@brian-mann
Copy link
Member

Right, this happens because we ignore anything that is logged to the console in headless mode.

This is something we've been aware of for awhile and is actually getting fixed in 0.18.0 which is likely releasing this week.

@brian-mann
Copy link
Member

Fixed in 0.18.0.

@brian-mann brian-mann added this to the 0.18.0 milestone Nov 28, 2016
@cypress-io cypress-io locked as resolved and limited conversation to collaborators Dec 7, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: enhancement Requested enhancement of existing feature
Projects
None yet
Development

No branches or pull requests

3 participants