- Timestamp:
- May 29, 2011, 12:58:10 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/features/purchaseOrders/test/functional/LoginSpec.groovy
r947 r948 15 15 } 16 16 17 def "When we click loginwe go to the home page"() {17 def "When we login, we go to the home page"() { 18 18 when: 19 to LoginPage 20 form.j_username = "admin" 21 form.j_password = "pass" 22 login.click() 19 login('admin', 'pass') 23 20 24 21 then: … … 26 23 } 27 24 28 def "When we clicklogout, we go to the logout page"() {25 def "When we logout, we go to the logout page"() { 29 26 when: 30 27 logout.click() … … 37 34 def "If we type in the wrong password"() { 38 35 when: 39 to LoginPage 40 form.j_username = "admin" 41 form.j_password = "bogus" 42 login.click() 36 login('admin', 'bogus') 43 37 44 38 then:
Note: See TracChangeset
for help on using the changeset viewer.