|
| 1 | +[ |
| 2 | + { |
| 3 | + "testCaseId": "TC-1", |
| 4 | + "testCaseDescription": "Correct username and correct password should redirect to 'Products' page", |
| 5 | + "username": "standard_user", |
| 6 | + "password": "secret_sauce", |
| 7 | + "errorMessage": "" |
| 8 | + }, |
| 9 | + { |
| 10 | + "testCaseId": "TC-1", |
| 11 | + "testCaseDescription": "Correct username and correct password should redirect to 'Products' page", |
| 12 | + "username": "problem_user", |
| 13 | + "password": "secret_sauce", |
| 14 | + "errorMessage": "" |
| 15 | + }, |
| 16 | + { |
| 17 | + "testCaseId": "TC-1", |
| 18 | + "testCaseDescription": "Correct username and correct password should redirect to 'Products' page", |
| 19 | + "username": "performance_glitch_user", |
| 20 | + "password": "secret_sauce", |
| 21 | + "errorMessage": "" |
| 22 | + }, |
| 23 | + { |
| 24 | + "testCaseId": "TC-2", |
| 25 | + "testCaseDescription": "Incorrect username and correct password should produce errorMessage", |
| 26 | + "username": "username", |
| 27 | + "password": "secret_sauce", |
| 28 | + "errorMessage": "Epic sadface: Username and password do not match any user in this service" |
| 29 | + }, |
| 30 | + { |
| 31 | + "testCaseId": "TC-2", |
| 32 | + "testCaseDescription": "Correct username and incorrect password should produce errorMessage", |
| 33 | + "username": "standard_user", |
| 34 | + "password": "password", |
| 35 | + "errorMessage": "Epic sadface: Username and password do not match any user in this service" |
| 36 | + }, |
| 37 | + { |
| 38 | + "testCaseId": "TC-2", |
| 39 | + "testCaseDescription": "Correct username and incorrect password should produce errorMessage", |
| 40 | + "username": "locked_out_user", |
| 41 | + "password": "password", |
| 42 | + "errorMessage": "Epic sadface: Username and password do not match any user in this service" |
| 43 | + }, |
| 44 | + { |
| 45 | + "testCaseId": "TC-2", |
| 46 | + "testCaseDescription": "Correct username and incorrect password should produce errorMessage", |
| 47 | + "username": "problem_user", |
| 48 | + "password": "password", |
| 49 | + "errorMessage": "Epic sadface: Username and password do not match any user in this service" |
| 50 | + }, |
| 51 | + { |
| 52 | + "testCaseId": "TC-2", |
| 53 | + "testCaseDescription": "Correct username and incorrect password should produce errorMessage", |
| 54 | + "username": "performance_glitch_user", |
| 55 | + "password": "password", |
| 56 | + "errorMessage": "Epic sadface: Username and password do not match any user in this service" |
| 57 | + }, |
| 58 | + { |
| 59 | + "testCaseId": "TC-2", |
| 60 | + "testCaseDescription": "Incorrect username and incorrect password should produce errorMessage", |
| 61 | + "username": "demo_username", |
| 62 | + "password": "demo_password", |
| 63 | + "errorMessage": "Epic sadface: Username and password do not match any user in this service" |
| 64 | + }, |
| 65 | + { |
| 66 | + "testCaseId": "TC-2", |
| 67 | + "testCaseDescription": "Blank username should produce errorMessage", |
| 68 | + "username": "", |
| 69 | + "password": "demo_password", |
| 70 | + "errorMessage": "Epic sadface: Username is required" |
| 71 | + }, |
| 72 | + { |
| 73 | + "testCaseId": "TC-2", |
| 74 | + "testCaseDescription": "Blank password should produce errorMessage", |
| 75 | + "username": "demo_username", |
| 76 | + "password": "", |
| 77 | + "errorMessage": "Epic sadface: Password is required" |
| 78 | + }, |
| 79 | + { |
| 80 | + "testCaseId": "TC-2", |
| 81 | + "testCaseDescription": "Should produce errorMessage for locked out user", |
| 82 | + "username": "locked_out_user", |
| 83 | + "password": "secret_sauce", |
| 84 | + "errorMessage": "Epic sadface: Sorry, this user has been locked out." |
| 85 | + } |
| 86 | +] |
0 commit comments