You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
wait-on https-get://$DEMO_URL && npm run cypress run
Is there any way I can pass/substitute environment variable in the url
I want to run this in different environment
it si stuck forever > wait-on https-get://$DEMO_URL && npm run cypress run
The text was updated successfully, but these errors were encountered:
This is not an issue with this library.
While it isn't impossible to somehow make it work as you want, I would suggest the following:
Create a JS script that is invoking wait-on programmatically and then you can simply access your demo URL with proess.env.DEMO_URL
Edit: If you are just running it in a shell script, it should substitute it by default if DEMO_URL has a value. It does get trickier if you want to define that inside an NPM script.
wait-on https-get://$DEMO_URL && npm run cypress run
Is there any way I can pass/substitute environment variable in the url
I want to run this in different environment
it si stuck forever
> wait-on https-get://$DEMO_URL && npm run cypress run
The text was updated successfully, but these errors were encountered: