- Timestamp:
- May 30, 2011, 12:55:02 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/features/purchaseOrders/test/functional/LoginSpec.groovy
r951 r952 14 14 then: 15 15 at LoginPage 16 verifyLoggedOut() 16 17 } 17 18 … … 22 23 then: 23 24 at HomePage 25 verifyLoggedIn() 24 26 } 25 27 26 28 def "When we logout, we go to the logout page"() { 27 29 when: 28 logout .click()30 logout() 29 31 30 32 then: 31 33 at LogoutPage 34 verifyLoggedOut() 32 35 verifyLogoutMessage() 33 36 } … … 40 43 then: 41 44 at LoginPage 45 verifyLoggedOut() 42 46 verifyLoginFailureMessage() 47 48 cleanup: 49 logout() 43 50 44 51 where: … … 59 66 'admin' | 'pas*' // Star Wildcard in pattern. 60 67 'admin' | 'pas%' // Percentage Wildcard in pattern. 68 'admin' | 'pas.' // Dot Wildcard in pattern. 69 61 70 'bogus' | 'pass' /* Bogus Username. */ 62 71 '' | 'pass' // None … … 71 80 '*' | 'pass' // Star Wildcard. 72 81 '%' | 'pass' // Percentage Wildcard. 73 '.' | 'pass' 82 '.' | 'pass' // Dot Wildcard. 74 83 'admi*' | 'pass' // Star Wildcard in pattern. 75 84 'admi%' | 'pass' // Percentage Wildcard in pattern. 85 'admi.' | 'pass' // Dot Wildcard in pattern. 76 86 } 77 87
Note: See TracChangeset
for help on using the changeset viewer.