diff --git a/bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_router_zuite/testCommandSelectionNextLastElement.xml b/bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_router_zuite/testCommandSelectionNextLastElement.xml index 520ba0d7e0d2031871ed203d8f5e09724060099a..6024ef79b63c6cc3a6aaec92c0a1fc4fc6223a9c 100644 --- a/bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_router_zuite/testCommandSelectionNextLastElement.xml +++ b/bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_router_zuite/testCommandSelectionNextLastElement.xml @@ -74,8 +74,13 @@ <td></td>\n </tr>\n <tr>\n - <td>pause</td>\n - <td>1000</td>\n + <td>waitForElementPresent</td>\n + <td>//div[@data-gadget-scope=\'header\']//a[text()=\'Loading\' and contains(@class, \'ui-icon-spinner\')]</td>\n + <td></td>\n +</tr>\n +<tr>\n + <td>waitForElementNotPresent</td>\n + <td>//div[@data-gadget-scope=\'header\']//a[text()=\'Loading\' and contains(@class, \'ui-icon-spinner\')]</td>\n <td></td>\n </tr>\n \n diff --git a/bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_router_zuite/testCommandSelectionPreviousFirstElement.xml b/bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_router_zuite/testCommandSelectionPreviousFirstElement.xml index cc7c08c6fcdc8ff56dacb2837e3b16a0c91ad682..84ba290a3a44a695c199d4477936dec42383ea73 100644 --- a/bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_router_zuite/testCommandSelectionPreviousFirstElement.xml +++ b/bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_router_zuite/testCommandSelectionPreviousFirstElement.xml @@ -74,8 +74,13 @@ <td></td>\n </tr>\n <tr>\n - <td>pause</td>\n - <td>1000</td>\n + <td>waitForElementPresent</td>\n + <td>//div[@data-gadget-scope=\'header\']//a[text()=\'Loading\' and contains(@class, \'ui-icon-spinner\')]</td>\n + <td></td>\n +</tr>\n +<tr>\n + <td>waitForElementNotPresent</td>\n + <td>//div[@data-gadget-scope=\'header\']//a[text()=\'Loading\' and contains(@class, \'ui-icon-spinner\')]</td>\n <td></td>\n </tr>\n \n