@@ -76,34 +76,35 @@ Before Test Suite
7676 Go To ${SITE_URL } /series/add
7777
7878Invalid Catalog Numbers Should Be Rejected
79- [Arguments] ${catalogNumbers }
79+ [Arguments] ${catalogNumbers }
8080 # open page each time to be sure that we're starting from the clean state.
8181 # Otherwise it's possible that there errors from the previous test and when
8282 # we'll click on link for adding catalog numbers then fields become
8383 # invisible (because link is toggling the visibility and when there are
8484 # errors, fields are visible from the begining).
85- Go To ${SITE_URL } /series/add
86- Disable Client Validation add-series-form
87- Click Element id:add-catalog-numbers-link
85+ Go To ${SITE_URL } /series/add
86+ Disable Client Validation add-series-form
87+ Click Element id:add-catalog-numbers-link
8888 # we should wait until all 4 fields with class js-catalogs-info will be
8989 # visible but for simplicity we just check that the last field is visible
90- Wait Until Element Is Visible id:gibbonsNumbers
91- Input Text id:michelNumbers ${catalogNumbers }
92- Input Text id:scottNumbers ${catalogNumbers }
93- Input Text id:yvertNumbers ${catalogNumbers }
94- Input Text id:gibbonsNumbers ${catalogNumbers }
95- Input Text id:solovyovNumbers ${catalogNumbers }
96- Input Text id:zagorskiNumbers ${catalogNumbers }
97- Submit Form id:add-series-form
98- ${alnumMessage } Catenate SEPARATOR=${SPACE }
99- ... Value must be a list of numbers separated by comma.
100- ... Any number may end with a latin letter in lower case
101- Element Text Should Be id:michelNumbers.errors ${alnumMessage }
102- Element Text Should Be id:scottNumbers.errors ${alnumMessage }
103- Element Text Should Be id:yvertNumbers.errors ${alnumMessage }
104- Element Text Should Be id:gibbonsNumbers.errors Value must be a list of numbers separated by comma
105- Element Text Should Be id:solovyovNumbers.errors Value must be a list of numbers separated by comma
106- Element Text Should Be id:zagorskiNumbers.errors Value must be a list of numbers separated by comma
90+ Wait Until Element Is Visible id:gibbonsNumbers
91+ Input Text id:michelNumbers ${catalogNumbers }
92+ Input Text id:scottNumbers ${catalogNumbers }
93+ Input Text id:yvertNumbers ${catalogNumbers }
94+ Input Text id:gibbonsNumbers ${catalogNumbers }
95+ Input Text id:solovyovNumbers ${catalogNumbers }
96+ Input Text id:zagorskiNumbers ${catalogNumbers }
97+ Submit Form id:add-series-form
98+ ${alnumMessage } Catenate SEPARATOR=${SPACE }
99+ ... Value must be a list of numbers separated by comma.
100+ ... Any number may end with a latin letter in lower case
101+ Wait Until Page Contains Element id:michelNumbers.errors
102+ Element Text Should Be id:michelNumbers.errors ${alnumMessage }
103+ Element Text Should Be id:scottNumbers.errors ${alnumMessage }
104+ Element Text Should Be id:yvertNumbers.errors ${alnumMessage }
105+ Element Text Should Be id:gibbonsNumbers.errors Value must be a list of numbers separated by comma
106+ Element Text Should Be id:solovyovNumbers.errors Value must be a list of numbers separated by comma
107+ Element Text Should Be id:zagorskiNumbers.errors Value must be a list of numbers separated by comma
107108
108109Invalid Catalog Price Should Be Rejected
109110 [Arguments] ${catalogPrice }
0 commit comments