From e814fb5f5867e30a6ed406801567ea771b42bd77 Mon Sep 17 00:00:00 2001
From: Romain Courteaud <romain@nexedi.com>
Date: Tue, 20 Mar 2018 08:46:06 +0000
Subject: [PATCH] [erp5_ui_test] Multirelation field HTML has been updated

See https://lab.nexedi.com/nexedi/erp5/commit/78356c43fc9832f581e00bd16be01f4f2a8d80b6
---
 .../testMultiRelationFieldProxyListBox.zpt                | 4 ++--
 .../testMultiRelationFieldSearchDialogChangePage.zpt      | 2 +-
 .../relation_field_zuite/testRelationFieldColumns.zpt     | 2 +-
 .../relation_field_zuite/testRelationFieldColumnsSort.zpt | 2 +-
 .../testRelationFieldKeepSelection.zpt                    | 6 +++---
 .../testRelationFieldWheelWithListbox.zpt                 | 4 ++--
 .../testSimpleRelationFieldCancelButton.zpt               | 8 ++++----
 .../testSimpleRelationFieldPageChange.zpt                 | 4 ++--
 .../testSimpleRelationFieldSearchDialog.zpt               | 2 +-
 .../testSimpleRelationFieldSearchDialogChangePage.zpt     | 2 +-
 .../testSimpleRelationFieldSearchDialogLongUrl.zpt        | 2 +-
 .../testSimpleRelationFieldWheelButton.zpt                | 6 +++---
 .../testSimpleRelationFieldWheelButtonQuotedFields.zpt    | 4 ++--
 .../testSimpleRequiredRelationField.zpt                   | 2 +-
 14 files changed, 25 insertions(+), 25 deletions(-)

diff --git a/bt5/erp5_ui_test/PathTemplateItem/portal_tests/relation_field_zuite/testMultiRelationFieldProxyListBox.zpt b/bt5/erp5_ui_test/PathTemplateItem/portal_tests/relation_field_zuite/testMultiRelationFieldProxyListBox.zpt
index 90d4e269f8..4211b89956 100644
--- a/bt5/erp5_ui_test/PathTemplateItem/portal_tests/relation_field_zuite/testMultiRelationFieldProxyListBox.zpt
+++ b/bt5/erp5_ui_test/PathTemplateItem/portal_tests/relation_field_zuite/testMultiRelationFieldProxyListBox.zpt
@@ -67,7 +67,7 @@
 </tr>
 <tr>
   <td>clickAndWait</td>
-  <td>//input[preceding-sibling::textarea[@name="field_my_bar_category_id_list"]][@value='update...']</td>
+  <td>//input[preceding-sibling::textarea[@name="field_my_bar_category_id_list"]][@alt='update...']</td>
   <td></td>
 </tr>
 
@@ -280,4 +280,4 @@
 </tal:block>
 </tbody></table>
 </body>
-</html>
+</html>
\ No newline at end of file
diff --git a/bt5/erp5_ui_test/PathTemplateItem/portal_tests/relation_field_zuite/testMultiRelationFieldSearchDialogChangePage.zpt b/bt5/erp5_ui_test/PathTemplateItem/portal_tests/relation_field_zuite/testMultiRelationFieldSearchDialogChangePage.zpt
index ea56683410..c51653430a 100644
--- a/bt5/erp5_ui_test/PathTemplateItem/portal_tests/relation_field_zuite/testMultiRelationFieldSearchDialogChangePage.zpt
+++ b/bt5/erp5_ui_test/PathTemplateItem/portal_tests/relation_field_zuite/testMultiRelationFieldSearchDialogChangePage.zpt
@@ -57,7 +57,7 @@
 </tr>
 <tr>
   <td>clickAndWait</td>
-  <td>//input[preceding-sibling::textarea[@name="field_my_bar_category_title_list"]][@value='update...']</td>
+  <td>//input[preceding-sibling::textarea[@name="field_my_bar_category_title_list"]][@alt='update...']</td>
   <td></td>
 </tr>
 
diff --git a/bt5/erp5_ui_test/PathTemplateItem/portal_tests/relation_field_zuite/testRelationFieldColumns.zpt b/bt5/erp5_ui_test/PathTemplateItem/portal_tests/relation_field_zuite/testRelationFieldColumns.zpt
index c79ba277b8..623434798c 100644
--- a/bt5/erp5_ui_test/PathTemplateItem/portal_tests/relation_field_zuite/testRelationFieldColumns.zpt
+++ b/bt5/erp5_ui_test/PathTemplateItem/portal_tests/relation_field_zuite/testRelationFieldColumns.zpt
@@ -47,7 +47,7 @@
 </tr>
 <tr>
   <td>clickAndWait</td>
