From 8e52238c4b2df647eb2c0306d9acdc5a08f8e23e Mon Sep 17 00:00:00 2001
From: Kazuhiko Shiozaki <kazuhiko@nexedi.com>
Date: Sun, 28 Sep 2008 22:33:48 +0000
Subject: [PATCH] 2008-09-29 Kazuhiko * we no longer have list_page_selection
 in a listbox with only 1 page.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@23876 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../listbox_dialog_mode_zuite/testPager.xml            | 10 ++--------
 .../portal_tests/listbox_zuite/testFilter.xml          |  4 ++--
 .../listbox_zuite/testNotExistingSelection.xml         |  4 ++--
 .../portal_tests/listbox_zuite/testPager.xml           |  4 ++--
 .../portal_tests/listbox_zuite/testTitleLine.xml       |  4 ++--
 bt5/erp5_ui_test/bt/revision                           |  2 +-
 6 files changed, 11 insertions(+), 17 deletions(-)

diff --git a/bt5/erp5_ui_test/PathTemplateItem/portal_tests/listbox_dialog_mode_zuite/testPager.xml b/bt5/erp5_ui_test/PathTemplateItem/portal_tests/listbox_dialog_mode_zuite/testPager.xml
index e61658b56f..e86d0ffdd7 100644
--- a/bt5/erp5_ui_test/PathTemplateItem/portal_tests/listbox_dialog_mode_zuite/testPager.xml
+++ b/bt5/erp5_ui_test/PathTemplateItem/portal_tests/listbox_dialog_mode_zuite/testPager.xml
@@ -9,12 +9,6 @@
     </pickle>
     <pickle>
       <dictionary>
-        <item>
-            <key> <string>__ac_local_roles__</string> </key>
-            <value>
-              <none/>
-            </value>
-        </item>
         <item>
             <key> <string>_bind_names</string> </key>
             <value>
@@ -69,9 +63,9 @@
 \t<td> - 0 item(s) selected</td>\n
 </tr>\n
 <tr>\n
-\t<td>verifySelected</td>\n
+\t<td>verifyElementNotPresent</td>\n
 \t<td>id=listbox_page_selection</td>\n
-\t<td>1 of 1</td>\n
+\t<td></td>\n
 </tr>\n
 <tr>\n
 \t<td>verifyElementNotPresent</td>\n
diff --git a/bt5/erp5_ui_test/PathTemplateItem/portal_tests/listbox_zuite/testFilter.xml b/bt5/erp5_ui_test/PathTemplateItem/portal_tests/listbox_zuite/testFilter.xml
index 82018fc023..3bda25a0b4 100644
--- a/bt5/erp5_ui_test/PathTemplateItem/portal_tests/listbox_zuite/testFilter.xml
+++ b/bt5/erp5_ui_test/PathTemplateItem/portal_tests/listbox_zuite/testFilter.xml
@@ -189,9 +189,9 @@
 \t<td></td>\n
 </tr>\n
 <tr>\n
-\t<td>verifySelected</td>\n
+\t<td>verifyElementNotPresent</td>\n
 \t<td>id=listbox_page_selection</td>\n
-\t<td>1 of 1</td>\n
+\t<td></td>\n
 </tr>\n
 <tr>\n
 \t<td>verifyElementNotPresent</td>\n
diff --git a/bt5/erp5_ui_test/PathTemplateItem/portal_tests/listbox_zuite/testNotExistingSelection.xml b/bt5/erp5_ui_test/PathTemplateItem/portal_tests/listbox_zuite/testNotExistingSelection.xml
index 697062071f..294b2d1da9 100644
--- a/bt5/erp5_ui_test/PathTemplateItem/portal_tests/listbox_zuite/testNotExistingSelection.xml
+++ b/bt5/erp5_ui_test/PathTemplateItem/portal_tests/listbox_zuite/testNotExistingSelection.xml
@@ -90,9 +90,9 @@ For now, selection too does not allow such deletion, so, this test is only valid
 \t<td> - 0 item(s) selected</td>\n
 </tr>\n
 <tr>\n
-\t<td>verifySelected</td>\n
+\t<td>verifyElementNotPresent</td>\n
 \t<td>id=listbox_page_selection</td>\n
-\t<td>1 of 1</td>\n
+\t<td></td>\n
 </tr>\n
 <tr>\n
 \t<td>clickAndWait</td>\n
diff --git a/bt5/erp5_ui_test/PathTemplateItem/portal_tests/listbox_zuite/testPager.xml b/bt5/erp5_ui_test/PathTemplateItem/portal_tests/listbox_zuite/testPager.xml
index f34a9ba4ea..3fda8cd670 100644
--- a/bt5/erp5_ui_test/PathTemplateItem/portal_tests/listbox_zuite/testPager.xml
+++ b/bt5/erp5_ui_test/PathTemplateItem/portal_tests/listbox_zuite/testPager.xml
@@ -87,9 +87,9 @@
 \t<td> - 0 item(s) selected</td>\n
 </tr>\n
 <tr>\n
-\t<td>verifySelected</td>\n
+\t<td>verifyElementNotPresent</td>\n
 \t<td>id=listbox_page_selection</td>\n
-\t<td>1 of 1</td>\n
+\t<td></td>\n
 </tr>\n
 <tr>\n
 \t<td>verifyElementNotPresent</td>\n
diff --git a/bt5/erp5_ui_test/PathTemplateItem/portal_tests/listbox_zuite/testTitleLine.xml b/bt5/erp5_ui_test/PathTemplateItem/portal_tests/listbox_zuite/testTitleLine.xml
index 82f84bbb05..c9aa4fff14 100644
--- a/bt5/erp5_ui_test/PathTemplateItem/portal_tests/listbox_zuite/testTitleLine.xml
+++ b/bt5/erp5_ui_test/PathTemplateItem/portal_tests/listbox_zuite/testTitleLine.xml
@@ -67,9 +67,9 @@
 \t<td> - 0 item(s) selected</td>\n
 </tr>\n
 <tr>\n
-\t<td>verifySelected</td>\n
+\t<td>verifyElementNotPresent</td>\n
 \t<td>id=listbox_page_selection</td>\n
-\t<td>1 of 1</td>\n
+\t<td></td>\n
 </tr>\n
 <tr>\n
 \t<td>verifyElementNotPresent</td>\n
diff --git a/bt5/erp5_ui_test/bt/revision b/bt5/erp5_ui_test/bt/revision
index c0db21d808..cbafdca534 100644
--- a/bt5/erp5_ui_test/bt/revision
+++ b/bt5/erp5_ui_test/bt/revision
@@ -1 +1 @@
-392
\ No newline at end of file
+393
\ No newline at end of file
-- 
2.30.9