-
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
Plugin @cypress/grep 3.1.5 throwing Cypress configuration error on cypress run #27216
Comments
Having the same problem.
|
Same problem:
|
Same problem :
|
My team has found a workaround by just commenting this line in cypress.config.js Hopefully that helps in the meantime but we need a long term solution. |
@zedconte Thanks for your suggestion, I was wondering if we comment this line can we still use cypress/grep to run tests based on some tags ? |
@neerajdembla-hero no, once you comment out the line, you can't use grep |
Thanks @Hayk-S I was trying to use grep only for tags, is there any alternate solution you can suggest for short term ? |
The issue might be in fast-glob. A temporary workaround is to add a resolution range of:
|
This issue is caused by the new version of the fast-glob package (3.3.0). |
Thank you for the workaround @ivan-verges & @samtsai , this will do while the newest fast-glob could be patched |
Note the comment in mrmlnc/fast-glob#404:
|
Current behavior
I am getting this next configuration error when running cypress tests using plugin @cypress/grep 3.1.5. The cypress tests used to work correctly but now when running I am unable to execute the browser.
TypeError
Your configFile threw an error from: /Users/raulortega/Documents/Current/code/STAGING/platform-shell/mfe-api-tests/cypress-local.config.js
The error was thrown while executing your e2e.setupNodeEvents() function:
cypress.config.js
Desired behavior
Cypress is able to start and run tests normally
Test code to reproduce
https://github.com/zedconte/cypress-test-tiny
Cypress Version
12.16.0
Node version
v16.20.1
Operating System
macOS 13.4
Debug Logs
Other
No changes in dependencies were done, so far just tried updating npm and node version from 16.20.0 to 16.20.1 but that didn't solve the issue.
Another clone repo is working fine and I haven't made any changes to the code.
The text was updated successfully, but these errors were encountered: