cypress-io / cypress-grep

Filter tests using substring
137 stars 19 forks source link

cypress-grep does not filter by mocha hooks on cypress. #148

Closed raialmeida closed 1 year ago

raialmeida commented 2 years ago

Hello,

cypress-grep does not execute by tags in beforeEach, afterEach, before, after, that is, when I pass the tag in hooks, it does not execute according to the tags.

Currently, regardless of the tag that will be passed, all hooks are executed.

Can you solve? or how can i solve this?

image
Narretz commented 2 years ago

I would argue that this is out of scope of this plugin. hooks are notoriously fickle anyway.

jordanpowell88 commented 1 year ago

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