From 07e8c0dd23b68c8e124b6644f50e0cf772376046 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com>
Date: Fri, 19 Mar 2010 15:00:07 +0000
Subject: [PATCH] save at the end of test, to prevent the onbeforeunload
 confirm that is blocking the test

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@33916 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../testSimpleRelationFieldWithAccent.xml         | 15 +++++++++++++++
 .../testSimpleRelationFieldWithAccent.xml         | 15 +++++++++++++++
 bt5/erp5_ui_test/bt/revision                      |  2 +-
 3 files changed, 31 insertions(+), 1 deletion(-)

diff --git a/bt5/erp5_ui_test/PathTemplateItem/portal_tests/proxy_field_zuite/testSimpleRelationFieldWithAccent.xml b/bt5/erp5_ui_test/PathTemplateItem/portal_tests/proxy_field_zuite/testSimpleRelationFieldWithAccent.xml
index 87f6cd7b06..a21a3c46ea 100644
--- a/bt5/erp5_ui_test/PathTemplateItem/portal_tests/proxy_field_zuite/testSimpleRelationFieldWithAccent.xml
+++ b/bt5/erp5_ui_test/PathTemplateItem/portal_tests/proxy_field_zuite/testSimpleRelationFieldWithAccent.xml
@@ -201,6 +201,21 @@ metal:use-macro="here/RelationFieldZuite_CommonTemplate/macros/init"\n
   <td>field_my_bar_category_title_list</td>\n
   <td>azértï</td>\n
 </tr>\n
+<tr>\n
+  <td>type</td>\n
+  <td>field_my_bar_category_title_list</td>\n
+  <td></td>\n
+</tr>\n
+<tr>\n
+  <td>clickAndWait</td>\n
+  <td>//button[@title=\'Save\']</td>\n
+  <td></td>\n
+</tr>\n
+<tr>\n
+  <td>verifyPortalStatusMessage</td>\n
+  <td>Data updated.</td>\n
+  <td></td>\n
+</tr>\n
 \n
 </tbody></table>\n
 </body>\n
diff --git a/bt5/erp5_ui_test/PathTemplateItem/portal_tests/relation_field_zuite/testSimpleRelationFieldWithAccent.xml b/bt5/erp5_ui_test/PathTemplateItem/portal_tests/relation_field_zuite/testSimpleRelationFieldWithAccent.xml
index f25870fb34..4bd86a0c47 100644
--- a/bt5/erp5_ui_test/PathTemplateItem/portal_tests/relation_field_zuite/testSimpleRelationFieldWithAccent.xml
+++ b/bt5/erp5_ui_test/PathTemplateItem/portal_tests/relation_field_zuite/testSimpleRelationFieldWithAccent.xml
@@ -203,6 +203,21 @@ metal:use-macro="here/RelationFieldZuite_CommonTemplate/macros/init"\n
   <td>field_my_bar_category_title_list</td>\n
   <td>azértï</td>\n
 </tr>\n
+<tr>\n
+  <td>type</td>\n
+  <td>field_my_bar_category_title_list</td>\n
+  <td></td>\n
+</tr>\n
+<tr>\n
+  <td>clickAndWait</td>\n
+  <td>//button[@title=\'Save\']</td>\n
+  <td></td>\n
+</tr>\n
+<tr>\n
+  <td>verifyPortalStatusMessage</td>\n
+  <td>Data updated.</td>\n
+  <td></td>\n
+</tr>\n
 \n
 </tbody></table>\n
 </body>\n
diff --git a/bt5/erp5_ui_test/bt/revision b/bt5/erp5_ui_test/bt/revision
index ea5ca3642f..dd35c6b71f 100644
--- a/bt5/erp5_ui_test/bt/revision
+++ b/bt5/erp5_ui_test/bt/revision
@@ -1 +1 @@
-547
\ No newline at end of file
+548
\ No newline at end of file
-- 
2.30.9