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]> 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].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit https://groups.google.com/d/ms
> gid/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/CA%2B52dQQmyFD8L2-qXKcpsUZ7CQifkKMys6Qc09sVeriND%2BdsTA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to