Closed antohayden closed 1 year ago
cypress-grep has debug
as a non-dev dependency, so maybe your node_modules got mixed up somehow.
We are in the process of deprecating this repo as this package has been republished under @cypress/grep
and has moved to https://github.com/cypress-io/cypress/tree/develop/npm/grep. I'm going to go ahead and close this issue as it appears stale. If this is still an issue, please open a new issue here
Hi,
I was struggling with an issue where my tagged tests weren't running as I expected. It would run the entire file the test was tagged in rather than the individual tests. The env variables in cypress.config.ts were correct and I'm using the latest versions of Cypress (10.6.0) and this plugin.
I eventually realised I had the below code in cypress/plugins/index.js instead of cypress/support/e2e.ts file incorrectly.
I configured e2e.ts as per the instructions but I ran into the below error..
I then installed debug into the project
npm i --save-dev debug
and tests tagged are now running as expected with the plugin.
Just wanted to note this in case anyone else comes across a similar issue. <3