File tree 2 files changed +19
-2
lines changed
main/webapp/WEB-INF/views/site
test/robotframework/series/search
2 files changed +19
-2
lines changed Original file line number Diff line number Diff line change @@ -159,13 +159,13 @@ <h4 class="panel-title" th:text="#{t_in_db}">In our database</h4>
159
159
< h4 class ="panel-title " th:text ="#{t_search_by_catalog} "> Search by catalog</ h4 >
160
160
</ div >
161
161
< div class ="panel-body ">
162
- < form method ="get " action ="../series/search_result.html " th:action ="@{${SEARCH_SERIES_BY_CATALOG}} ">
162
+ < form id =" search-series-form " method ="get " action ="../series/search_result.html " th:action ="@{${SEARCH_SERIES_BY_CATALOG}} ">
163
163
< div class ="form-group " th:classappend ="${numberIsEmpty != null ? 'has-error' : ''} ">
164
164
< label for ="catalogNumber " th:text ="|#{t_number}:| "> Number:</ label >
165
165
< input id ="catalogNumber " name ="catalogNumber " type ="search " class ="form-control "
166
166
required ="required " placeholder ="Example: 999 " th:placeholder ="|#{t_example}: 999| " />
167
167
<!--/*/
168
- <span th:if="${numberIsEmpty != null}" th:text="#{value.empty}" class="help-block">
168
+ <span id="catalogNumber.errors" th:if="${numberIsEmpty != null}" th:text="#{value.empty}" class="help-block">
169
169
Value must not be empty
170
170
</span>
171
171
/*/-->
Original file line number Diff line number Diff line change
1
+ *** Settings ***
2
+ Documentation Verify series search validation scenarios
3
+ Library SeleniumLibrary
4
+ Suite Setup Before Test Suite
5
+ Suite Teardown Close Browser
6
+ Force Tags series search validation
7
+
8
+ *** Test Cases ***
9
+ Search the series with empty required field
10
+ Submit Form id=search-series-form
11
+ Element Text Should Be id=catalogNumber.errors Value must not be empty
12
+
13
+
14
+ *** Keywords ***
15
+ Before Test Suite
16
+ Open Browser ${SITE_URL } / ${BROWSER }
17
+ Register Keyword To Run On Failure Log Source
You can’t perform that action at this time.
0 commit comments