From 7923d872cad675ed3eab2cc8bcbdcd7c1df57c57 Mon Sep 17 00:00:00 2001 From: Rafael Monnerat <rafael@nexedi.com> Date: Fri, 3 Jan 2020 16:05:10 +0000 Subject: [PATCH] slapos_jio_ui_test: Ensure the test is reindexed. --- ...estSlapOSJSNetworkSharedByOrganisation.zpt | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/master/bt5/slapos_jio_ui_test/PathTemplateItem/portal_tests/slaposjs_zuite/testSlapOSJSNetworkSharedByOrganisation.zpt b/master/bt5/slapos_jio_ui_test/PathTemplateItem/portal_tests/slaposjs_zuite/testSlapOSJSNetworkSharedByOrganisation.zpt index ad262aabe..cffe4b141 100644 --- a/master/bt5/slapos_jio_ui_test/PathTemplateItem/portal_tests/slaposjs_zuite/testSlapOSJSNetworkSharedByOrganisation.zpt +++ b/master/bt5/slapos_jio_ui_test/PathTemplateItem/portal_tests/slaposjs_zuite/testSlapOSJSNetworkSharedByOrganisation.zpt @@ -24,6 +24,35 @@ <tal:block metal:use-macro="here/Zuite_SlapOSCommonTemplate/macros/create_simple_network" /> </tal:block> +<tr> + <td colspan="3"><b tal:content="python: 'Wait index the documents'"> Menu Item </b></td> +</tr> + +<tal:block metal:use-macro="here/Zuite_SlapOSCommonTemplate/macros/slapos_wait_for_activities_and_front_page" /> + +<tal:block define="menu_item python: 'Networks'; header menu_item"> + <tal:block metal:use-macro="here/Zuite_SlapOSCommonTemplate/macros/access_menu_item" /> +</tal:block> + +<tal:block tal:define="pagination_configuration python: {'header': '(1)', 'footer': '1 Records'}"> + <tal:block metal:use-macro="here/Zuite_SlapOSCommonTemplate/macros/check_listbox_pagination_text" /> +</tal:block> + +<tr> + <td>waitForElementPresent</td> + <td>//a[text()="TEST-SLAPOSJS-NETWORK-BY-ORGASNISATION 0"]</td> + <td></td> +</tr> +<tr> + <td>click</td> + <td>//a[text()="TEST-SLAPOSJS-NETWORK-BY-ORGASNISATION 0"]</td> + <td></td> +</tr> + +<tal:block define="header python: 'Computer Network :TEST-SLAPOSJS-NETWORK-BY-ORGASNISATION 0'; "> + <tal:block metal:use-macro="here/Zuite_SlapOSCommonTemplate/macros/assert_page_header" /> +</tal:block> + <tr> <td colspan="3"><b tal:content="python: 'Transfer Network to a Organisation'"> Menu Item </b></td> </tr> -- 2.30.9