Hi Marcin,

thank you very much for the clarification.

Now I am able to run tests on SauceLabs.

SauceLabs is way better than BrowserStack as there is a Mac/Safari bug 
(https://forums.developer.apple.com/thread/75417) and some screenshots are 
just white/blank on BrowserStack for some OS/Browser combinations.

Only tests on EDGE I cannot not run:

edge {
 capabilities platform: "Windows 10", version: "15.15063"
}

is giving me this error:

Caused by:
        java.lang.reflect.InvocationTargetException


            Caused by:
            org.openqa.selenium.WebDriverException: Unable to parse remote 
response: Unsupported OS/browser/version/device combo: OS: 'Windows 10', 
Browser: 'edge', Version: '15.15063.', Device: 'unspecified'

For "Version" there is always a dot at the end of the version number. 

How can this be fixed?

"Latest" is not accepted.

I am using: 
sauceConnect "com.saucelabs:ci-sauce:1.131"

Thank you very much!

Best regards,
Roland


On Thursday, December 14, 2017 at 10:08:18 AM UTC+1, Marcin Erdmann wrote:
>
> Roland,
>
> You seem to be mixing up concepts. Base url is a built in Geb concept and 
> has nothing to do with BrowserStack and SauceLabs Gradle plugins. As per 
> the manual in http://gebish.org/manual/current/#geb-browserstack-plugin 
> the application() method available inside of browserStack {} block allows 
> you to:
>
> > Specify which urls the BrowserStack Tunnel should be able to access. 
> Multiple applications can be specified. If no applications are specified, 
> the tunnel will not be restricted to particular URLs.
>
> Note that there is no such method in 
> http://gebish.org/manual/current/#geb-saucelabs-plugin for the `sauceLabs 
> {}` block.
>
> Secondly, please recall from the previous thread that I showed you how to 
> configure the base url for test tasks generated by the BrowserStack plugin:
>
> browserStack {
>     task {
>         systemProperty "geb.build.baseUrl", baseUrl
>     }
> }
>
> The same can be achieved in pretty much the same manner for the SauceLabs 
> plugin:
>
> sauceLabs {
>     task {
>         systemProperty "geb.build.baseUrl", baseUrl
>     }
> }
>
>
> On Wed, Dec 13, 2017 at 4:48 PM, <[email protected] <javascript:>> wrote:
>
>> Hi Marcin,
>>
>> as I understand the usage of the geb-saucelabs plugin should be similar 
>> to the geb-browserstack plugin.
>>
>> The baseUrl should be passed the same way?
>>
>> application baseUrl
>>
>>
>> I get an error for this:
>>
>> Could not find method application() for arguments [https://www.123.com/] 
>> on root project 'functional-tests-123'.
>>
>> Could you please help me?
>>
>> Thank you very much,
>> Roland
>>
>> -- 
>> 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 post to this group, send email to [email protected] 
>> <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/geb-user/a794e908-9226-4698-b668-27347504036b%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/geb-user/a794e908-9226-4698-b668-27347504036b%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
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 post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/geb-user/a48ed2b7-2622-4f60-9e2f-92ccce83ea63%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to