-
Notifications
You must be signed in to change notification settings - Fork 34
/
Copy pathmisc-admin.robot
23 lines (21 loc) · 932 Bytes
/
misc-admin.robot
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
*** Settings ***
Documentation Verify miscellaneous aspects of series creation
Library SeleniumLibrary
Resource ../../auth.steps.robot
Resource ../../selenium.utils.robot
Suite Setup Before Test Suite
Suite Teardown Close Browser
Force Tags series misc
*** Test Cases ***
Comment should be stripped from leading and trailing spaces
Disable Client Validation add-series-form
Click Element id:add-comment-link
Input Text id:comment ${SPACE * 2}example comment${SPACE * 2}
Submit Form id:add-series-form
Textarea Value Should Be id:comment example comment
*** Keywords ***
Before Test Suite
Open Browser ${SITE_URL}/account/auth ${BROWSER}
Register Keyword To Run On Failure Log Source
Log In As login=admin password=test
Go To ${SITE_URL}/series/add