Changeset 912 for branches/features
- Timestamp:
- Apr 28, 2011, 8:11:53 PM (14 years ago)
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
branches/features/purchaseOrders/test/functional/gnumims/functional/LoginSpec.groovy
r901 r912 10 10 11 11 @Stepwise 12 class Login Testsextends GebReportingSpec {12 class LoginSpec extends GebReportingSpec { 13 13 String getBaseUrl() { "http://localhost:8080/gnumims" } 14 14 File getReportDir() { new File("target/reports/geb") } … … 25 25 when: 26 26 to LoginPage 27 form.j_username = "admin" 28 form.j_password = "pass" 27 29 login.click(HomePage) 28 30 … … 43 45 when: 44 46 to LoginPage 47 form.j_username = "admin" 45 48 form.j_password = "bogus" 46 49 login.click(LoginPage) 47 50 48 51 then: 49 $("div.login_message").text() == "[ manager] wrong username/password."52 $("div.login_message").text() == "[admin] wrong username/password." 50 53 } 51 54
Note: See TracChangeset
for help on using the changeset viewer.