Can you please expand on what you mean by "specific browser setups"? Which browsers (including which operating systems and versions) do you want to run your tests at BrowserStack?
The tasks added to the build by geb-browserstack plugin are regular org.gradle.api.tasks.testing.Test tasks which means that they support the --tests switch so you can run a single spec if you wish to. The project from browserstack org on github you linked to will probably work but is overcomplicated because it aims to to run tests on multiple browsers at BrowserStack concurrently. On Mon, Nov 6, 2017 at 10:05 AM, <[email protected]> wrote: > Hello Marcin, > > I would be very happy to see examples. My goal is to run one testspec a > time on specific browser setups for having bamboo build plans for each > browser setup. > > How should add browserstack that I can start gradle tasks like this: > "remoteChromeDockerTest --tests *.login.LoginTest" ( like in my current > approach https://gist.github.com/rnemeth1980/ab0f7079778627 > 18ebeaa855102fd369) ? > > Also I see there all browser together http://www.gebish. > org/manual/current/#geb-browserstack-plugin. > > This code here https://github.com/browserstack/geb-browserstack/ > blob/master/build.gradle seems to be different too. Is this approach > still working? > > Thank you very much for your help, > Roland > > On Sunday, November 5, 2017 at 5:44:04 PM UTC+1, Marcin Erdmann wrote: >> >> Roland, >> >> The plugin has been introduced so that you don't have to manage opening >> and closing of the BrowserStack tunnel, define envs and use capabilities. >> There are also ways to customise what the plugin does, by for example not >> using the BrowserStackDriverFactory in your GebConfig.groovy or passing >> additional capabilities to its create() method. >> >> You will need to be more specific about what you mean by fitting >> geb-browserstack plugin into what you have. If all you're after is setting >> some chrome options and capabilities when running in BrowserStack then it >> is of course possible and I can provide an example of how to do it. >> >> Marcin >> >> On Fri, Nov 3, 2017 at 12:36 PM, <[email protected]> wrote: >> >>> hi, >>> how could I use the browserstack integration in geb? >>> >>> my current implementation for remotedrivers looks like this >>> https://gist.github.com/rnemeth1980/ab0f707977862718ebeaa855102fd369. >>> >>> "remoteChromeDockerTest --tests *.login.LoginTest" is my sample gradle >>> task. >>> >>> Can I define environments like "remoteChromeDocker" and use capabilities? >>> >>> I do not see how I can fit the geb-browserstack plugin in there from >>> here http://www.gebish.org/manual/current/#geb-browserstack-plugin. >>> >>> 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/d0d6bad7-cb50-43b7-8191-7dd63cda43c9%40googlegroups.com >>> <https://groups.google.com/d/msgid/geb-user/d0d6bad7-cb50-43b7-8191-7dd63cda43c9%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/30beb7c6-837b-4ff9-b4e0-5d1b2578139e%40googlegroups.com > <https://groups.google.com/d/msgid/geb-user/30beb7c6-837b-4ff9-b4e0-5d1b2578139e%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%2B52dQQrzjPugrWuFJ%2B5ob1e%2BTq3wEayx2hx2g4KkxXHhsSd7A%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
