Currently, I am working within a nrwl nx workspace where I have set up a cypress BDD cucumber project. My goal is to run cypress tests based on tags using nrwl.
In the past, I would typically use the "cypress-tags" command to achieve this. For example:
"cypress run --env TAGS='@smoke' --browser chrome
"
I attempted to apply the same concept with an nx command as follows: nx e2e myProject-e2e --tags=@reg
Unfortunately, the nx project seems to be recognizing all test cases in cypress without taking into account the ones tagged with "@reg". Is there anyone who can provide guidance on running cypress tests based on tags in nrwl?