[Erp5-report] r38164 ivan - in /erp5/trunk/bt5/erp5_ui_test: PathTemplateItem/portal_tests/...

nobody at svn.erp5.org nobody at svn.erp5.org
Tue Sep 7 10:27:22 CEST 2010


Author: ivan
Date: Tue Sep  7 10:27:21 2010
New Revision: 38164

URL: http://svn.erp5.org?rev=38164&view=rev
Log:
Listbox uses no longer Ids but CSS classes.
Adjust tests accordingly after r38122.

Modified:
    erp5/trunk/bt5/erp5_ui_test/PathTemplateItem/portal_tests/proxy_field_zuite/testListActionListboxProxy.xml
    erp5/trunk/bt5/erp5_ui_test/PathTemplateItem/portal_tests/proxy_field_zuite/testListModeListboxProxy.xml
    erp5/trunk/bt5/erp5_ui_test/bt/revision

Modified: erp5/trunk/bt5/erp5_ui_test/PathTemplateItem/portal_tests/proxy_field_zuite/testListActionListboxProxy.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_ui_test/PathTemplateItem/portal_tests/proxy_field_zuite/testListActionListboxProxy.xml?rev=38164&r1=38163&r2=38164&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_ui_test/PathTemplateItem/portal_tests/proxy_field_zuite/testListActionListboxProxy.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_ui_test/PathTemplateItem/portal_tests/proxy_field_zuite/testListActionListboxProxy.xml [utf8] Tue Sep  7 10:27:21 2010
@@ -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

Modified: erp5/trunk/bt5/erp5_ui_test/PathTemplateItem/portal_tests/proxy_field_zuite/testListModeListboxProxy.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_ui_test/PathTemplateItem/portal_tests/proxy_field_zuite/testListModeListboxProxy.xml?rev=38164&r1=38163&r2=38164&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_ui_test/PathTemplateItem/portal_tests/proxy_field_zuite/testListModeListboxProxy.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_ui_test/PathTemplateItem/portal_tests/proxy_field_zuite/testListModeListboxProxy.xml [utf8] Tue Sep  7 10:27:21 2010
@@ -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

Modified: erp5/trunk/bt5/erp5_ui_test/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_ui_test/bt/revision?rev=38164&r1=38163&r2=38164&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_ui_test/bt/revision [utf8] (original)
+++ erp5/trunk/bt5/erp5_ui_test/bt/revision [utf8] Tue Sep  7 10:27:21 2010
@@ -1 +1 @@
-599
\ No newline at end of file
+600
\ No newline at end of file




More information about the Erp5-report mailing list