Changeset 925
- Timestamp:
- May 17, 2011, 11:37:14 AM (14 years ago)
- Location:
- branches/features/purchaseOrders/test/functional/gnumims/functional
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/features/purchaseOrders/test/functional/gnumims/functional/LoginSpec.groovy
r912 r925 11 11 @Stepwise 12 12 class LoginSpec extends GebReportingSpec { 13 String getBaseUrl() { "http://localhost:8080/gnumims" } 13 def appName = grails.util.Metadata.current.'app.name' 14 String getBaseUrl() { "http://localhost:8080/$appName/" } 14 15 File getReportDir() { new File("target/reports/geb") } 15 16 -
branches/features/purchaseOrders/test/functional/gnumims/functional/pages/HomePage.groovy
r917 r925 3 3 import geb.Page 4 4 5 /** 6 * Created by IntelliJ IDEA. 7 * User: John 8 * Date: 26/04/2011 9 * Time: 7:17:32 PM 10 * To change this template use File | Settings | File Templates. 11 */ 12 class HomePage extends Page { 13 static url = "http://localhost:8080/gnumims/appCore/start" 5 class HomePage extends Page { 6 static url = "appCore/start" 14 7 15 8 static at = { $("div#menu li.navigation_active").text() == "Home" } -
branches/features/purchaseOrders/test/functional/gnumims/functional/pages/LoginPage.groovy
r917 r925 3 3 import geb.Page 4 4 5 /**6 * Created by IntelliJ IDEA.7 * User: John8 * Date: 26/04/20119 * Time: 2:03:04 PM10 * To change this template use File | Settings | File Templates.11 */12 5 class LoginPage extends Page { 13 static url = " http://localhost:8080/gnumims/login/auth"6 static url = "login/auth" 14 7 15 8 static at = {$("h1").text() == "Welcome to gnuMims please log in"}
Note: See TracChangeset
for help on using the changeset viewer.