Skip to content

Commit bd7484d

Browse files
committed
Add integration test for submitting a form without additional image.
Fix #99
1 parent 890a33d commit bd7484d

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
*** Settings ***
2+
Documentation Verify validation scenarios during adding additional image to a series
3+
Library Selenium2Library
4+
Resource ../../auth.steps.robot
5+
Suite Setup Before Test Suite
6+
Suite Teardown After Test Suite
7+
Force Tags series add-image validation
8+
9+
*** Test Cases ***
10+
Add image but without filling a required field
11+
[Documentation] Verify validation of a required field
12+
Submit Form id=add-image-form
13+
Element Text Should Be id=image.errors Value must not be empty
14+
15+
*** Keywords ***
16+
Before Test Suite
17+
[Documentation] Login as admin and open a page with a series info
18+
Open Browser ${SITE_URL} ${BROWSER}
19+
Register Keyword To Run On Failure Log Source
20+
Log In As login=admin password=test
21+
Go To ${SITE_URL}/series/1
22+
23+
After Test Suite
24+
[Documentation] Log out and close browser
25+
Log Out
26+
Close Browser

0 commit comments

Comments
 (0)