File tree Expand file tree Collapse file tree 1 file changed +26
-0
lines changed
src/test/robotframework/series/add-image Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Original file line number Diff line number Diff line change
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
You can’t perform that action at this time.
0 commit comments