alexej-strelzow / testcafe-cucumber-typescript

A complete Framework for End-to-End Testing
MIT License
23 stars 11 forks source link

'LIVE_MODE' is not recognized as an internal or external command and 'TAGS' is not recognized as an internal or external command #4

Closed iam-amanxz closed 3 years ago

iam-amanxz commented 3 years ago

I am trying to run the tests with tests:live:win and tests:live:wip:win and getting following error on console

image

alexej-strelzow commented 3 years ago

Hi, env vars cannot be like that on windows. For this to work you'd have to install e.g. "cross-env" and set the env var with it.

E.g. "cross-env TAGS=@wip npm run tests:live:win"

I will put it in in near future. But that would fix your issue.

iam-amanxz commented 3 years ago

Hi,

Thanks for the help. That worked fine. 🙂