-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtestCases.py
More file actions
29 lines (28 loc) · 1.91 KB
/
testCases.py
File metadata and controls
29 lines (28 loc) · 1.91 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
def test_cases(number):
return testCases[number]
testCases = [
#[severity, description]
['Blocker', 'when user goes to main page, page should be loaded'],
['Blocker', 'In Main page, when user click "Sing in" button, without providing mandatorty fields'],
['Blocker', 'when user login with a valid user, he should see Home Page'],
['Blocker', 'In Login Page, when user login with a in-valid user, he should see Error Message'],
['Major', 'To check the pointing of server by using demo account credentials'],
['Blocker', 'when user clicks on unregister button and accepts the alert, it should regirect to login page'],
['Blocker', 'when user clicks on unregister button and cancel the alert, it should remain to employee page'],
['Blocker', 'In employee login page, when user clicks on any emoployee and provide valid pin, he/she should able to login'],
['Blocker', 'In employee login page, when user clicks on any emoployee and provide invalid pin, he/she should see an error message'],
['Blocker', 'To click on drop of select resturant']
]
# testCases = [
# #[severity, description]
# {'Blocker':[ 'when user goes to main page, page should be loaded',
# 'In Main page, when user click "Sing in" button, he should see Sign in Page',
# 'In Login Page, when user login with a valid user, he should see Home Page',
# 'In Login Page, when user login with a in-valid user, he should see Error Message']
# },
# {'validation': [ 'In login page, when user clicks on signin button without email and password, he should see Error Message',
# 'In login page, when user clicks on signin button with valid email and no password, he should see Error Message',
# 'In login page, when user clicks on signin button with valid password and no email, he should see Error Message'
# ]
# }
# ]