/** * Created by whury on 05.09.14. * Copied by lukwas * * Reasonable defaults */ baseUrl = "https://yadda2-demo.vls.icm.edu.pl/trunk-portal/" reportsDir = "target/geb-reports" // default user without special permissions login = "testowanie1@mailinator.com" password = "123" name = "Tester1" surname = "Automatyczny1" // admin user // ta notacja jest równoważna notacji: // admin.login = // admin.password = secondUser { login = "testowanie2@mailinator.com" password = "123" name = "Tester2" surname = "Automatyczny2" } thirdUser { login = "testowanie3@mailinator.com" password = "123" name = "Tester3" surname = "Automatyczny3" } // Sometimes Firefox driver times out when trying to find // the root HTML element of the page. This manifests itself // in an error similar to: // org.openqa.selenium.NoSuchElementException: Unable to locate element: {"method":"tag name","selector":"html"} // You can prevent this error from happening by configuring // a wait timeout to use when the driver is locating // the root HTML element, using baseNavigatorWaiting baseNavigatorWaiting = true // default driver driver="firefox" environments { // when system property 'geb.env' (-Dgeb.env=ie command-line option) is set to 'ie' use IE driver 'ie' { driver = "ie"} 'firefox' {driver = "firefox" } 'chrome' { driver = "chrome" } 'htmlunit' { driver = "htmlunit" } 'local' { baseUrl = "https://localhost:8443/portal/" driver = "htmlunit" } }