-
Notifications
You must be signed in to change notification settings - Fork 214
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
How to Start a Sauce Connect tunnel using Nightwatch? #92
Comments
@pnulu002 this sounds like a question for Saucelabs; the creators of Sauce Connect. |
@nelsonic :Seems like Sauce labs does not have any such option.They asked us to reach out to Nightwatch . |
@pnulu002 that's Odd ... |
I was able to start the Tunnel with in Sauce using this piece of code under nightwatch.conf.js , before function. But some how the tests are starting even before the tunnel gets connected(normally it takes around 20 secs for the tunnel to get connected after it actually starts) and hence the tests are not using the tunnel. Is there any way to hold the tests untill the Tunnel is actually connected and ready for Test ? const before = () => { |
We need to run some automated tests on sites that are internal . We were able to run the tests manually using command line. "bin/sc -u -k -B all"
But how do we automate the starting and Stopping the tunnel ?
The text was updated successfully, but these errors were encountered: