File tree 4 files changed +17
-0
lines changed
4 files changed +17
-0
lines changed Original file line number Diff line number Diff line change 1
1
*** Settings ***
2
2
Documentation Verify miscellaneous aspects of account activation from anonymous user
3
3
Library SeleniumLibrary
4
+ Resource ../../selenium.utils.robot
4
5
Suite Setup Before Test Suite
5
6
Suite Teardown Close Browser
7
+ Test Setup Disable Client Validation
6
8
Force Tags account activation misc
7
9
8
10
*** Test Cases ***
@@ -56,8 +58,13 @@ Before Test Suite
56
58
Open Browser ${SITE_URL } /account/activate ${BROWSER }
57
59
Register Keyword To Run On Failure Log Source
58
60
61
+ Disable Client Validation
62
+ Remove Element Attribute password required
63
+ Remove Element Attribute passwordConfirmation required
64
+
59
65
Name should not cause an error
60
66
[Arguments] ${name }
67
+ Disable Client Validation
61
68
Input Text id:name ${name }
62
69
Submit Form id:activate-account-form
63
70
Page Should Not Contain Element id:name.errors
Original file line number Diff line number Diff line change @@ -113,6 +113,7 @@ Disable Client Validation
113
113
114
114
Login should not contain repeated special characters
115
115
[Arguments] ${login }
116
+ Disable Client Validation
116
117
Input Text id:login ${login }
117
118
Submit Form id:activate-account-form
118
119
Element Text Should Be id:login.errors Login must not contain repetition of hyphen, dot or underscore
Original file line number Diff line number Diff line change 2
2
Documentation Verify miscellaneous aspects of series creation
3
3
Library SeleniumLibrary
4
4
Resource ../../auth.steps.robot
5
+ Resource ../../selenium.utils.robot
5
6
Suite Setup Before Test Suite
6
7
Suite Teardown Close Browser
7
8
Force Tags series misc
8
9
9
10
*** Test Cases ***
10
11
Comment should be stripped from leading and trailing spaces
12
+ Disable Client Validation
11
13
Click Element id:add-comment-link
12
14
Input Text id:comment ${SPACE * 2 } example comment${SPACE * 2 }
13
15
Submit Form id:add-series-form
@@ -20,3 +22,5 @@ Before Test Suite
20
22
Log In As login=admin password=test
21
23
Go To ${SITE_URL } /series/add
22
24
25
+ Disable Client Validation
26
+ Remove Element Attribute quantity required
Original file line number Diff line number Diff line change 2
2
Documentation Verify validation scenarios for importing a series sale
3
3
Library SeleniumLibrary
4
4
Resource ../../../auth.steps.robot
5
+ Resource ../../../selenium.utils.robot
5
6
Suite Setup Before Test Suite
6
7
Suite Teardown Close Browser
7
8
Force Tags series sales import-sales validation react-related
8
9
9
10
*** Test Cases ***
10
11
Import a series sale with empty required field
12
+ Disable Client Validation
11
13
Submit Form id:import-series-sale-form
12
14
Wait Until Element Is Visible id:series-sale-url.errors
13
15
Element Text Should Be id:series-sale-url.errors Value must not be empty
@@ -31,3 +33,6 @@ Before Test Suite
31
33
Register Keyword To Run On Failure Log Source
32
34
Log In As login=admin password=test
33
35
Go To ${SITE_URL } /series/1
36
+
37
+ Disable Client Validation
38
+ Remove Element Attribute series-sale-url required
You can’t perform that action at this time.
0 commit comments