Changeset 950
- Timestamp:
- May 29, 2011, 4:28:17 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/features/purchaseOrders/test/functional/LoginSpec.groovy
r949 r950 3 3 import gnumims.functional.pages.LogoutPage 4 4 import spock.lang.Stepwise 5 import spock.lang.Unroll 5 6 6 7 @Stepwise … … 32 33 } 33 34 35 //@Unroll("Username: '#username' with password: '#password' should fail to login.") 34 36 def "If we type in the wrong password or username"() { 35 37 expect: … … 41 43 username | password 42 44 'admin' | 'bogus' /* Bogus Password. */ 43 'admin' | '' // Blank. 45 'admin' | '' // None. 46 'admin' | ' ' // Blank. 44 47 'admin' | 'PASS' // Capitals 45 48 'admin' | 'Pass' // First Capital. … … 47 50 'admin' | 'pas' // One letter short. 48 51 'admin' | 'passs' // One letter longer. 52 'admin' | ' pass' // Leading space. 49 53 'admin' | 'pass ' // Trailing space. 50 54 'admin' | '*' // Star Wildcard. … … 54 58 'admin' | 'pas%' // Percentage Wildcard in pattern. 55 59 'bogus' | 'pass' /* Bogus Username. */ 56 '' | 'pass' // Blank 60 '' | 'pass' // None 61 ' ' | 'pass' // Blank 57 62 'ADMIN' | 'pass' // Capitals 58 63 'Admin' | 'pass' // First Capital. … … 60 65 'admi' | 'pass' // One letter short. 61 66 'adminn' | 'pass' // One letter longer. 67 //' admin' | 'pass' // Leading space. 62 68 //'admin ' | 'pass' // Trailing space. 63 69 '*' | 'pass' // Star Wildcard.
Note: See TracChangeset
for help on using the changeset viewer.