-  <td>//input[preceding-sibling::input[@name="field_my_foo_category_title"]][@value='update...']</td>
+  <td>//input[preceding-sibling::input[@name="field_my_foo_category_title"]][@alt='update...']</td>
   <td></td>
 </tr>
 
diff --git a/bt5/erp5_ui_test/PathTemplateItem/portal_tests/relation_field_zuite/testRelationFieldColumnsSort.zpt b/bt5/erp5_ui_test/PathTemplateItem/portal_tests/relation_field_zuite/testRelationFieldColumnsSort.zpt
index 6fc8507dd8..14e85435c1 100644
--- a/bt5/erp5_ui_test/PathTemplateItem/portal_tests/relation_field_zuite/testRelationFieldColumnsSort.zpt
+++ b/bt5/erp5_ui_test/PathTemplateItem/portal_tests/relation_field_zuite/testRelationFieldColumnsSort.zpt
@@ -50,7 +50,7 @@
 </tr>
 <tr>
   <td>clickAndWait</td>
-  <td>//input[preceding-sibling::input[@name="field_my_foo_category_title"]][@value='update...']</td>
+  <td>//input[preceding-sibling::input[@name="field_my_foo_category_title"]][@alt='update...']</td>
   <td></td>
 </tr>
 
diff --git a/bt5/erp5_ui_test/PathTemplateItem/portal_tests/relation_field_zuite/testRelationFieldKeepSelection.zpt b/bt5/erp5_ui_test/PathTemplateItem/portal_tests/relation_field_zuite/testRelationFieldKeepSelection.zpt
index f67fe8a800..a177aae521 100644
--- a/bt5/erp5_ui_test/PathTemplateItem/portal_tests/relation_field_zuite/testRelationFieldKeepSelection.zpt
+++ b/bt5/erp5_ui_test/PathTemplateItem/portal_tests/relation_field_zuite/testRelationFieldKeepSelection.zpt
@@ -51,7 +51,7 @@
 <tr>
   <td>clickAndWait</td>
   <!-- XXX maybe a better locator for relation field -->
-  <td>//input[@value='update...' and @type='image']</td>
+  <td>//input[@alt='update...' and @type='image']</td>
   <td></td>
 </tr>
 
@@ -87,7 +87,7 @@
 <tr>
   <td>clickAndWait</td>
   <!-- XXX maybe a better locator for relation field -->
-  <td>//input[@value='update...' and @type='image']</td>
+  <td>//input[@alt='update...' and @type='image']</td>
   <td></td>
 </tr>
 <tr>
@@ -113,4 +113,4 @@
 
 </tbody></table>
 </body>
-</html>
+</html>
\ No newline at end of file
diff --git a/bt5/erp5_ui_test/PathTemplateItem/portal_tests/relation_field_zuite/testRelationFieldWheelWithListbox.zpt b/bt5/erp5_ui_test/PathTemplateItem/portal_tests/relation_field_zuite/testRelationFieldWheelWithListbox.zpt
index a6aa03344d..185cd60353 100644
--- a/bt5/erp5_ui_test/PathTemplateItem/portal_tests/relation_field_zuite/testRelationFieldWheelWithListbox.zpt
+++ b/bt5/erp5_ui_test/PathTemplateItem/portal_tests/relation_field_zuite/testRelationFieldWheelWithListbox.zpt
@@ -64,7 +64,7 @@
 
 <tr>
   <td>clickAndWait</td>
-  <td>//input[preceding-sibling::input[@name="field_my_foo_big_category_title"]][@value='update...']</td>
+  <td>//input[preceding-sibling::input[@name="field_my_foo_big_category_title"]][@alt='update...']</td>
   <td></td>
 </tr>
 
@@ -231,4 +231,4 @@
 
 </tbody></table>
 </body>
-</html>
+</html>
\ No newline at end of file
diff --git a/bt5/erp5_ui_test/PathTemplateItem/portal_tests/relation_field_zuite/testSimpleRelationFieldCancelButton.zpt b/bt5/erp5_ui_test/PathTemplateItem/portal_tests/relation_field_zuite/testSimpleRelationFieldCancelButton.zpt
index 505c962f30..ed052ea45f 100644
--- a/bt5/erp5_ui_test/PathTemplateItem/portal_tests/relation_field_zuite/testSimpleRelationFieldCancelButton.zpt
+++ b/bt5/erp5_ui_test/PathTemplateItem/portal_tests/relation_field_zuite/testSimpleRelationFieldCancelButton.zpt
@@ -58,7 +58,7 @@
 <tr>
   <td>clickAndWait</td>
   <!-- XXX maybe a better locator for relation field -->
