Whenever you run into a config issue with Sauce tests, the following error appears:
java.lang.RuntimeException: io.github.kgress.scaffold.exception.WebDriverContextException: Error initializing remote session against SAUCE. Check to ensure your Sauce TunnelIdentifier has been initialized prior to running your tests.
Expected
This error message appears when the username/access key is wrong, not just when the tunnel is down.
Repro
Add steps to reproduce the behavior. E.G:
Change your 'desired-capabilities.sauce.access-key' property to be something invalid
Run a test
You will see the error message about the SauceConnect tunnel
Bug
Whenever you run into a config issue with Sauce tests, the following error appears: java.lang.RuntimeException: io.github.kgress.scaffold.exception.WebDriverContextException: Error initializing remote session against SAUCE. Check to ensure your Sauce TunnelIdentifier has been initialized prior to running your tests.
Expected
This error message appears when the username/access key is wrong, not just when the tunnel is down.
Repro
Add steps to reproduce the behavior. E.G: