Skip to content

Commit 6da0fd3

Browse files
committed
add test for image and image URL
1 parent dd821a1 commit 6da0fd3

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,14 @@ Create series with empty image
3838
Submit Form id=add-series-form
3939
Element Text Should Be id=image.errors File must not be empty
4040

41+
Create series with both image and an image URL
42+
[Documentation] Verify validation of an image and an image URL provided at the same time
43+
Choose File id=image ${TEST_RESOURCE_DIR}${/}empty.png
44+
Input Text id=image-url ${SITE_URL}/image/1
45+
Submit Form id=add-series-form
46+
Element Text Should Be id=image.errors Image or image URL must be specified
47+
Element Text Should Be id=image-url.errors Image or image URL must be specified
48+
4149
Create series with image URL with invalid response
4250
[Documentation] Verify validation of invalid response from a server
4351
Input Text id=image-url ${SITE_URL}/test/invalid/response-400

0 commit comments

Comments
 (0)