Commit 74730214 authored by Romain Courteaud's avatar Romain Courteaud

[erp5_pdm_renderjs_ui_test] Use existing macro to check the listbox pagination

parent 93dbda8b
...@@ -3,16 +3,9 @@ ...@@ -3,16 +3,9 @@
<tal:block metal:define-macro="init" tal:define="base_url python: '/' + here.getPortalObject().getId()"> <tal:block metal:define-macro="init" tal:define="base_url python: '/' + here.getPortalObject().getId()">
<!-- Check inventory total records --> <!-- Check inventory total records -->
<tr> <tal:block tal:define="pagination_configuration python: {'header': '(2)', 'footer': '2 Records'}">
<td>waitForElementPresent</td> <tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/check_listbox_pagination_text" />
<td>//nav//span[@class='ui-disabled ui-right']</td> </tal:block>
<td></td>
</tr>
<tr>
<td>verifyText</td>
<td>//nav//span[@class='ui-disabled ui-right']</td>
<td>2 Records</td>
</tr>
<!-- Check the correct title --> <!-- Check the correct title -->
<tr> <tr>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment