File tree 2 files changed +22
-1
lines changed
main/frontend/src/components
2 files changed +22
-1
lines changed Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ class AddCommentFormView extends React.PureComponent {
92
92
const hasValidationErrors = validationErrors . length > 0 ;
93
93
return (
94
94
< div className = "col-sm-12 form-group" >
95
- < form className = { `form-horizontal ${ hasValidationErrors ? 'has-error' : '' } ` }
95
+ < form id = "add-comment-form" className = { `form-horizontal ${ hasValidationErrors ? 'has-error' : '' } ` }
96
96
onSubmit = { handleSubmit } >
97
97
< div
98
98
id = "add-comment-failed-msg"
Original file line number Diff line number Diff line change
1
+ *** Settings ***
2
+ Documentation Verify scenarios of adding a comment to a series
3
+ Library SeleniumLibrary
4
+ Resource ../../auth.steps.robot
5
+ Suite Setup Before Test Suite
6
+ Suite Teardown Close Browser
7
+ Force Tags series add-comment logic
8
+
9
+ *** Test Cases ***
10
+ Add a comment
11
+ Input Text id:comment A comment
12
+ Submit Form id:add-comment-form
13
+ Wait Until Page Does Not Contain id:add-comment-form
14
+ Element Text Should Be id:comment A comment
15
+
16
+ *** Keywords ***
17
+ Before Test Suite
18
+ Open Browser ${SITE_URL } /account/auth ${BROWSER }
19
+ Register Keyword To Run On Failure Log Source
20
+ Log In As login=admin password=test
21
+ Go To ${SITE_URL } /series/4
You can’t perform that action at this time.
0 commit comments