From 127b8e25004bd991b311943a4a1e063f8543027f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com>
Date: Wed, 30 Jan 2013 10:32:32 +0100
Subject: [PATCH] Reset language to english before each test

---
 .../portal_skins/erp5_ui_test_core/Zuite_CommonTemplate.xml  | 5 +++++
 bt5/erp5_ui_test_core/bt/revision                            | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/bt5/erp5_ui_test_core/SkinTemplateItem/portal_skins/erp5_ui_test_core/Zuite_CommonTemplate.xml b/bt5/erp5_ui_test_core/SkinTemplateItem/portal_skins/erp5_ui_test_core/Zuite_CommonTemplate.xml
index f8f36d927e..933b179e0a 100644
--- a/bt5/erp5_ui_test_core/SkinTemplateItem/portal_skins/erp5_ui_test_core/Zuite_CommonTemplate.xml
+++ b/bt5/erp5_ui_test_core/SkinTemplateItem/portal_skins/erp5_ui_test_core/Zuite_CommonTemplate.xml
@@ -61,6 +61,11 @@
       <td tal:content="python:here.getPortalObject().absolute_url()">http://example.com/erp5</td>\n
       <td>base_url</td>\n
     </tr>\n
+    <tr> <!-- reset language to en, in case previous test failed and left the language changed -->\n
+      <td>open</td>\n
+      <td>${base_url}/Base_doLanguage?select_language=en</td>\n
+      <td></td>\n
+    </tr>\n
   </tal:block>\n
 \n
 <tal:block metal:define-macro="wait_for_activities">\n
diff --git a/bt5/erp5_ui_test_core/bt/revision b/bt5/erp5_ui_test_core/bt/revision
index 4800c7da68..fc9afb48e0 100644
--- a/bt5/erp5_ui_test_core/bt/revision
+++ b/bt5/erp5_ui_test_core/bt/revision
@@ -1 +1 @@
-58
\ No newline at end of file
+59
\ No newline at end of file
-- 
2.30.9