-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Setting up environment variables #39
Comments
@ArisuRen - Could you explain your I have code in my files that dynamically edits teh URL of pages depending on an ENV variable. I'd like to define this using the Extension |
Hello, unfortunatly this was 2 years ago, and I do not remember for 100% but I think at that time I did this workaround:
and in package.json when starting script I had this
Right now I do it a little bit differently since I have more then 2 env versions:
and package.json
I hope my answer will help you. |
Hello,
it might be will be beneficial to add possibility to setup environment variable before running testCafe runner extension?
If you have different production environments, Tester can test it in development, on staging or live.
Please let me know if it can be added there,
thank you a lot in advance.
PS. I have found workaround so if this is not needed, please delete/close this issue. thank you
The text was updated successfully, but these errors were encountered: