Commit bcdc8758 authored by Nicolas Wavrant's avatar Nicolas Wavrant

erp5_web_renderjs_ui_test: new macro to wait for dialogs to be fully loaded

parent 50fe119f
...@@ -287,6 +287,22 @@ ...@@ -287,6 +287,22 @@
</tr> </tr>
</tal:block> </tal:block>
<tal:block metal:define-macro="wait_for_dialog_loaded">
<tr>
<td colspan="3"><b>Wait for the dialog to be loaded</b></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//form[@class="dialog_form"]//div[@class="dialog_button_container"]//input[@name="action_confirm"]</td>
<td></td>
</tr>
<tr>
<td colspan="3"><p></p></td>
</tr>
</tal:block>
<tal:block metal:define-macro="check_listbox_pagination_text"> <tal:block metal:define-macro="check_listbox_pagination_text">
<tr> <tr>
<td colspan="3"><b tal:content="python: 'Check the listbox pagination text: %s' % pagination_configuration"></b></td> <td colspan="3"><b tal:content="python: 'Check the listbox pagination text: %s' % pagination_configuration"></b></td>
......
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