From 3b09dfb641c66a8001c6e5d5079aa8cda48dccac Mon Sep 17 00:00:00 2001 From: Xiaowu Zhang <xiaowu.zhang@tiolive.com> Date: Wed, 30 Sep 2015 17:21:46 +0000 Subject: [PATCH] erp5_web_renderjs_ui_test: update tests --- .../listbox_zuite/testCustomSearch.xml | 6 +++++ .../listbox_zuite/testFilter.xml | 6 +++++ .../listbox_zuite/testFilterItemAutoBuild.xml | 20 +++++++++----- .../listbox_zuite/testQuickSearch.xml | 2 +- .../listbox_zuite/testSearchWithOr.xml | 26 ++++++++++++++----- 5 files changed, 46 insertions(+), 14 deletions(-) diff --git a/bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_zuite/listbox_zuite/testCustomSearch.xml b/bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_zuite/listbox_zuite/testCustomSearch.xml index 5efac74d9d..7307eb1d1c 100644 --- a/bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_zuite/listbox_zuite/testCustomSearch.xml +++ b/bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_zuite/listbox_zuite/testCustomSearch.xml @@ -163,6 +163,12 @@ <td>0</td>\n </tr>\n \n +<tr>\n + <td>waitForElementPresent</td>\n + <td>//div[@class="filter_item_container"]/div[2]/form/div/div/select</td>\n + <td></td>\n +</tr>\n +\n \n <tr>\n <td>select</td>\n diff --git a/bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_zuite/listbox_zuite/testFilter.xml b/bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_zuite/listbox_zuite/testFilter.xml index c7a0b6ac4d..8e2e3a7c07 100644 --- a/bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_zuite/listbox_zuite/testFilter.xml +++ b/bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_zuite/listbox_zuite/testFilter.xml @@ -119,6 +119,12 @@ <td></td>\n </tr>\n \n +<tr>\n + <td>pause</td>\n + <td>3000</td>\n + <td></td>\n +</tr>\n +\n <tr>\n <td>click</td>\n <td>//form[@class=\'hide_form\']/button</td>\n diff --git a/bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_zuite/listbox_zuite/testFilterItemAutoBuild.xml b/bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_zuite/listbox_zuite/testFilterItemAutoBuild.xml index f603ad6077..3de14cf157 100644 --- a/bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_zuite/listbox_zuite/testFilterItemAutoBuild.xml +++ b/bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_zuite/listbox_zuite/testFilterItemAutoBuild.xml @@ -132,12 +132,6 @@ </tr>\n \n \n -<tr>\n - <td>click</td>\n - <td>//form[@class=\'plus\']/button</td>\n - <td></td>\n -</tr>\n -\n \n \n <tr>\n @@ -165,6 +159,20 @@ <td>0</td>\n </tr>\n \n +\n +<tr>\n + <td>click</td>\n + <td>//form[@class=\'plus\']/button</td>\n + <td></td>\n +</tr>\n +\n +\n +<tr>\n + <td>waitForElementPresent</td>\n + <td>//div[@class="filter_item_container"]/div[2]/form/div/div/select</td>\n + <td></td>\n +</tr>\n +\n <tr>\n <td>select</td>\n <td>//div[@class="filter_item_container"]/div[2]/form/div/div/select</td>\n diff --git a/bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_zuite/listbox_zuite/testQuickSearch.xml b/bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_zuite/listbox_zuite/testQuickSearch.xml index b053213147..53bf17d0cf 100644 --- a/bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_zuite/listbox_zuite/testQuickSearch.xml +++ b/bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_zuite/listbox_zuite/testQuickSearch.xml @@ -233,7 +233,7 @@ \n <tr>\n <td>type</td>\n - <td>//div[@class="filter_item_container"]/div[1]/form/div[3]/div/input</td>\n + <td>//div[@class="filter_item_container"]/div[1]/form/div[3]/input</td>\n <td>T%</td>\n </tr>\n \n diff --git a/bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_zuite/listbox_zuite/testSearchWithOr.xml b/bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_zuite/listbox_zuite/testSearchWithOr.xml index bd0e897151..1ead51f25b 100644 --- a/bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_zuite/listbox_zuite/testSearchWithOr.xml +++ b/bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_zuite/listbox_zuite/testSearchWithOr.xml @@ -132,13 +132,6 @@ </tr>\n \n \n -<tr>\n - <td>click</td>\n - <td>//form[@class=\'plus\']/button</td>\n - <td></td>\n -</tr>\n -\n -\n \n <tr>\n <td>click</td>\n @@ -171,6 +164,12 @@ <td></td>\n </tr>\n \n +<tr>\n + <td>waitForElementPresent</td>\n + <td>//div[@class="filter_item_container"]/div[2]/form/div/div/select</td>\n + <td></td>\n +</tr>\n +\n <tr>\n <td>select</td>\n <td>//div[@class="filter_item_container"]/div[2]/form/div/div/select</td>\n @@ -183,6 +182,19 @@ <td>1</td>\n </tr>\n \n +<tr>\n + <td>click</td>\n + <td>//form[@class=\'plus\']/button</td>\n + <td></td>\n +</tr>\n +\n +\n +<tr>\n + <td>waitForElementPresent</td>\n + <td>//div[@class="filter_item_container"]/div[3]/form/div/div/select</td>\n + <td></td>\n +</tr>\n +\n \n <tr>\n <td>select</td>\n -- 2.30.9