From 8071d204724be43c2260e373715f04a7be3c6042 Mon Sep 17 00:00:00 2001
From: Tristan Cavelier <tristan.cavelier@nexedi.com>
Date: Fri, 15 Dec 2017 16:42:57 +0000
Subject: [PATCH] testFunctionalSupportRequest fix some xpath

---
 .../officejs_support_request_ui_zuite/testHomePageRSS.zpt   | 6 +++---
 .../testHomepageSearch.zpt                                  | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/bt5/erp5_officejs_support_request_ui_test/PathTemplateItem/portal_tests/officejs_support_request_ui_zuite/testHomePageRSS.zpt b/bt5/erp5_officejs_support_request_ui_test/PathTemplateItem/portal_tests/officejs_support_request_ui_zuite/testHomePageRSS.zpt
index 7914af5bd1..013f53d9e5 100644
--- a/bt5/erp5_officejs_support_request_ui_test/PathTemplateItem/portal_tests/officejs_support_request_ui_zuite/testHomePageRSS.zpt
+++ b/bt5/erp5_officejs_support_request_ui_test/PathTemplateItem/portal_tests/officejs_support_request_ui_zuite/testHomePageRSS.zpt
@@ -21,7 +21,7 @@
 </tr>
 <tr>
   <td>waitForElementPresent</td>
-  <td>//input[@id="generateRSS"]</td>
+  <td>//input[@data-i18n="[value]Generate RSS"]</td>
   <td></td>
 </tr>
 <tr>
@@ -30,8 +30,8 @@
   <td></td>
 </tr>
 <tr>
-  <td>waitForTextPresent</td>
-  <td>RSS Link</td>
+  <td>waitForElementPresent</td>
+  <td>//input[@value="RSS Link"]</td>
   <td></td>
 </tr>
 <!--
diff --git a/bt5/erp5_officejs_support_request_ui_test/PathTemplateItem/portal_tests/officejs_support_request_ui_zuite/testHomepageSearch.zpt b/bt5/erp5_officejs_support_request_ui_test/PathTemplateItem/portal_tests/officejs_support_request_ui_zuite/testHomepageSearch.zpt
index dc7b817e7d..6de917bd87 100644
--- a/bt5/erp5_officejs_support_request_ui_test/PathTemplateItem/portal_tests/officejs_support_request_ui_zuite/testHomepageSearch.zpt
+++ b/bt5/erp5_officejs_support_request_ui_test/PathTemplateItem/portal_tests/officejs_support_request_ui_zuite/testHomepageSearch.zpt
@@ -46,7 +46,7 @@
 </tr>
 <tr>
   <td>waitForElementPresent</td>
-  <td>//div[@role='main']//input[@value='portal_type:  "Support Request"']</td>
+  <td>//div[@role='main']//input[@value='portal_type:&nbsp;&nbsp;"Support Request"']</td>
   <td></td>
 </tr>
 </tbody></table>
-- 
2.30.9