@@ -9,36 +9,36 @@ Force Tags account activation validation
9
9
10
10
*** Test Cases ***
11
11
Activate account with matching login and password
12
- Input Text id= login admin
13
- Input Text id= password admin
14
- Submit Form id= activate-account-form
15
- Element Text Should Be id= password.errors Password and login must be different
12
+ Input Text id: login admin
13
+ Input Text id: password admin
14
+ Submit Form id: activate-account-form
15
+ Element Text Should Be id: password.errors Password and login must be different
16
16
17
17
Activate account with mismatching password and password confirmation
18
- Input Text id= password password123
19
- Input Text id= passwordConfirmation password321
20
- Submit Form id= activate-account-form
21
- Element Text Should Be id= passwordConfirmation.errors Password mismatch
18
+ Input Text id: password password123
19
+ Input Text id: passwordConfirmation password321
20
+ Submit Form id: activate-account-form
21
+ Element Text Should Be id: passwordConfirmation.errors Password mismatch
22
22
23
23
Activate account with too short login
24
- Input Text id= login a
25
- Submit Form id= activate-account-form
26
- Element Text Should Be id= login.errors Value is less than allowable minimum of 2 characters
24
+ Input Text id: login a
25
+ Submit Form id: activate-account-form
26
+ Element Text Should Be id: login.errors Value is less than allowable minimum of 2 characters
27
27
28
28
Activate account with too long login
29
- Input Text id= login abcde12345fghkl6
30
- Submit Form id= activate-account-form
31
- Element Text Should Be id= login.errors Value is greater than allowable maximum of 15 characters
29
+ Input Text id: login abcde12345fghkl6
30
+ Submit Form id: activate-account-form
31
+ Element Text Should Be id: login.errors Value is greater than allowable maximum of 15 characters
32
32
33
33
Activate account with forbidden characters in login
34
- Input Text id= login 't@$t'
35
- Submit Form id= activate-account-form
36
- Element Text Should Be id= login.errors Login must consist only latin letters, digits, dot, hyphen or underscore
34
+ Input Text id: login 't@$t'
35
+ Submit Form id: activate-account-form
36
+ Element Text Should Be id: login.errors Login must consist only latin letters, digits, dot, hyphen or underscore
37
37
38
38
Activate account with existing login
39
- Input Text id= login coder
40
- Submit Form id= activate-account-form
41
- Element Text Should Be id= login.errors Login already exists
39
+ Input Text id: login coder
40
+ Submit Form id: activate-account-form
41
+ Element Text Should Be id: login.errors Login already exists
42
42
43
43
Activate account with repetition of the special characters in login
44
44
[Template] Login should not contain repeated special characters
@@ -50,55 +50,55 @@ Activate account with repetition of the special characters in login
50
50
51
51
Activate account with too long name
52
52
${letter } = Set Variable j
53
- Input Text id= name ${letter * 101 }
54
- Submit Form id= activate-account-form
55
- Element Text Should Be id= name.errors Value is greater than allowable maximum of 100 characters
53
+ Input Text id: name ${letter * 101 }
54
+ Submit Form id: activate-account-form
55
+ Element Text Should Be id: name.errors Value is greater than allowable maximum of 100 characters
56
56
57
57
Activate account with with forbidden characters in name
58
- Input Text id= name M@st3r_
59
- Submit Form id= activate-account-form
60
- Element Text Should Be id= name.errors Name must consist only letters, hyphen or spaces
58
+ Input Text id: name M@st3r_
59
+ Submit Form id: activate-account-form
60
+ Element Text Should Be id: name.errors Name must consist only letters, hyphen or spaces
61
61
62
62
Activate account with name that starts with hyphen
63
- Input Text id= name -test
64
- Submit Form id= activate-account-form
65
- Element Text Should Be id= name.errors Value must not start or end with hyphen
63
+ Input Text id: name -test
64
+ Submit Form id: activate-account-form
65
+ Element Text Should Be id: name.errors Value must not start or end with hyphen
66
66
67
67
Activate account with name that ends with hyphen
68
- Input Text id= name test-
69
- Submit Form id= activate-account-form
70
- Element Text Should Be id= name.errors Value must not start or end with hyphen
68
+ Input Text id: name test-
69
+ Submit Form id: activate-account-form
70
+ Element Text Should Be id: name.errors Value must not start or end with hyphen
71
71
72
72
Activate account with too short password
73
- Input Text id= password 123
74
- Submit Form id= activate-account-form
75
- Element Text Should Be id= password.errors Value is less than allowable minimum of 4 characters
73
+ Input Text id: password 123
74
+ Submit Form id: activate-account-form
75
+ Element Text Should Be id: password.errors Value is less than allowable minimum of 4 characters
76
76
77
77
Activate account with too long password
78
78
${letter } = Set Variable j
79
- Input Text id= password ${letter * 73 }
80
- Submit Form id= activate-account-form
81
- Element Text Should Be id= password.errors Value is greater than allowable maximum of 72 characters
79
+ Input Text id: password ${letter * 73 }
80
+ Submit Form id: activate-account-form
81
+ Element Text Should Be id: password.errors Value is greater than allowable maximum of 72 characters
82
82
83
83
Activate account with too short activation key
84
- Input Text id= activationKey 12345
85
- Submit Form id= activate-account-form
86
- Element Text Should Be id= activationKey.errors Value length must be equal to 10 characters
84
+ Input Text id: activationKey 12345
85
+ Submit Form id: activate-account-form
86
+ Element Text Should Be id: activationKey.errors Value length must be equal to 10 characters
87
87
88
88
Activate account with too long activation key
89
- Input Text id= activationKey 1234567890123
90
- Submit Form id= activate-account-form
91
- Element Text Should Be id= activationKey.errors Value length must be equal to 10 characters
89
+ Input Text id: activationKey 1234567890123
90
+ Submit Form id: activate-account-form
91
+ Element Text Should Be id: activationKey.errors Value length must be equal to 10 characters
92
92
93
93
Activate account with forbidden characters in activation key
94
- Input Text id= activationKey A123=+TEST
95
- Submit Form id= activate-account-form
96
- Element Text Should Be id= activationKey.errors Key must consist only latin letters in lower case or digits
94
+ Input Text id: activationKey A123=+TEST
95
+ Submit Form id: activate-account-form
96
+ Element Text Should Be id: activationKey.errors Key must consist only latin letters in lower case or digits
97
97
98
98
Activate account with wrong activation key
99
- Input Text id= activationKey 1112223334
100
- Submit Form id= activate-account-form
101
- Element Text Should Be id= activationKey.errors Invalid activation key
99
+ Input Text id: activationKey 1112223334
100
+ Submit Form id: activate-account-form
101
+ Element Text Should Be id: activationKey.errors Invalid activation key
102
102
103
103
*** Keywords ***
104
104
Before Test Suite
@@ -114,6 +114,6 @@ Disable Client Validation
114
114
Login should not contain repeated special characters
115
115
[Arguments] ${login }
116
116
Disable Client Validation
117
- Input Text id= login ${login }
118
- Submit Form id= activate-account-form
119
- Element Text Should Be id= login.errors Login must not contain repetition of hyphen, dot or underscore
117
+ Input Text id: login ${login }
118
+ Submit Form id: activate-account-form
119
+ Element Text Should Be id: login.errors Login must not contain repetition of hyphen, dot or underscore
0 commit comments