cypress-grep icon indicating copy to clipboard operation
cypress-grep copied to clipboard

The env variables should not be case sensitive

Open kishaningithub opened this issue 2 years ago • 1 comments

As per the below documentation the env variables will be given in "upper snake case" while the same in the env field in config will be in camel case

https://docs.cypress.io/guides/guides/environment-variables#Option-3-CYPRESS_

This plugin works if the env is exported like following

export CYPRESS_grepTags="@smoke"

but does not work if it is in upper snake case

export CYPRESS_GREP_TAGS="@smoke"

kishaningithub avatar Jul 28 '22 07:07 kishaningithub

It should be fairly straightforward to add this enhancement. You'll need to add the option to src/plugin and src/support in the relevant places.

joshuajtward avatar Jul 29 '22 07:07 joshuajtward

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

jordanpowell88 avatar Oct 28 '22 19:10 jordanpowell88