From b95816ccb3937ceb6795ea98728fbdf19b41df75 Mon Sep 17 00:00:00 2001
From: Romain Courteaud <romain@nexedi.com>
Date: Thu, 6 Oct 2016 08:04:46 +0000
Subject: [PATCH] [erp5_web_renderjs_ui_test] Label DOM has been updated

---
 .../testFormDialogField.zpt                                 | 2 +-
 .../testFormViewEditableField.zpt                           | 6 +++---
 .../renderjs_ui_page_templates_zuite/testFormViewField.zpt  | 6 +++---
 3 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_page_templates_zuite/testFormDialogField.zpt b/bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_page_templates_zuite/testFormDialogField.zpt
index 11aafa86d2..e20d8b7357 100644
--- a/bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_page_templates_zuite/testFormDialogField.zpt
+++ b/bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_page_templates_zuite/testFormDialogField.zpt
@@ -56,7 +56,7 @@
 </tr>
 <tr>
   <td>assertElementPresent</td>
-  <td>//div[@data-gadget-scope='field_your_portal_type' and @data-gadget-url='${base_url}/web_site_module/renderjs_runner/gadget_erp5_field_list.html']</td>
+  <td>//div[@data-gadget-scope='field_your_portal_type']//div[@data-gadget-scope='field' and @data-gadget-url='${base_url}/web_site_module/renderjs_runner/gadget_erp5_field_list.html']</td>
   <td></td>
 </tr>
 <tr>
diff --git a/bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_page_templates_zuite/testFormViewEditableField.zpt b/bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_page_templates_zuite/testFormViewEditableField.zpt
index e47ef0f305..93078261d3 100644
--- a/bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_page_templates_zuite/testFormViewEditableField.zpt
+++ b/bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_page_templates_zuite/testFormViewEditableField.zpt
@@ -37,7 +37,7 @@
 </tr>
 <tr>
   <td>assertElementPresent</td>
-  <td>//div[@data-gadget-scope='field_my_quantity' and @data-gadget-url='${base_url}/web_site_module/renderjs_runner/gadget_erp5_field_float.html']</td>
+  <td>//div[@data-gadget-scope='field_my_quantity']//div[@data-gadget-scope='field' and @data-gadget-url='${base_url}/web_site_module/renderjs_runner/gadget_erp5_field_float.html']</td>
   <td></td>
 </tr>
 <tr>
@@ -58,7 +58,7 @@
 </tr>
 <tr>
   <td>assertElementPresent</td>
-  <td>//div[@data-gadget-scope='field_my_id' and @data-gadget-url='${base_url}/web_site_module/renderjs_runner/gadget_erp5_field_string.html']</td>
+  <td>//div[@data-gadget-scope='field_my_id']//div[@data-gadget-scope='field' and @data-gadget-url='${base_url}/web_site_module/renderjs_runner/gadget_erp5_field_string.html']</td>
   <td></td>
 </tr>
 <tr>
@@ -80,7 +80,7 @@
 </tr>
 <tr>
   <td>assertElementPresent</td>
-  <td>//div[@data-gadget-scope='field_listbox' and @data-gadget-url='${base_url}/web_site_module/renderjs_runner/gadget_erp5_field_listbox.html']</td>
+  <td>//div[@data-gadget-scope='field_listbox']//div[@data-gadget-scope='field' and @data-gadget-url='${base_url}/web_site_module/renderjs_runner/gadget_erp5_field_listbox.html']</td>
   <td></td>
 </tr>
 
diff --git a/bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_page_templates_zuite/testFormViewField.zpt b/bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_page_templates_zuite/testFormViewField.zpt
index f7ec2be015..3c895f135c 100644
--- a/bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_page_templates_zuite/testFormViewField.zpt
+++ b/bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_page_templates_zuite/testFormViewField.zpt
@@ -49,7 +49,7 @@
 </tr>
 <tr>
   <td>assertElementPresent</td>
-  <td>//div[@data-gadget-scope='field_my_id' and @data-gadget-url='${base_url}/web_site_module/renderjs_runner/gadget_erp5_field_string.html']</td>
+  <td>//div[@data-gadget-scope='field_my_id']//div[@data-gadget-scope='field' and @data-gadget-url='${base_url}/web_site_module/renderjs_runner/gadget_erp5_field_string.html']</td>
   <td></td>
 </tr>
 <tr>
@@ -60,7 +60,7 @@
 
 <tr>
   <td>verifyText</td>
-  <td>//div[@data-gadget-scope='field_my_id']</td>
+  <td>//div[@data-gadget-scope='field_my_id']//div[@data-gadget-scope='field']</td>
   <td>1</td>
 </tr>
 
@@ -73,7 +73,7 @@
 </tr>
 <tr>
   <td>assertElementPresent</td>
-  <td>//div[@data-gadget-scope='field_listbox' and @data-gadget-url='${base_url}/web_site_module/renderjs_runner/gadget_erp5_field_listbox.html']</td>
+  <td>//div[@data-gadget-scope='field_listbox']//div[@data-gadget-scope='field' and @data-gadget-url='${base_url}/web_site_module/renderjs_runner/gadget_erp5_field_listbox.html']</td>
   <td></td>
 </tr>
 
-- 
2.30.9