File tree 2 files changed +16
-1
lines changed
main/webapp/WEB-INF/views/series
test/robotframework/series/search
2 files changed +16
-1
lines changed Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ <h3 class="text-center" th:text="${#strings.capitalize(search_results)}">
77
77
78
78
< div class ="row ">
79
79
< div class ="col-sm-4 ">
80
- < ul th:if ="${not #lists.isEmpty(searchResults)} " th:remove ="all-but-first ">
80
+ < ul class =" search-results " th:if ="${not #lists.isEmpty(searchResults)} " th:remove ="all-but-first ">
81
81
< li th:each ="series : ${searchResults} ">
82
82
< span th:if ="${series.category != null} " th:remove ="tag ">
83
83
< a href ="../category/info.html " th:href ="@{${INFO_CATEGORY_PAGE}(slug=${series.category.slug})} " th:text ="${series.category.name} "> Animals</ a > »
Original file line number Diff line number Diff line change @@ -13,7 +13,22 @@ Search series by non-existing catalog number
13
13
Submit Form id=search-series-form
14
14
Element Text Should Be id=no-series-found No series found
15
15
16
+ Search series by existing catalog number
17
+ [Template] Search Series By Catalog By Name And Number
18
+ michel 99
19
+ scott 99
20
+ yvert 99
21
+ gibbons 99
22
+
16
23
*** Keywords ***
17
24
Before Test Suite
18
25
Open Browser ${SITE_URL } / ${BROWSER }
19
26
Register Keyword To Run On Failure Log Source
27
+
28
+ Search Series By Catalog By Name And Number
29
+ [Arguments] ${name } ${number }
30
+ Go To ${SITE_URL }
31
+ Input Text id=catalogNumber ${number }
32
+ Select From List By Value id=catalogName ${name }
33
+ Submit Form id=search-series-form
34
+ Page Should Contain Element css=.search-results [href="/series/1"]
You can’t perform that action at this time.
0 commit comments