Ok, I've got my minimum example: 
https://github.com/spartanhooah/geb-sauce-test

I did try the alternate method of creating the SauceLabsDriverFactory but 
that resulted in these messages:

sauce-connect: <timestamp> - Error in checkUpdate: couldn't connect to 
https://saucelabs.com/versions.json: Get 
https://saucelabs.com/versions.json: malformed HTTP response 
"\x15\x03\x03\x00\x02\x02"
sauce-connect: <timestamp> - started scproxy on port 37318.
sauce-connect: <timestamp> - Please wait for 'you may start your tests' to 
start your tests.
sauce-connect: <timestamp> - failed to check for existing tunnels
sauce-connect: <timestamp> - Sauce Connect could not establish a connection
sauce-connect: <timestamp> - Please check your firewall and proxy settings
The command-line arguments for sc were
--user <me> --api-key **** --se-port 4445 --proxy test.company.com:443



On Monday, October 28, 2019 at 9:45:34 PM UTC, Marcin Erdmann wrote:
>
> A tunnel (if you are talking about a Sauce Labs tunnel) will not be needed 
> because we won't be accessing anything specific to your company - 
> gebish.org is accessible on the public Internet. Unless you are talking 
> about some proxy that you are using which might potentially be stripping 
> out the credentials from the url... (which are added like this: 
> https://github.com/geb/geb/blob/master/module/geb-core/src/main/groovy/geb/driver/SauceLabsDriverFactory.groovy#L28).
>  
> If that's the case then it also seems possible to authenticate via browser 
> capabilities (
> https://wiki.saucelabs.com/display/DOCS/Best+Practice%3A+Use+Environment+Variables+for+Authentication+Credentials
>  and 
> expand the full example). Maybe that will work in your setup... To try it 
> out you'll need to change your config script from:
>
> new SauceLabsDriverFactory().create(sauceLabsBrowser, username, accessKey)
>
> to
>
> new SauceLabsDriverFactory().create(sauceLabsBrowser, "", "", [username: 
> username, accessKey: accessKey])
>
>
> On Mon, Oct 28, 2019 at 9:05 PM Ben Frey <[email protected] 
> <javascript:>> wrote:
>
>>  Oh, I see. I'll start working on that tomorrow, I hope. Although I'm 
>> still not sure about the SauceLabs portion since it involves a tunnel 
>> that's hosted by my company. Is that something I can mock out or otherwise 
>> deal with?
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Geb User Mailing List" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/geb-user/665e3665-1fcf-4f51-82f3-afbdf0f5b88e%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/geb-user/665e3665-1fcf-4f51-82f3-afbdf0f5b88e%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
You received this message because you are subscribed to the Google Groups "Geb 
User Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/geb-user/d8e0dc21-c067-45c1-8a11-a0986fdfe475%40googlegroups.com.

Reply via email to