From 81e9c3522d59707e02814c644083d2dff6e139f0 Mon Sep 17 00:00:00 2001
From: Vincent Pelletier <vincent@nexedi.com>
Date: Mon, 25 Sep 2006 08:04:55 +0000
Subject: [PATCH] Update page template title. Update HTML title. Update table
 title. Add a test for dialog_id : it should not apear in the page shown after
 the dialog was validated.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@10278 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../page_templates_zuite/testDialogMain.xml           | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

diff --git a/bt5/erp5_ui_test/PathTemplateItem/portal_tests/page_templates_zuite/testDialogMain.xml b/bt5/erp5_ui_test/PathTemplateItem/portal_tests/page_templates_zuite/testDialogMain.xml
index fc9ba55646..fa71a1de54 100644
--- a/bt5/erp5_ui_test/PathTemplateItem/portal_tests/page_templates_zuite/testDialogMain.xml
+++ b/bt5/erp5_ui_test/PathTemplateItem/portal_tests/page_templates_zuite/testDialogMain.xml
@@ -58,12 +58,12 @@
       xmlns:metal="http://xml.zope.org/namespaces/metal">\n
 <head>\n
 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">\n
-<title>Test Exchange Actions</title>\n
+<title>Test Dialog Main</title>\n
 </head>\n
 <body>\n
 <table cellpadding="1" cellspacing="1" border="1">\n
 <thead>\n
-<tr><td rowspan="1" colspan="3">Test dialog_main</td></tr>\n
+<tr><td rowspan="1" colspan="3">Test that dialog main doesn\'t fail when some varables are absent from request</td></tr>\n
 </thead><tbody>\n
 <tal:block metal:use-macro="here/PTZuite_CommonTemplate/macros/init" />\n
 <tr>\n
@@ -92,6 +92,11 @@
   <td>Welcome to ERP5</td>\n
   <td></td>\n
 </tr>\n
+<tr>\n
+  <td>assertElementNotPresent</td>\n
+  <td>//input[@name=\'dialog_id\']</td>\n
+  <td></td>\n
+</tr>\n
 </body>\n
 </html>\n
 
@@ -112,7 +117,7 @@
         </item>
         <item>
             <key> <string>title</string> </key>
-            <value> <string>Test that dialog main doesn\'t fail when some varables are absent from request</string> </value>
+            <value> <string></string> </value>
         </item>
       </dictionary>
     </pickle>
-- 
2.30.9