From bdcc6ece4bbaeb96637f8ab7843080fe23e55336 Mon Sep 17 00:00:00 2001
From: Xiaowu Zhang <xiaowu.zhang@tiolive.com>
Date: Tue, 1 Dec 2015 13:30:25 +0000
Subject: [PATCH] erp5_web_renderjs_ui_test: add more scenario

---
 .../testFilterItemDelete.xml                  | 59 ++++++++++++++++++-
 1 file changed, 56 insertions(+), 3 deletions(-)

diff --git a/bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_listbox_zuite/testFilterItemDelete.xml b/bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_listbox_zuite/testFilterItemDelete.xml
index 307ad24a2a..20a3cdfd53 100644
--- a/bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_listbox_zuite/testFilterItemDelete.xml
+++ b/bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_listbox_zuite/testFilterItemDelete.xml
@@ -187,9 +187,6 @@
 </tr>\n
 \n
 \n
-\n
-\n
-\n
 <tr>\n
   <td>waitForElementPresent</td>\n
   <td>//form[@class=\'plus\']</td>\n
@@ -246,6 +243,44 @@
 </tr>\n
 \n
 \n
+<tr>\n
+  <td>click</td>\n
+  <td>//form[@class=\'submit\']/button</td>\n
+  <td></td>\n
+</tr>\n
+\n
+<tr>\n
+  <td>waitForElementNotPresent</td>\n
+  <td>//a[@data-i18n="Previous"]</td>\n
+  <td></td>\n
+</tr>\n
+\n
+<tr>\n
+  <td>waitForElementPresent</td>\n
+  <td>//a[@data-i18n="Previous"]</td>\n
+  <td></td>\n
+</tr>\n
+\n
+<tr>\n
+  <td>waitForElementPresent</td>\n
+  <td>//form[@class=\'filter_form\']//input</td>\n
+  <td></td>\n
+</tr>\n
+\n
+\n
+<tr>\n
+  <td>click</td>\n
+  <td>//form[@class=\'filter_form\']//input</td>\n
+  <td></td>\n
+</tr>\n
+\n
+\n
+<tr>\n
+  <td>waitForElementPresent</td>\n
+  <td>//div[@class="filter_item_container"]/div[2]</td>\n
+  <td></td>\n
+</tr>\n
+\n
 \n
 <tr>\n
   <td>focus</td>\n
@@ -301,6 +336,24 @@
 </tr>\n
 \n
 \n
+<tr>\n
+  <td>click</td>\n
+  <td>//form[@class=\'submit\']/button</td>\n
+  <td></td>\n
+</tr>\n
+\n
+<tr>\n
+  <td>waitForElementNotPresent</td>\n
+  <td>//a[@data-i18n="Previous"]</td>\n
+  <td></td>\n
+</tr>\n
+\n
+<tr>\n
+  <td>waitForElementPresent</td>\n
+  <td>//a[@data-i18n="Previous"]</td>\n
+  <td></td>\n
+</tr>\n
+\n
 \n
 \n
 </tbody></table>\n
-- 
2.30.9