No idea where > path may not be null or empty string. path='null'
is coming from. You will have to provide more of the stacktrace (is the message even coming from a stacktrace?) you are getting with the error for me to be able to help you. On Thu, Jan 18, 2018 at 3:05 PM, Mateusz Pluta <[email protected]> wrote: > Hello, > > I am a little bit stuck here. I want to connect some of my tests > (preferebly base this on testng groups) to browsertack runner. This is what > I have currently: > > build.gradle: > > > buildscript { > repositories { > mavenCentral() > } > dependencies { > classpath 'org.gebish:geb-gradle:2.0' > } > } > allprojects { > apply plugin: "groovy" > } > > apply plugin: "geb-browserstack" > > > browserStack { > application "http://google.com" > task { > testClassesDir = rootProject.test.testClassesDir > classpath = rootProject.test.classpath > > > systemProperty "geb.build.reportsDir", > reporting.file("$project.buildDir/test-results/$name/geb") > } > > browsers { > firefox_windows > } > > browsers { > chrome_mac > } > > account { > username = "login"//System.getenv("GEB_BROWSERSTACK_USERNAME") > accessKey = "password"// System.getenv("GEB_BROWSERSTACK_AUTHKEY") > } > } > > > > GebConfig > > def browserStackBrowser = System.getProperty("geb.browserstack.browser") > if (browserStackBrowser) { > driver = { > def username = "login"//System.getenv("GEB_BROWSERSTACK_USERNAME") > assert username > def accessKey = "password"// System.getenv("GEB_BROWSERSTACK_AUTHKEY") > assert accessKey > new BrowserStackDriverFactory().create(browserStackBrowser, username, > accessKey) > } > } > > > > my source tree looks like this: > > project > |_ src > | |_test > | |_groovy > | | |_com.company > | | |_pages > | | |_tests > | | |_utils > | |_resources > | |_ GebConfig > |_build.gradle > > > So simple question: with current setup I get > path may not be null or empty string. path='null' > exception when running ./gradlew -i clean chromeMacTest > > I want to be able to run some groups of tests locted under tests directory > based testng groups preferably or just any other filter criteria. Am I > missing sth? > > Best Regards > MP > > -- > 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/9f988e45-57f6-402e-9781-2f2c81f76128%40googlegroups.com > <https://groups.google.com/d/msgid/geb-user/9f988e45-57f6-402e-9781-2f2c81f76128%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%2B52dQQf%3DpaRz0efJ-cJtT%2BGp3kyoYa75a5XWWgwm7Qx3LdM9g%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
