diff --git a/bt5/erp5_ui_test/PathTemplateItem/portal_tests/proxy_field_zuite/testListActionListboxProxy.xml b/bt5/erp5_ui_test/PathTemplateItem/portal_tests/proxy_field_zuite/testListActionListboxProxy.xml index 7c4c7e87d86e50794b15e3a77c224c0866b00722..7b1429403ad59646bbb1fea6715ac90151cd14d7 100644 --- a/bt5/erp5_ui_test/PathTemplateItem/portal_tests/proxy_field_zuite/testListActionListboxProxy.xml +++ b/bt5/erp5_ui_test/PathTemplateItem/portal_tests/proxy_field_zuite/testListActionListboxProxy.xml @@ -2,10 +2,7 @@ <ZopeData> <record id="1" aka="AAAAAAAAAAE="> <pickle> - <tuple> - <global name="ZopePageTemplate" module="Products.PageTemplates.ZopePageTemplate"/> - <tuple/> - </tuple> + <global name="ZopePageTemplate" module="Products.PageTemplates.ZopePageTemplate"/> </pickle> <pickle> <dictionary> @@ -92,7 +89,7 @@ </tr>\n <tr>\n <td>verifyElementPresent</td>\n - <td>//input[@id=\'listbox_next_page\']</td>\n + <td>//button[@class=\'listbox_next_page\']</td>\n <td></td>\n </tr>\n \n @@ -100,12 +97,12 @@ \n <tr>\n <td>clickAndWait</td>\n - <td>id=listbox_title</td>\n + <td>//a[@class="listbox_title"]</td>\n <td></td>\n </tr>\n <tr>\n <td>verifyElementNotPresent</td>\n - <td>//input[@id=\'listbox_next_page\']</td>\n + <td>//button[@class=\'listbox_next_page\']</td>\n <td></td>\n </tr>\n \n @@ -113,12 +110,12 @@ \n <tr>\n <td>clickAndWait</td>\n - <td>id=listbox_title</td>\n + <td>//a[@class="listbox_title"]</td>\n <td></td>\n </tr>\n <tr>\n <td>verifyElementPresent</td>\n - <td>//input[@id=\'listbox_next_page\']</td>\n + <td>//button[@class=\'listbox_next_page\']</td>\n <td></td>\n </tr>\n </tal:block>\n diff --git a/bt5/erp5_ui_test/PathTemplateItem/portal_tests/proxy_field_zuite/testListModeListboxProxy.xml b/bt5/erp5_ui_test/PathTemplateItem/portal_tests/proxy_field_zuite/testListModeListboxProxy.xml index a08ec175d809007ced8e6eb8b1cf225a349304e2..361932d09f1a373b4ecff558b4481bd573ca19d1 100644 --- a/bt5/erp5_ui_test/PathTemplateItem/portal_tests/proxy_field_zuite/testListModeListboxProxy.xml +++ b/bt5/erp5_ui_test/PathTemplateItem/portal_tests/proxy_field_zuite/testListModeListboxProxy.xml @@ -2,10 +2,7 @@ <ZopeData> <record id="1" aka="AAAAAAAAAAE="> <pickle> - <tuple> - <global name="ZopePageTemplate" module="Products.PageTemplates.ZopePageTemplate"/> - <tuple/> - </tuple> + <global name="ZopePageTemplate" module="Products.PageTemplates.ZopePageTemplate"/> </pickle> <pickle> <dictionary> @@ -93,31 +90,31 @@ \n <tr>\n <td>clickAndWait</td>\n - <td>listbox_title</td>\n + <td>//a[@class="listbox_title"]</td>\n <td></td>\n </tr>\n \n <!-- editable fields are here -->\n <tr>\n <td>verifyElementPresent</td>\n - <td>//tr[@id=\'listbox_data_line_0\']/td[2]/input</td>\n + <td>//tr[@class=\'listbox-data-line-0 DataA\']/td[2]/input</td>\n <td></td>\n </tr>\n <tr>\n <td>verifyElementPresent</td>\n - <td>//tr[@id=\'listbox_data_line_0\']/td[3]/input</td>\n + <td>//tr[@class=\'listbox-data-line-0 DataA\']/td[3]/input</td>\n <td></td>\n </tr>\n <tr>\n <td>verifyElementPresent</td>\n - <td>//tr[@id=\'listbox_data_line_0\']/td[3]/input</td>\n + <td>//tr[@class=\'listbox-data-line-0 DataA\']/td[3]/input</td>\n <td></td>\n </tr>\n \n <!-- proxyfield should retrieve TALES recursively -->\n <tr>\n <td>verifyText</td>\n - <td>//tr[@id=\'listbox_data_line_0\']/td[6]</td>\n + <td>//tr[@class=\'listbox-data-line-0 DataA\']/td[6]</td>\n <td>a constant of forty-two is still the answer</td>\n </tr>\n \n @@ -140,8 +137,8 @@ </tr>\n <tr>\n <td>verifyText</td>\n - <td>listbox_record_number</td>\n - <td>1 records</td>\n + <td>//span[@class="listbox-current-page-total-number"]</td>\n + <td>1</td>\n </tr>\n <tr>\n <td>type</td>\n @@ -165,8 +162,8 @@ </tr>\n <tr>\n <td>verifyText</td>\n - <td>listbox_record_number</td>\n - <td>1 records</td>\n + <td>//span[@class="listbox-current-page-total-number"]</td>\n + <td>1</td>\n </tr>\n </tal:block>\n \n diff --git a/bt5/erp5_ui_test/bt/revision b/bt5/erp5_ui_test/bt/revision index 316941dd7da08cf2cd5477dbe52ed1440256594c..73623d101c44dc8d5e30c594bae377cec800fe03 100644 --- a/bt5/erp5_ui_test/bt/revision +++ b/bt5/erp5_ui_test/bt/revision @@ -1 +1 @@ -599 \ No newline at end of file +600 \ No newline at end of file