From b09520934780247fd5173fddc7a14b7d49d3728f Mon Sep 17 00:00:00 2001
From: Gabriel Monnerat <gabriel@tiolive.com>
Date: Mon, 21 Mar 2011 16:09:08 +0000
Subject: [PATCH] refactor test to use erp5 user instead of instance user

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

diff --git a/bt5/erp5_web_ung_ui_test/PathTemplateItem/portal_tests/ung_zuite/testGadgetInUNGDocs.xml b/bt5/erp5_web_ung_ui_test/PathTemplateItem/portal_tests/ung_zuite/testGadgetInUNGDocs.xml
index 5a1c8261b1..cb3a0ce4c3 100644
--- a/bt5/erp5_web_ung_ui_test/PathTemplateItem/portal_tests/ung_zuite/testGadgetInUNGDocs.xml
+++ b/bt5/erp5_web_ung_ui_test/PathTemplateItem/portal_tests/ung_zuite/testGadgetInUNGDocs.xml
@@ -48,7 +48,22 @@
       <tr><td rowspan="1" colspan="3" tal:content="template/getId"/></tr>\n
     </thead><tbody>\n
       <tal:block metal:use-macro="here/Zuite_CommonTemplateForUNG/macros/init" />\n
-      <tal:block metal:use-macro="here/Zuite_CommonTemplateForUNG/macros/login" />\n
+      <tal:block metal:use-macro="here/Zuite_CommonTemplateForUNG/macros/create-user" />\n
+      <tr>\n
+        <td>type</td>\n
+        <td>__ac_name</td>\n
+        <td>ung_user</td>\n
+      </tr>\n
+      <tr>\n
+        <td>type</td>\n
+        <td>__ac_password</td>\n
+        <td>1234</td>\n
+      </tr>\n
+      <tr>\n
+        <td>clickAndWait</td>\n
+        <td>//input[@type="submit"]</td>\n
+        <td></td>\n
+      </tr>\n
       <tr>\n
         <td>verifyTextPresent</td>\n
         <td>Please wait until your tab is being prepared.</td>\n
diff --git a/bt5/erp5_web_ung_ui_test/bt/revision b/bt5/erp5_web_ung_ui_test/bt/revision
index 1758dddcce..dc7b54ad01 100644
--- a/bt5/erp5_web_ung_ui_test/bt/revision
+++ b/bt5/erp5_web_ung_ui_test/bt/revision
@@ -1 +1 @@
-32
\ No newline at end of file
+33
\ No newline at end of file
-- 
2.30.9