From ff221a13e9f7628a51002cf38fa4b23aec6fe85f Mon Sep 17 00:00:00 2001
From: Gabriel Monnerat <gabriel@tiolive.com>
Date: Sat, 9 Apr 2011 19:55:14 +0000
Subject: [PATCH] add test to r45276

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@45277 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../portal_tests/ung_zuite/testUNGDocs.xml    | 30 +++++++++++++++++++
 bt5/erp5_web_ung_ui_test/bt/revision          |  2 +-
 2 files changed, 31 insertions(+), 1 deletion(-)

diff --git a/bt5/erp5_web_ung_ui_test/PathTemplateItem/portal_tests/ung_zuite/testUNGDocs.xml b/bt5/erp5_web_ung_ui_test/PathTemplateItem/portal_tests/ung_zuite/testUNGDocs.xml
index 1d6556fb9d..00eaad2bd9 100644
--- a/bt5/erp5_web_ung_ui_test/PathTemplateItem/portal_tests/ung_zuite/testUNGDocs.xml
+++ b/bt5/erp5_web_ung_ui_test/PathTemplateItem/portal_tests/ung_zuite/testUNGDocs.xml
@@ -352,6 +352,36 @@
         <td>Help</td>\n
         <td></td>\n
       </tr>\n
+      <tr>\n
+        <td>click</td>\n
+        <td>//input[@id="upload"]</td>\n
+        <td></td>\n
+      </tr>\n
+      <tr>\n
+        <td>select</td>\n
+        <td>//select[@name="portal_type"]</td>\n
+        <td>Web Table</td>\n
+      </tr>\n
+      <tr>\n
+        <td>click</td>\n
+        <td>//input[@id="submit_document"]</td>\n
+        <td></td>\n
+      </tr>\n
+      <tr>\n
+        <td>click</td>\n
+        <td>//input[@id="submit_document"]</td>\n
+        <td></td>\n
+      </tr>\n
+      <tr>\n
+        <td>verifyText</td>\n
+        <td>//span[@id=\'no-input-file\']</td>\n
+        <td>Please input a file</td>\n
+      </tr>\n
+      <tr>\n
+        <td>verifyTextPresent</td>\n
+        <td>Loading...</td>\n
+        <td></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 d2e1cefe89..7d37386284 100644
--- a/bt5/erp5_web_ung_ui_test/bt/revision
+++ b/bt5/erp5_web_ung_ui_test/bt/revision
@@ -1 +1 @@
-44
\ No newline at end of file
+45
\ No newline at end of file
-- 
2.30.9