You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using package @cypress/grep and setting environment variable grepFilterSpecs: true in the cypress.config.js. configFile will throw an error while executing e2e.setupNodeEvents().
This issue is caused by the new version of the fast-glob package (3.3.0).
To get a workaround, add manually this dependency to your packages.json file:
"fast-glob": "3.2.12"
Current behavior
When using package
@cypress/grep
and setting environment variablegrepFilterSpecs: true
in thecypress.config.js
.configFile
will throw an error while executinge2e.setupNodeEvents()
.Setting
grepFilterSpecs: false
allows it to load.Registered @cypress/grep in the config file according to the guide:
https://github.com/cypress-io/cypress/tree/develop/npm/grep#config-file
Set environment variable
grepFilterSpecs
according to:https://github.com/cypress-io/cypress/tree/v12.11.0/npm/grep#pre-filter-specs-grepfilterspecs
Desired behavior
No response
Test code to reproduce
Created a bare minimum repo with auto generated files by Cypress.
https://github.com/davidhornmarkINGKA/cypress-grepFilterSpecs-issue
package.json
:Example config:
Cypress Version
12.16.0
Node version
v18.16.1
Operating System
Windows 10.0.19045
Debug Logs
No response
Other
No response
The text was updated successfully, but these errors were encountered: