From fccb8164bdc68b4fae8787e586162a2403f3d271 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?C=C3=A9dric=20Le=20Ninivin?= <cedric.leninivin@tiolive.com>
Date: Fri, 9 Oct 2015 17:37:06 +0000
Subject: [PATCH] erp5_officejs_ui_test: Updated Test to support 3 Storage case

---
 .../testOfficeJSERP5Synchronization.xml       | 64 ++++++++++++++-----
 1 file changed, 49 insertions(+), 15 deletions(-)

diff --git a/bt5/erp5_officejs_ui_test/PathTemplateItem/portal_tests/officejs_ui_zuite/testOfficeJSERP5Synchronization.xml b/bt5/erp5_officejs_ui_test/PathTemplateItem/portal_tests/officejs_ui_zuite/testOfficeJSERP5Synchronization.xml
index 0eaa119d98..affed9ee81 100644
--- a/bt5/erp5_officejs_ui_test/PathTemplateItem/portal_tests/officejs_ui_zuite/testOfficeJSERP5Synchronization.xml
+++ b/bt5/erp5_officejs_ui_test/PathTemplateItem/portal_tests/officejs_ui_zuite/testOfficeJSERP5Synchronization.xml
@@ -65,6 +65,55 @@
   <td>${base_url}/web_site_module/officejs_text_editor/</td>\n
   <td></td>\n
 </tr>\n
+<tr>\n
+  <td>waitForElementPresent</td>\n
+  <td>//button[@data-i18n=\'Menu\']</td>\n
+  <td></td>\n
+</tr>\n
+<tr>\n
+  <td>pause</td>\n
+  <td>500</td>\n
+  <td></td>\n
+</tr>\n
+<tr>\n
+  <td>click</td>\n
+  <td>//button[@data-i18n=\'Menu\']</td>\n
+  <td></td>\n
+</tr>\n
+<tr>\n
+  <td>waitForElementPresent</td>\n
+  <td>//a[@data-i18n=\'Storage Configuration\']</td>\n
+  <td></td>\n
+</tr>\n
+<tr>\n
+  <td>click</td>\n
+  <td>//a[@data-i18n=\'Storage Configuration\']</td>\n
+  <td></td>\n
+</tr>\n
+<tr>\n
+  <td>waitForElementPresent</td>\n
+  <td>//form[@class=\'select-erp5-form\']/button[@data-i18n=\'ERP5\']</td>\n
+  <td></td>\n
+</tr>\n
+<tr>\n
+  <td>pause</td>\n
+  <td>1000</td>\n
+  <td></td>\n
+</tr>\n
+<tr>\n
+  <td>clickAndWait</td>\n
+  <td>//form[@class=\'select-erp5-form\']/button[@data-i18n=\'ERP5\']</td>\n
+  <td></td>\n
+<tr>\n
+  <td>waitForElementPresent</td>\n
+  <td>//form[@class=\'select-erp5-form\']/button[@data-i18n=\'ERP5\']</td>\n
+  <td></td>\n
+</tr>\n
+<tr>\n
+  <td>click</td>\n
+  <td>//a[@data-i18n=\'Go to document List\']</td>\n
+  <td></td>\n
+</tr>\n
 <tr>\n
   <td>waitForElementPresent</td>\n
   <td>//a[@data-i18n=\'Add\']</td>\n
@@ -230,21 +279,6 @@
   <td>//a[@data-i18n=\'Storage Configuration\']</td>\n
   <td></td>\n
 </tr>\n
-<tr>\n
-  <td>waitForElementPresent</td>\n
-  <td>//form[@class=\'select-erp5-form\']/button[@data-i18n=\'ERP5\']</td>\n
-  <td></td>\n
-</tr>\n
-<tr>\n
-  <td>pause</td>\n
-  <td>1000</td>\n
-  <td></td>\n
-</tr>\n
-<tr>\n
-  <td>clickAndWait</td>\n
-  <td>//form[@class=\'select-erp5-form\']/button[@data-i18n=\'ERP5\']</td>\n
-  <td></td>\n
-</tr>\n
 <tr>\n
   <td>waitForElementPresent</td>\n
   <td>//a[@data-i18n=\'Synchronize\']</td>\n
-- 
2.30.9