-  <td>//input[@value='update...' and @type='image']</td>
+  <td>//input[@alt='update...' and @type='image']</td>
   <td></td>
 </tr>
 <tr>
@@ -86,7 +86,7 @@
 <tr>
   <td>clickAndWait</td>
   <!-- XXX maybe a better locator for relation field -->
-  <td>//input[@value='update...' and @type='image']</td>
+  <td>//input[@alt='update...' and @type='image']</td>
   <td></td>
 </tr>
 <tr>
@@ -114,7 +114,7 @@
 <tr>
   <td>clickAndWait</td>
   <!-- XXX maybe a better locator for relation field -->
-  <td>//input[@value='update...']</td>
+  <td>//input[@alt='update...']</td>
   <td></td>
 </tr>
 <tr>
@@ -139,4 +139,4 @@
 
 </tbody></table>
 </body>
-</html>
+</html>
\ No newline at end of file
diff --git a/bt5/erp5_ui_test/PathTemplateItem/portal_tests/relation_field_zuite/testSimpleRelationFieldPageChange.zpt b/bt5/erp5_ui_test/PathTemplateItem/portal_tests/relation_field_zuite/testSimpleRelationFieldPageChange.zpt
index 5adbebf8e8..76c0b325d9 100644
--- a/bt5/erp5_ui_test/PathTemplateItem/portal_tests/relation_field_zuite/testSimpleRelationFieldPageChange.zpt
+++ b/bt5/erp5_ui_test/PathTemplateItem/portal_tests/relation_field_zuite/testSimpleRelationFieldPageChange.zpt
@@ -47,7 +47,7 @@
 </tr>
 <tr>
   <td>clickAndWait</td>
-  <td>//input[preceding-sibling::input[@name="field_my_foo_big_category_title"]][@value='update...']</td>
+  <td>//input[preceding-sibling::input[@name="field_my_foo_big_category_title"]][@alt='update...']</td>
   <td></td>
 </tr>
 
@@ -157,4 +157,4 @@
 
 </tbody></table>
 </body>
-</html>
+</html>
\ No newline at end of file
diff --git a/bt5/erp5_ui_test/PathTemplateItem/portal_tests/relation_field_zuite/testSimpleRelationFieldSearchDialog.zpt b/bt5/erp5_ui_test/PathTemplateItem/portal_tests/relation_field_zuite/testSimpleRelationFieldSearchDialog.zpt
index 6f44c46585..55a4c56330 100644
--- a/bt5/erp5_ui_test/PathTemplateItem/portal_tests/relation_field_zuite/testSimpleRelationFieldSearchDialog.zpt
+++ b/bt5/erp5_ui_test/PathTemplateItem/portal_tests/relation_field_zuite/testSimpleRelationFieldSearchDialog.zpt
@@ -52,7 +52,7 @@
 </tr>
 <tr>
   <td>clickAndWait</td>
-  <td>//input[preceding-sibling::input[@name="field_my_foo_big_category_title"]][@value='update...']</td>
+  <td>//input[preceding-sibling::input[@name="field_my_foo_big_category_title"]][@alt='update...']</td>
   <td></td>
 </tr>
 
diff --git a/bt5/erp5_ui_test/PathTemplateItem/portal_tests/relation_field_zuite/testSimpleRelationFieldSearchDialogChangePage.zpt b/bt5/erp5_ui_test/PathTemplateItem/portal_tests/relation_field_zuite/testSimpleRelationFieldSearchDialogChangePage.zpt
index 99430354b5..562799f973 100644
--- a/bt5/erp5_ui_test/PathTemplateItem/portal_tests/relation_field_zuite/testSimpleRelationFieldSearchDialogChangePage.zpt
+++ b/bt5/erp5_ui_test/PathTemplateItem/portal_tests/relation_field_zuite/testSimpleRelationFieldSearchDialogChangePage.zpt
@@ -52,7 +52,7 @@
 </tr>
 <tr>
   <td>clickAndWait</td>
-  <td>//input[preceding-sibling::input[@name="field_my_foo_big_category_title"]][@value='update...']</td>
+  <td>//input[preceding-sibling::input[@name="field_my_foo_big_category_title"]][@alt='update...']</td>
   <td></td>
 </tr>
 
