Commit a818e685 authored by Romain Courteaud's avatar Romain Courteaud

erp5_*_renderjs_ui_test: stabilize test

parent 86985db3
...@@ -27,13 +27,13 @@ ...@@ -27,13 +27,13 @@
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/select_listbox_line" /> <tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/select_listbox_line" />
</tal:block> </tal:block>
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/submit_dialog" /> <tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/submit_dialog" />
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded" />
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_listbox_loaded" />
<tal:block tal:define="notification_configuration python: {'class': 'success', <tal:block tal:define="notification_configuration python: {'class': 'success',
'text': 'Lines Reconciled'}"> 'text': 'Lines Reconciled'}">
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_notification" /> <tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_notification" />
</tal:block> </tal:block>
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded" />
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_listbox_loaded" />
<tr> <tr>
<td>assertValue</td> <td>assertValue</td>
<td>//input[@name='field_your_reconciliation_mode' and @value='reconcile']</td> <td>//input[@name='field_your_reconciliation_mode' and @value='reconcile']</td>
...@@ -54,11 +54,12 @@ ...@@ -54,11 +54,12 @@
</tr> </tr>
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/update_dialog" /> <tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/update_dialog" />
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded" /> <tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded" />
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_listbox_loaded" />
<tal:block tal:define="notification_configuration python: {'class': 'success', <tal:block tal:define="notification_configuration python: {'class': 'success',
'text': 'Data received.'}"> 'text': 'Data received.'}">
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_notification" /> <tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_notification" />
</tal:block> </tal:block>
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_listbox_loaded" />
<tr> <tr>
<td>assertValue</td> <td>assertValue</td>
<td>//input[@name='field_your_reconciliation_mode' and @value='unreconcile']</td> <td>//input[@name='field_your_reconciliation_mode' and @value='unreconcile']</td>
...@@ -70,13 +71,13 @@ ...@@ -70,13 +71,13 @@
<!-- Unreconcile nothing, but check if the radio field value is still correct (it took time to get it right...) --> <!-- Unreconcile nothing, but check if the radio field value is still correct (it took time to get it right...) -->
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/submit_dialog" /> <tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/submit_dialog" />
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded" />
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_listbox_loaded" />
<tal:block tal:define="notification_configuration python: {'class': 'success', <tal:block tal:define="notification_configuration python: {'class': 'success',
'text': 'Lines Unreconciled'}"> 'text': 'Lines Unreconciled'}">
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_notification" /> <tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_notification" />
</tal:block> </tal:block>
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded" />
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_listbox_loaded" />
<tr> <tr>
<td>assertValue</td> <td>assertValue</td>
<td>//input[@name='field_your_reconciliation_mode' and @value='unreconcile']</td> <td>//input[@name='field_your_reconciliation_mode' and @value='unreconcile']</td>
...@@ -107,11 +108,12 @@ ...@@ -107,11 +108,12 @@
</tr> </tr>
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/update_dialog" /> <tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/update_dialog" />
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded" /> <tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded" />
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_listbox_loaded" />
<tal:block tal:define="notification_configuration python: {'class': 'success', <tal:block tal:define="notification_configuration python: {'class': 'success',
'text': 'Data received.'}"> 'text': 'Data received.'}">
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_notification" /> <tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_notification" />
</tal:block> </tal:block>
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_listbox_loaded" />
<tr> <tr>
<td>assertValue</td> <td>assertValue</td>
<td>//input[@name='field_your_reconciliation_mode' and @value='unreconcile']</td> <td>//input[@name='field_your_reconciliation_mode' and @value='unreconcile']</td>
...@@ -126,13 +128,13 @@ ...@@ -126,13 +128,13 @@
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/select_listbox_line" /> <tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/select_listbox_line" />
</tal:block> </tal:block>
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/submit_dialog" /> <tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/submit_dialog" />
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded" />
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_listbox_loaded" />
<tal:block tal:define="notification_configuration python: {'class': 'success', <tal:block tal:define="notification_configuration python: {'class': 'success',
'text': 'Lines Unreconciled'}"> 'text': 'Lines Unreconciled'}">
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_notification" /> <tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_notification" />
</tal:block> </tal:block>
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded" />
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_listbox_loaded" />
<tr> <tr>
<td>assertValue</td> <td>assertValue</td>
<td>//input[@name='field_your_reconciliation_mode' and @value='unreconcile']</td> <td>//input[@name='field_your_reconciliation_mode' and @value='unreconcile']</td>
......
...@@ -27,13 +27,12 @@ ...@@ -27,13 +27,12 @@
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/select_listbox_line" /> <tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/select_listbox_line" />
</tal:block> </tal:block>
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/submit_dialog" /> <tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/submit_dialog" />
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded" />
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_listbox_loaded" />
<tal:block tal:define="notification_configuration python: {'class': 'success', <tal:block tal:define="notification_configuration python: {'class': 'success',
'text': 'Lines Reconciled'}"> 'text': 'Lines Reconciled'}">
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_notification" /> <tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_notification" />
</tal:block> </tal:block>
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded" />
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_listbox_loaded" />
<tr> <tr>
<td>assertValue</td> <td>assertValue</td>
<td>//input[@name='field_your_reconciliation_mode' and @value='reconcile']</td> <td>//input[@name='field_your_reconciliation_mode' and @value='reconcile']</td>
...@@ -54,11 +53,11 @@ ...@@ -54,11 +53,11 @@
</tr> </tr>
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/update_dialog" /> <tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/update_dialog" />
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded" /> <tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded" />
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_listbox_loaded" />
<tal:block tal:define="notification_configuration python: {'class': 'success', <tal:block tal:define="notification_configuration python: {'class': 'success',
'text': 'Data received.'}"> 'text': 'Data received.'}">
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_notification" /> <tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_notification" />
</tal:block> </tal:block>
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_listbox_loaded" />
<tr> <tr>
<td>assertValue</td> <td>assertValue</td>
<td>//input[@name='field_your_reconciliation_mode' and @value='reconcile']</td> <td>//input[@name='field_your_reconciliation_mode' and @value='reconcile']</td>
...@@ -73,13 +72,14 @@ ...@@ -73,13 +72,14 @@
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/select_listbox_line" /> <tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/select_listbox_line" />
</tal:block> </tal:block>
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/submit_dialog" /> <tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/submit_dialog" />
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded" />
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_listbox_loaded" />
<tal:block tal:define="notification_configuration python: {'class': 'success', <tal:block tal:define="notification_configuration python: {'class': 'success',
'text': 'Line Already Reconciled'}"> 'text': 'Line Already Reconciled'}">
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_notification" /> <tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_notification" />
</tal:block> </tal:block>
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded" />
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_listbox_loaded" />
<tr> <tr>
<td>assertValue</td> <td>assertValue</td>
<td>//input[@name='field_your_reconciliation_mode' and @value='reconcile']</td> <td>//input[@name='field_your_reconciliation_mode' and @value='reconcile']</td>
...@@ -88,7 +88,7 @@ ...@@ -88,7 +88,7 @@
<tal:block tal:define="pagination_configuration python: {'header': '(1)', 'footer': '1 Records'}"> <tal:block tal:define="pagination_configuration python: {'header': '(1)', 'footer': '1 Records'}">
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/check_listbox_pagination_text" /> <tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/check_listbox_pagination_text" />
</tal:block> </tal:block>
<tal:block tal:define="line_configuration python: {'value': 'on', 'line': 0}"> <tal:block tal:define="line_configuration python: {'value': 'off', 'line': 0}">
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/check_listbox_line_selection" /> <tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/check_listbox_line_selection" />
</tal:block> </tal:block>
......
...@@ -18,6 +18,8 @@ ...@@ -18,6 +18,8 @@
<tr><td>open</td> <tr><td>open</td>
<td>${renderjs_url}/#/foo_module/1?editable=1</td><td></td></tr> <td>${renderjs_url}/#/foo_module/1?editable=1</td><td></td></tr>
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_app_loaded" />
<tr><td>waitForElementPresent</td> <tr><td>waitForElementPresent</td>
<td>//div[@data-gadget-url="${renderjs_url}/gadget_erp5_field_lines.html"]//textarea</td><td></td></tr> <td>//div[@data-gadget-url="${renderjs_url}/gadget_erp5_field_lines.html"]//textarea</td><td></td></tr>
<tr><td>type</td> <tr><td>type</td>
......
...@@ -28,6 +28,7 @@ ...@@ -28,6 +28,7 @@
<tr><td>open</td> <tr><td>open</td>
<td>${renderjs_url}/#/foo_module/1?editable=1</td><td></td></tr> <td>${renderjs_url}/#/foo_module/1?editable=1</td><td></td></tr>
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_app_loaded" />
<!-- Make sure lines render as non-editable --> <!-- Make sure lines render as non-editable -->
<tr><td>waitForElementPresent</td> <tr><td>waitForElementPresent</td>
......
...@@ -39,11 +39,8 @@ ...@@ -39,11 +39,8 @@
<td>${base_url}/web_site_module/renderjs_runner/#/foo_module/0?editable=true</td> <td>${base_url}/web_site_module/renderjs_runner/#/foo_module/0?editable=true</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_app_loaded" />
<td>waitForElementPresent</td>
<td>//select[@name='field_my_local_title']</td>
<td></td>
</tr>
<tr> <tr>
<td>select</td> <td>select</td>
<td>//select[@name='field_my_local_title']</td> <td>//select[@name='field_my_local_title']</td>
......
...@@ -27,6 +27,12 @@ ...@@ -27,6 +27,12 @@
<tal:block tal:define="click_configuration python: {'text': 'Error Python Action'}"> <tal:block tal:define="click_configuration python: {'text': 'Error Python Action'}">
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/click_on_page_link" /> <tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/click_on_page_link" />
</tal:block> </tal:block>
<tr>
<td>waitForElementPresent</td>
<td>//div[@data-gadget-url='${base_url}/web_site_module/renderjs_runner/gadget_erp5_pt_form_python_action.html']</td>
<td></td>
</tr>
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded" /> <tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded" />
......
...@@ -29,12 +29,17 @@ ...@@ -29,12 +29,17 @@
</tal:block> </tal:block>
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded" /> <tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded" />
<tr>
<td>waitForElementPresent</td>
<td>//div[@data-gadget-url='${base_url}/web_site_module/renderjs_runner/gadget_erp5_pt_form_python_action.html']</td>
<td></td>
</tr>
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded" />
<tal:block tal:define="notification_configuration python: {'class': 'error', <tal:block tal:define="notification_configuration python: {'class': 'error',
'text': 'Missing expected foo_url parameter'}"> 'text': 'Missing expected foo_url parameter'}">
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_notification" /> <tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_notification" />
</tal:block> </tal:block>
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded" />
<tr> <tr>
<td>assertElementPresent</td> <td>assertElementPresent</td>
......
...@@ -29,12 +29,17 @@ ...@@ -29,12 +29,17 @@
</tal:block> </tal:block>
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded" /> <tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded" />
<tr>
<td>waitForElementPresent</td>
<td>//div[@data-gadget-url='${base_url}/web_site_module/renderjs_runner/gadget_erp5_pt_form_python_action.html']</td>
<td></td>
</tr>
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded" />
<tal:block tal:define="notification_configuration python: {'class': 'success', <tal:block tal:define="notification_configuration python: {'class': 'success',
'text': 'foo_url parameter equals bar_url'}"> 'text': 'foo_url parameter equals bar_url'}">
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_notification" /> <tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_notification" />
</tal:block> </tal:block>
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded" />
<tr> <tr>
<td>assertElementPresent</td> <td>assertElementPresent</td>
......
...@@ -19,6 +19,7 @@ ...@@ -19,6 +19,7 @@
<td>${base_url}/web_site_module/renderjs_runner/wo/#/foo_bar_module</td> <td>${base_url}/web_site_module/renderjs_runner/wo/#/foo_bar_module</td>
<td></td> <td></td>
</tr> </tr>
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_app_loaded" />
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
......
...@@ -24,6 +24,7 @@ ...@@ -24,6 +24,7 @@
<td>${base_url}/web_site_module/renderjs_runner/wo/#/foo_module</td> <td>${base_url}/web_site_module/renderjs_runner/wo/#/foo_module</td>
<td></td> <td></td>
</tr> </tr>
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_app_loaded" />
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
......
...@@ -20,21 +20,7 @@ ...@@ -20,21 +20,7 @@
<td>${base_url}/web_site_module/renderjs_runner/wo/#/foo_module</td> <td>${base_url}/web_site_module/renderjs_runner/wo/#/foo_module</td>
<td></td> <td></td>
</tr> </tr>
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_app_loaded" />
<tr>
<td>waitForElementPresent</td>
<td>link=Title 1</td>
<td></td>
</tr>
<tr>
<td>verifyElementPresent</td>
<td>link=Title 1</td>
<td></td>
</tr>
<tr> <tr>
<td>verifyText</td> <td>verifyText</td>
...@@ -42,16 +28,13 @@ ...@@ -42,16 +28,13 @@
<td>foo_mokuai</td> <td>foo_mokuai</td>
</tr> </tr>
<tal:block tal:define="click_configuration python: {'text': 'Title 1'}">
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/click_on_page_link" />
</tal:block>
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded" />
<tr> <tr>
<td>click</td> <td>assertElementPresent</td>
<td>link=Title 1</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//a[text() = 'bianxue']</td> <td>//a[text() = 'bianxue']</td>
<td></td> <td></td>
</tr> </tr>
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
<td>${base_url}/web_site_module/renderjs_runner/wo/#/foo_module</td> <td>${base_url}/web_site_module/renderjs_runner/wo/#/foo_module</td>
<td></td> <td></td>
</tr> </tr>
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_app_loaded" />
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
......
...@@ -28,7 +28,6 @@ ...@@ -28,7 +28,6 @@
</tal:block> </tal:block>
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded" /> <tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded" />
<tr> <tr>
<td>assertElementPresent</td> <td>assertElementPresent</td>
<td>//label[@for="field_my_id"]</td> <td>//label[@for="field_my_id"]</td>
...@@ -40,25 +39,10 @@ ...@@ -40,25 +39,10 @@
</tal:block> </tal:block>
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded" /> <tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded" />
<tr> <tal:block tal:define="click_configuration python: {'text': 'yanzhen'}">
<td>verifyElementPresent</td> <tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/click_on_page_link" />
<td>//a[text() = 'yanzhen']</td> </tal:block>
<td></td> <tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded" />
</tr>
<tr>
<td>click</td>
<td>//a[text() = 'yanzhen']</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//input[@value = 'yanzhen']</td>
<td></td>
</tr>
<tr> <tr>
<td>verifyElementPresent</td> <td>verifyElementPresent</td>
......
...@@ -20,6 +20,7 @@ ...@@ -20,6 +20,7 @@
<td>${base_url}/web_site_module/renderjs_runner/wo/#/foo_module</td> <td>${base_url}/web_site_module/renderjs_runner/wo/#/foo_module</td>
<td></td> <td></td>
</tr> </tr>
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_app_loaded" />
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
......
...@@ -20,37 +20,23 @@ ...@@ -20,37 +20,23 @@
<td>${base_url}/web_site_module/renderjs_runner/wo/#/foo_module</td> <td>${base_url}/web_site_module/renderjs_runner/wo/#/foo_module</td>
<td></td> <td></td>
</tr> </tr>
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_app_loaded" />
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_listbox_loaded" />
<tal:block tal:define="click_configuration python: {'text': 'Title 1'}">
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/click_on_page_link" />
<tr> </tal:block>
<td>waitForElementPresent</td> <tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded" />
<td>link=Title 1</td>
<td></td>
</tr>
<tr>
<td>verifyElementPresent</td>
<td>link=Title 1</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>link=Title 1</td>
<td></td>
</tr>
<tr> <tr>
<td>waitForElementPresent</td> <td>assertElementPresent</td>
<td>//a[text() = 'bianxue']</td> <td>//a[text() = 'bianxue']</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>waitForElementPresent</td> <td>assertElementPresent</td>
<td>//div[@data-role="header"]//a[text() = 'shitu']</td> <td>//div[@data-role="header"]//a[text() = 'shitu']</td>
<td></td> <td></td>
</tr> </tr>
......
...@@ -19,34 +19,18 @@ ...@@ -19,34 +19,18 @@
<td>${base_url}/web_site_module/renderjs_runner/wo/</td> <td>${base_url}/web_site_module/renderjs_runner/wo/</td>
<td></td> <td></td>
</tr> </tr>
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_app_loaded" />
<tal:block tal:define="click_configuration python: {'text': 'mokuai'}">
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/click_on_panel_link" />
</tal:block>
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded" />
<tr> <tr>
<td>waitForElementPresent</td> <td>verifyElementPresent</td>
<td>//a[text()="mokuai"]</td> <td>//a[text() = 'foo_mokuai']</td>
<td></td> <td></td>
</tr> </tr>
<tr>
<td>click</td>
<td>//a[text()="mokuai"]</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//a[text() = 'foo_mokuai']</td>
<td></td>
</tr>
<tr>
<td>verifyElementPresent</td>
<td>//a[text() = 'foo_mokuai']</td>
<td></td>
</tr>
</tbody></table> </tbody></table>
</body> </body>
......
...@@ -52,50 +52,30 @@ ...@@ -52,50 +52,30 @@
</tr> </tr>
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_app_loaded" /> <tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_app_loaded" />
<tr> <tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_listbox_loaded" />
<td>waitForTextPresent</td>
<td>Title 1</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>//div[@data-gadget-scope='field_listbox']//a[text()='Title 1' and contains(@href, '#!index')]</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//div[@data-gadget-scope='header']//a[text()='Foo_zhongwen: Title 1' and contains(@href, '#!history_previous')]</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>//div[@data-gadget-scope='header']//a[text()='Foo_zhongwen: Title 1' and contains(@href, '#!history_previous')]</td>
<td></td>
</tr>
<tal:block tal:define="click_configuration python: {'text': 'Title 1'}">
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/click_on_page_link" />
</tal:block>
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded" /> <tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded" />
<tr>
<td>waitForTextPresent</td>
<td>Title 2</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>//div[@data-gadget-scope='field_listbox']//a[text()='Title 2' and contains(@href, '#!index')]</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//div[@data-gadget-scope='header']//a[text()='Foo_zhongwen: Title 2' and contains(@href, '#!history_previous')]</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>//div[@data-gadget-scope='header']//a[text()='Foo_zhongwen: Title 2' and contains(@href, '#!history_previous')]</td>
<td></td>
</tr>
<tal:block tal:define="click_configuration python: {'text': 'Foo_zhongwen: Title 1'}">
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/click_on_header_link" />
</tal:block>
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded" /> <tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded" />
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_listbox_loaded" />
<tal:block tal:define="click_configuration python: {'text': 'Title 2'}">
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/click_on_page_link" />
</tal:block>
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded" />
<tal:block tal:define="click_configuration python: {'text': 'Foo_zhongwen: Title 2'}">
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/click_on_header_link" />
</tal:block>
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded" />
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_listbox_loaded" />
<!-- Go to the history tab --> <!-- Go to the history tab -->
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/open_menu_panel" /> <tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/open_menu_panel" />
<tr> <tr>
...@@ -113,12 +93,12 @@ ...@@ -113,12 +93,12 @@
<!-- Generate links to module --> <!-- Generate links to module -->
<tr> <tr>
<td>waitForElementPresent</td> <td>assertElementPresent</td>
<td>//a[text()='Title 2 (Foo_zhongwen)']</td> <td>//a[text()='Title 2 (Foo_zhongwen)']</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>waitForElementPresent</td> <td>assertElementPresent</td>
<td>//a[text()='Title 1 (Foo_zhongwen)']</td> <td>//a[text()='Title 1 (Foo_zhongwen)']</td>
<td></td> <td></td>
</tr> </tr>
......
...@@ -21,11 +21,6 @@ ...@@ -21,11 +21,6 @@
</tr> </tr>
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_app_loaded" /> <tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_app_loaded" />
<tr>
<td>waitForElementPresent</td>
<td>//select[@id='field_language']</td>
<td></td>
</tr>
<tr> <tr>
<td>assertElementPresent</td> <td>assertElementPresent</td>
<td>//select[@id='field_language']</td> <td>//select[@id='field_language']</td>
...@@ -47,24 +42,16 @@ ...@@ -47,24 +42,16 @@
</tr> </tr>
<tr> <tr>
<td>waitForTextPresent</td> <td>assertTextPresent</td>
<td>yuyan</td> <td>yuyan</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>waitForElementPresent</td> <td>type</td>
<td>//select[@name="field_language"]</td> <td>//select[@name="field_language"]</td>
<td></td> <td>en</td>
</tr> </tr>
<tr>
<td>type</td>
<td>//select[@name="field_language"]</td>
<td>en</td>
</tr>
<tr> <tr>
...@@ -86,73 +73,66 @@ ...@@ -86,73 +73,66 @@
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_app_loaded" /> <tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_app_loaded" />
<tr> <tr>
<td>waitForTextPresent</td> <td>verifyText</td>
<td>Language</td> <td>//a[@class="ui-btn-icon-left ui-icon-home"]</td>
<td></td> <td>Home</td>
</tr>
<tr>
<td>verifyText</td>
<td>//a[@class="ui-btn-icon-left ui-icon-puzzle-piece"]</td>
<td>Modules</td>
</tr> </tr>
<tr>
<td>verifyText</td>
<td>//a[@class="ui-btn-icon-left ui-icon-tasks"]</td>
<td>Worklists</td>
</tr>
<tr>
<td>verifyText</td>
<td>//a[@class="ui-btn-icon-left ui-icon-history"]</td>
<td>History</td>
</tr>
<tr> <tr>
<td>verifyText</td> <td>verifyText</td>
<td>//a[@class="ui-btn-icon-left ui-icon-home"]</td> <td>//a[@class="ui-btn-icon-left ui-icon-search"]</td>
<td>Home</td> <td>Search</td>
</tr> </tr>
<tr> <tr>
<td>verifyText</td> <td>verifyText</td>
<td>//a[@class="ui-btn-icon-left ui-icon-puzzle-piece"]</td> <td>//a[@class="ui-btn-icon-left ui-icon-sliders"]</td>
<td>Modules</td> <td>Preferences</td>
</tr> </tr>
<tr>
<td>verifyText</td> <tr>
<td>//a[@class="ui-btn-icon-left ui-icon-tasks"]</td> <td>verifyText</td>
<td>Worklists</td> <td>//a[@class="ui-btn-icon-left ui-icon-power-off"]</td>
</tr> <td>Logout</td>
</tr>
<tr>
<td>verifyText</td>
<td>//a[@class="ui-btn-icon-left ui-icon-history"]</td> <tr>
<td>History</td> <td>assertElementPresent</td>
</tr> <td>//select[@name="field_language"]/option[@selected='selected' and @value='en']</td>
<td></td>
</tr>
<tr> <tr>
<td>verifyText</td> <td>type</td>
<td>//a[@class="ui-btn-icon-left ui-icon-search"]</td> <td>//select[@name="field_language"]</td>
<td>Search</td> <td>wo</td>
</tr> </tr>
<tr>
<td>verifyText</td>
<td>//a[@class="ui-btn-icon-left ui-icon-sliders"]</td>
<td>Preferences</td>
</tr>
<tr>
<td>verifyText</td>
<td>//a[@class="ui-btn-icon-left ui-icon-power-off"]</td>
<td>Logout</td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//select[@name="field_language"]/option[@selected='selected' and @value='en']</td>
<td></td>
</tr>
<tr>
<td>type</td>
<td>//select[@name="field_language"]</td>
<td>wo</td>
</tr>
<tr> <tr>
...@@ -175,7 +155,7 @@ ...@@ -175,7 +155,7 @@
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_app_loaded" /> <tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_app_loaded" />
<tr> <tr>
<td>waitForTextPresent</td> <td>assertTextPresent</td>
<td>yuyan</td> <td>yuyan</td>
<td></td> <td></td>
</tr> </tr>
......
...@@ -83,27 +83,14 @@ ...@@ -83,27 +83,14 @@
<td>${base_url}/web_site_module/renderjs_runner/wo/#/foo_module</td> <td>${base_url}/web_site_module/renderjs_runner/wo/#/foo_module</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_app_loaded" />
<td>waitForElementPresent</td> <tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_listbox_loaded" />
<td>link=Title 1</td>
<td></td> <tal:block tal:define="click_configuration python: {'text': 'Title 1'}">
</tr> <tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/click_on_page_link" />
<tr> </tal:block>
<td>verifyElementPresent</td>
<td>link=Title 1</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>link=Title 1</td>
<td></td>
</tr>
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded" /> <tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded" />
<tr>
<td>waitForElementPresent</td>
<td>//div[@data-gadget-scope='panel']//dt[@class="ui-btn-icon-left ui-icon-eye"]</td>
<td></td>
</tr>
<tr> <tr>
<td>verifyText</td> <td>verifyText</td>
<td>//div[@data-gadget-scope='panel']//dt[@class="ui-btn-icon-left ui-icon-eye"]</td> <td>//div[@data-gadget-scope='panel']//dt[@class="ui-btn-icon-left ui-icon-eye"]</td>
......
...@@ -33,21 +33,15 @@ ...@@ -33,21 +33,15 @@
<td></td> <td></td>
</tr> </tr>
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_app_loaded" /> <tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_app_loaded" />
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_listbox_loaded" />
<tr> <tal:block tal:define="click_configuration python: {'text': 'zhenjia'}">
<td>waitForElementPresent</td> <tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/click_on_header_link" />
<td>//a[text()='zhenjia']</td> </tal:block>
<td></td>
</tr>
<tr>
<td>click</td>
<td>//a[text()='zhenjia']</td>
<td></td>
</tr>
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded" /> <tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded" />
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/submit_dialog" /> <tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/submit_dialog" />
<tal:block tal:define="notification_configuration python: {'class': 'success', <tal:block tal:define="notification_configuration python: {'class': 'success',
'text': 'Object created.'}"> 'text': 'Object created.'}">
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_notification" /> <tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_notification" />
...@@ -55,23 +49,14 @@ ...@@ -55,23 +49,14 @@
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded" /> <tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded" />
<tr> <tr>
<td>waitForTextPresent</td> <td>assertTextPresent</td>
<td>baochun</td> <td>baochun</td>
<td></td> <td></td>
</tr> </tr>
<tal:block tal:define="click_configuration python: {'text': 'shitu'}">
<tr> <tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/click_on_header_link" />
<td>waitForElementPresent</td> </tal:block>
<td>//a[text()='shitu']</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>//a[text()='shitu']</td>
<td></td>
</tr>
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded" /> <tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded" />
<tal:block tal:define="click_configuration python: {'text': 'Relation Fields'}"> <tal:block tal:define="click_configuration python: {'text': 'Relation Fields'}">
...@@ -79,12 +64,6 @@ ...@@ -79,12 +64,6 @@
</tal:block> </tal:block>
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded" /> <tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded" />
<tr>
<td>waitForElementPresent</td>
<td>//input[@name='field_my_bar_category_id_list']</td>
<td></td>
</tr>
<tr> <tr>
<td>type</td> <td>type</td>
<td>//input[@name='field_my_bar_category_id_list']</td> <td>//input[@name='field_my_bar_category_id_list']</td>
......
...@@ -33,18 +33,11 @@ ...@@ -33,18 +33,11 @@
<td></td> <td></td>
</tr> </tr>
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_app_loaded" /> <tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_app_loaded" />
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_listbox_loaded" />
<tr> <tal:block tal:define="click_configuration python: {'text': 'zhenjia'}">
<td>waitForElementPresent</td> <tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/click_on_header_link" />
<td>//a[text()='zhenjia']</td> </tal:block>
<td></td>
</tr>
<tr>
<td>click</td>
<td>//a[text()='zhenjia']</td>
<td></td>
</tr>
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded" /> <tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded" />
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/submit_dialog" /> <tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/submit_dialog" />
...@@ -55,25 +48,14 @@ ...@@ -55,25 +48,14 @@
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded" /> <tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded" />
<tr> <tr>
<td>waitForTextPresent</td> <td>assertTextPresent</td>
<td>baochun</td> <td>baochun</td>
<td></td> <td></td>
</tr> </tr>
<tal:block tal:define="click_configuration python: {'text': 'shitu'}">
<tr> <tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/click_on_header_link" />
<td>waitForElementPresent</td> </tal:block>
<td>//a[text()='shitu']</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>//a[text()='shitu']</td>
<td></td>
</tr>
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded" /> <tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded" />
<tal:block tal:define="click_configuration python: {'text': 'Relation Fields'}"> <tal:block tal:define="click_configuration python: {'text': 'Relation Fields'}">
...@@ -81,14 +63,6 @@ ...@@ -81,14 +63,6 @@
</tal:block> </tal:block>
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded" /> <tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded" />
<tr>
<td>waitForElementPresent</td>
<td>//input[@name='field_my_successor_title']</td>
<td></td>
</tr>
<tr> <tr>
<td>type</td> <td>type</td>
<td>//input[@name='field_my_successor_title']</td> <td>//input[@name='field_my_successor_title']</td>
...@@ -163,13 +137,6 @@ ...@@ -163,13 +137,6 @@
</tal:block> </tal:block>
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded" /> <tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded" />
<tr>
<td>waitForElementPresent</td>
<td>//input[@name='field_my_successor_title']</td>
<td></td>
</tr>
<tr> <tr>
<td>verifyValue</td> <td>verifyValue</td>
<td>//input[@name='field_my_successor_title']</td> <td>//input[@name='field_my_successor_title']</td>
......
...@@ -19,12 +19,7 @@ ...@@ -19,12 +19,7 @@
<td>${base_url}/web_site_module/renderjs_runner/wo/#/foo_bar_module</td> <td>${base_url}/web_site_module/renderjs_runner/wo/#/foo_bar_module</td>
<td></td> <td></td>
</tr> </tr>
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_app_loaded" />
<tr>
<td>waitForElementPresent</td>
<td>//button[text() = 'paixu']</td>
<td></td>
</tr>
<tr> <tr>
<td>click</td> <td>click</td>
......
...@@ -55,7 +55,16 @@ ...@@ -55,7 +55,16 @@
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/click_on_page_link" /> <tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/click_on_page_link" />
</tal:block> </tal:block>
<!-- One loader for the form jump dialog submission --> <!-- One loader for the form jump dialog submission -->
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded" /> <tr>
<td>waitForElementPresent</td>
<td>//div[@data-gadget-url='${base_url}/web_site_module/renderjs_runner/gadget_erp5_pt_form_jump.html']</td>
<td></td>
</tr>
<tr>
<td>waitForElementNotPresent</td>
<td>//div[@data-gadget-scope='header']//h1//*[contains(@class, "ui-icon-spinner")]</td>
<td></td>
</tr>
<!-- Another loader for loading the final page --> <!-- Another loader for loading the final page -->
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded" /> <tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded" />
......
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