From babfc91f105be42a8bfaa75a61b34695a741db00 Mon Sep 17 00:00:00 2001
From: Gabriel Monnerat <gabriel@tiolive.com>
Date: Wed, 16 Mar 2011 16:11:14 +0000
Subject: [PATCH] continuation of r44360. Add asserts

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@44364 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../ung_zuite/testUNGDocsWithERP5User.xml     | 24 +++++++++++++++++--
 bt5/erp5_web_ung_ui_test/bt/revision          |  2 +-
 2 files changed, 23 insertions(+), 3 deletions(-)

diff --git a/bt5/erp5_web_ung_ui_test/PathTemplateItem/portal_tests/ung_zuite/testUNGDocsWithERP5User.xml b/bt5/erp5_web_ung_ui_test/PathTemplateItem/portal_tests/ung_zuite/testUNGDocsWithERP5User.xml
index ddade58a1f..7d6a923c57 100644
--- a/bt5/erp5_web_ung_ui_test/PathTemplateItem/portal_tests/ung_zuite/testUNGDocsWithERP5User.xml
+++ b/bt5/erp5_web_ung_ui_test/PathTemplateItem/portal_tests/ung_zuite/testUNGDocsWithERP5User.xml
@@ -236,7 +236,7 @@
         <td>//td[@class="listbox-table-select-cell"]/input</td>\n
         <td></td>\n
       </tr>\n
-      <--<tr>\n
+      <tr>\n
         <td>clickAndWait</td>\n
         <td>//button[@class="delete"]</td>\n
         <td></td>\n
@@ -251,7 +251,27 @@
         <td>clickAndWait</td>\n
         <td>//table[@class="your_listbox-table-domain-tree"]/tbody/tr[11]/td/a</td>\n
         <td></td>\n
-      </tr>-->\n
+      </tr>\n
+      <tr>\n
+        <td>verifyTextNotPresent</td>\n
+        <td>No result.</td>\n
+        <td></td>\n
+      </tr>\n
+      <tr>\n
+        <td>click</td>\n
+        <td>//td[@class="listbox-table-select-cell"]/input</td>\n
+        <td></td>\n
+      </tr>\n
+      <tr>\n
+        <td>clickAndWait</td>\n
+        <td>//button[@class="delete"]</td>\n
+        <td></td>\n
+      </tr>\n
+      <tr>\n
+        <td>verifyText</td>\n
+        <td>//td[@class="listbox-table-no-result-row"]/span</td>\n
+        <td>No result.</td>\n
+      </tr>\n
     </tbody>\n
   </table>\n
 </body>\n
diff --git a/bt5/erp5_web_ung_ui_test/bt/revision b/bt5/erp5_web_ung_ui_test/bt/revision
index da2d3988d7..3f10ffe7a4 100644
--- a/bt5/erp5_web_ung_ui_test/bt/revision
+++ b/bt5/erp5_web_ung_ui_test/bt/revision
@@ -1 +1 @@
-14
\ No newline at end of file
+15
\ No newline at end of file
-- 
2.30.9