Skip to content

Commit b19a375

Browse files
committed
Add integration test for empty file when admin adds additional image to a series.
Fix #97
1 parent bd7484d commit b19a375

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/test/robotframework/series/add-image/validation.robot

+6
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,12 @@ Add image but without filling a required field
1212
Submit Form id=add-image-form
1313
Element Text Should Be id=image.errors Value must not be empty
1414

15+
Add image with empty file
16+
[Documentation] Verify validation of an empty file
17+
Choose File id=image ${TEST_RESOURCE_DIR}${/}empty.png
18+
Submit Form id=add-image-form
19+
Element Text Should Be id=image.errors File must not be empty
20+
1521
*** Keywords ***
1622
Before Test Suite
1723
[Documentation] Login as admin and open a page with a series info

0 commit comments

Comments
 (0)