-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Error when running test suite with empty spec files #15512
Error when running test suite with empty spec files #15512
Comments
Temporary fix for cypress-io/cypress#15512
This is a bug introduced in 6.7.0. When running Cypress tests while recording to the Dashboard with an empty specfile, the run will exit with SIGSEGV. This was introduced in #14925 WorkaroundDowngrade to 6.6.0 to record tests with empty spec files. |
Internal Jira issue: TR-713 |
We are seeing this issue, I think because we use the popular Cypress tags plugin to run different subsets of tests. |
@clarkd Could you provide an example of your setup? |
Hi @jennifer-shehane - it's a pretty complex so I can't provide a repo but the basic pieces are:
Is there any other info I can provide? |
The code for this is done in cypress-io/cypress#15517, but has yet to be released. |
We are running into this issue as well. We have commented out tests and this will result in SIGSEGV with 6.7.1 in headless mode. Runs fine tho if you don't do headless |
Released in This comment thread has been locked. If you are still experiencing this issue after upgrading to |
Current behavior
I upgraded to Cypress 6.7.1 and now there's an error when using
cypress run
with empty spec files:Desired behavior
There should be no error when running empty spec files. Instead, Cypress should just log a warning that they're empty and move on.
Test code to reproduce
This should be relatively simple to reproduce.:
Here's the link to the original repository where I'm seeing the error.
Versions
Cypress: 6.7.1
Browser: N/A
The text was updated successfully, but these errors were encountered: