Skip to content

Commit b6ef406

Browse files
committed
fixup! workaround: Table 'collection-estimation' footer did not contain text '100.00 RUB'
1 parent 4b438a8 commit b6ef406

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/main/webapp/WEB-INF/views/collection/estimation.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,10 @@ <h3 class="text-center" th:text="#{t_collection_of(${ownerName})}">
118118
<!--/* @todo #884 /collection/{slug}/estimation: optimize summing of prices */-->
119119
<tr class="info">
120120
<th th:text="|#{t_total}:|">Total:</th>
121+
<!--/*
122+
Workaround for "Table Footer Should Contain" keyword from SeleniumLibrary that unable to find values within <th> tag.
123+
See for details: https://github.com/robotframework/SeleniumLibrary/issues/1436
124+
*/-->
121125
<td style="font-weight: bold"
122126
th:with="totalRub=${#aggregates.sum(seriesOfCollection.?[price != null and currency.toString() == 'RUB'].![price])},totalUsd=${#aggregates.sum(seriesOfCollection.?[price != null and currency.toString() == 'USD'].![price])},totalEur=${#aggregates.sum(seriesOfCollection.?[price != null and currency.toString() == 'EUR'].![price])},totalCzk=${#aggregates.sum(seriesOfCollection.?[price != null and currency.toString() == 'CZK'].![price])},totalByn=${#aggregates.sum(seriesOfCollection.?[price != null and currency.toString() == 'BYN'].![price])},totalUah=${#aggregates.sum(seriesOfCollection.?[price != null and currency.toString() == 'UAH'].![price])}">
123127
<span th:text="|${totalRub} RUB|" th:if="${totalRub != null}" th:remove="tag">14.4 RUB</span>

0 commit comments

Comments
 (0)