Skip to content

Commit 9bb1c4f

Browse files
committed
test: all required fields must be filled in when we add a series sale
Part of #498
1 parent 8ad9931 commit 9bb1c4f

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/test/robotframework/series/sales/creation/validation.robot

+9
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,15 @@ Test Setup Disable Client Validation add-series-sales-form
99
Force Tags series sales validation
1010

1111
*** Test Cases ***
12+
Create series with empty required fields
13+
Select From List By Value id:seller ${EMPTY}
14+
Input Text id:price ${EMPTY}
15+
Select From List By Value id:currency ${EMPTY}
16+
Submit Form id:add-series-sales-form
17+
Element Text Should Be id:seller.errors Value must not be empty
18+
Element Text Should Be id:price.errors Value must not be empty
19+
Element Text Should Be id:currency.errors Value must not be empty
20+
1221
Create series sale with too long url
1322
${letter}= Set Variable j
1423
Input Text id:url http://${letter * 767}

0 commit comments

Comments
 (0)