diff --git a/bt5/erp5_ui_test/PathTemplateItem/portal_tests/relation_field_zuite/testSimpleRelationFieldSearchDialogLongUrl.zpt b/bt5/erp5_ui_test/PathTemplateItem/portal_tests/relation_field_zuite/testSimpleRelationFieldSearchDialogLongUrl.zpt
index da44ccc69a..0cc398aaca 100644
--- a/bt5/erp5_ui_test/PathTemplateItem/portal_tests/relation_field_zuite/testSimpleRelationFieldSearchDialogLongUrl.zpt
+++ b/bt5/erp5_ui_test/PathTemplateItem/portal_tests/relation_field_zuite/testSimpleRelationFieldSearchDialogLongUrl.zpt
@@ -57,7 +57,7 @@
 </tr>
 <tr>
   <td>clickAndWait</td>
-  <td>//input[preceding-sibling::input[@name="field_my_foo_category_title"]][@value="update..."]</td>
+  <td>//input[preceding-sibling::input[@name="field_my_foo_category_title"]][@alt="update..."]</td>
   <td></td>
 </tr>
 
diff --git a/bt5/erp5_ui_test/PathTemplateItem/portal_tests/relation_field_zuite/testSimpleRelationFieldWheelButton.zpt b/bt5/erp5_ui_test/PathTemplateItem/portal_tests/relation_field_zuite/testSimpleRelationFieldWheelButton.zpt
index 88c07314db..0a8bab7573 100644
--- a/bt5/erp5_ui_test/PathTemplateItem/portal_tests/relation_field_zuite/testSimpleRelationFieldWheelButton.zpt
+++ b/bt5/erp5_ui_test/PathTemplateItem/portal_tests/relation_field_zuite/testSimpleRelationFieldWheelButton.zpt
@@ -53,7 +53,7 @@
 <tr>
   <td>clickAndWait</td>
   <!-- XXX maybe a better locator for relation field -->
-  <td>//input[@value='update...' and @type="image"]</td>
+  <td>//input[@alt='update...' and @type="image"]</td>
   <td></td>
 </tr>
 <tr>
@@ -106,7 +106,7 @@
 <tr>
   <td>clickAndWait</td>
   <!-- XXX maybe a better locator for relation field -->
-  <td>//input[@value='update...' and @type='image']</td>
+  <td>//input[@alt='update...' and @type='image']</td>
   <td></td>
 </tr>
 <tr>
@@ -133,4 +133,4 @@
 
 </tbody></table>
 </body>
-</html>
+</html>
\ No newline at end of file
diff --git a/bt5/erp5_ui_test/PathTemplateItem/portal_tests/relation_field_zuite/testSimpleRelationFieldWheelButtonQuotedFields.zpt b/bt5/erp5_ui_test/PathTemplateItem/portal_tests/relation_field_zuite/testSimpleRelationFieldWheelButtonQuotedFields.zpt
index 8b16c8233d..7b3199cd0c 100644
--- a/bt5/erp5_ui_test/PathTemplateItem/portal_tests/relation_field_zuite/testSimpleRelationFieldWheelButtonQuotedFields.zpt
+++ b/bt5/erp5_ui_test/PathTemplateItem/portal_tests/relation_field_zuite/testSimpleRelationFieldWheelButtonQuotedFields.zpt
@@ -53,7 +53,7 @@
 <tr>
   <td>clickAndWait</td>
   <!-- XXX maybe a better locator for relation field -->
-  <td>//input[@value='update...' and @type="image"]</td>
+  <td>//input[@alt='update...' and @type="image"]</td>
   <td></td>
 </tr>
 <tr>
@@ -85,4 +85,4 @@
 
 </tbody></table>
 </body>
-</html>
+</html>
\ No newline at end of file
diff --git a/bt5/erp5_ui_test/PathTemplateItem/portal_tests/relation_field_zuite/testSimpleRequiredRelationField.zpt b/bt5/erp5_ui_test/PathTemplateItem/portal_tests/relation_field_zuite/testSimpleRequiredRelationField.zpt
index 9b8deed145..d249e9f80c 100644
--- a/bt5/erp5_ui_test/PathTemplateItem/portal_tests/relation_field_zuite/testSimpleRequiredRelationField.zpt
+++ b/bt5/erp5_ui_test/PathTemplateItem/portal_tests/relation_field_zuite/testSimpleRequiredRelationField.zpt
@@ -77,7 +77,7 @@ metal:use-macro="here/RelationFieldZuite_CommonTemplate/macros/init"
 </tr>
 <tr>
   <td>clickAndWait</td>
-  <td>//input[preceding-sibling::input[@name="field_my_foo_category_title"]][@value='update...']</td>
+  <td>//input[preceding-sibling::input[@name="field_my_foo_category_title"]][@alt='update...']</td>
   <td></td>
 </tr>
 <tr>
-- 
2.30.9