I have dotenv installed in my cypress project and variables in .env file, which looks like this:
USER=Admin
Is there a way for me to use my env variable USER
inside of the npm scripts?
"scripts": {
"cypress:open": "npx cypress open --env grepTags=USER"
},
Via Active questions tagged javascript - Stack Overflow https://ift.tt/YJ4cKdB
Comments
Post a Comment