[Erp5-report] r19682 - in /erp5/trunk/bt5/erp5_accounting_ui_test: PathTemplateItem/portal_...

nobody at svn.erp5.org nobody at svn.erp5.org
Wed Mar 5 10:17:06 CET 2008


Author: jerome
Date: Wed Mar  5 10:17:05 2008
New Revision: 19682

URL: http://svn.erp5.org?rev=19682&view=rev
Log:
2008-03-04 jerome
* Define an "is_selenium_0_8" boolean variable in the common template and start using it for commands that requires selenium 0.8 or more.

Modified:
    erp5/trunk/bt5/erp5_accounting_ui_test/PathTemplateItem/portal_tests/accounting_zuite/test_grouping_reference/test_group_from_account_transaction_list.html.xml
    erp5/trunk/bt5/erp5_accounting_ui_test/PathTemplateItem/portal_tests/accounting_zuite/test_grouping_reference/test_group_from_entity_transaction_list.html.xml
    erp5/trunk/bt5/erp5_accounting_ui_test/SkinTemplateItem/portal_skins/erp5_accounting_ui_test/AccountingZuite_CommonTemplate.xml
    erp5/trunk/bt5/erp5_accounting_ui_test/bt/change_log
    erp5/trunk/bt5/erp5_accounting_ui_test/bt/revision

Modified: erp5/trunk/bt5/erp5_accounting_ui_test/PathTemplateItem/portal_tests/accounting_zuite/test_grouping_reference/test_group_from_account_transaction_list.html.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting_ui_test/PathTemplateItem/portal_tests/accounting_zuite/test_grouping_reference/test_group_from_account_transaction_list.html.xml?rev=19682&r1=19681&r2=19682&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_accounting_ui_test/PathTemplateItem/portal_tests/accounting_zuite/test_grouping_reference/test_group_from_account_transaction_list.html.xml (original)
+++ erp5/trunk/bt5/erp5_accounting_ui_test/PathTemplateItem/portal_tests/accounting_zuite/test_grouping_reference/test_group_from_account_transaction_list.html.xml Wed Mar  5 10:17:05 2008
@@ -113,7 +113,7 @@
   <td>//fieldset[2]/div/div/span</td>\n
   <td>0.00</td>\n
 </tr>\n
-<tr>\n
+<tr tal:condition="is_selenium_0_8">\n
   <td>verifySelectedLabel</td>\n
   <td>field_your_node</td>\n
   <td>41 - Receivable</td>\n
@@ -267,7 +267,7 @@
   <td>off</td>\n
 </tr>\n
 \n
-<tr>\n
+<tr tal:condition="is_selenium_0_8">\n
   <td>verifySelectedLabel</td>\n
   <td>field_your_node</td>\n
   <td>41 - Receivable</td>\n

Modified: erp5/trunk/bt5/erp5_accounting_ui_test/PathTemplateItem/portal_tests/accounting_zuite/test_grouping_reference/test_group_from_entity_transaction_list.html.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting_ui_test/PathTemplateItem/portal_tests/accounting_zuite/test_grouping_reference/test_group_from_entity_transaction_list.html.xml?rev=19682&r1=19681&r2=19682&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_accounting_ui_test/PathTemplateItem/portal_tests/accounting_zuite/test_grouping_reference/test_group_from_entity_transaction_list.html.xml (original)
+++ erp5/trunk/bt5/erp5_accounting_ui_test/PathTemplateItem/portal_tests/accounting_zuite/test_grouping_reference/test_group_from_entity_transaction_list.html.xml Wed Mar  5 10:17:05 2008
@@ -113,7 +113,7 @@
   <td>//fieldset[2]/div/div/span</td>\n
   <td>0.00</td>\n
 </tr>\n
-<tr>\n
+<tr tal:condition="is_selenium_0_8">\n
   <td>verifySelectedLabel</td>\n
   <td>field_your_node</td>\n
   <td></td>\n
@@ -238,7 +238,7 @@
   <td>off</td>\n
 </tr>\n
 \n
-<tr>\n
+<tr tal:condition="is_selenium_0_8">\n
   <td>verifySelectedLabel</td>\n
   <td>field_your_node</td>\n
   <td>41 - Receivable</td>\n

Modified: erp5/trunk/bt5/erp5_accounting_ui_test/SkinTemplateItem/portal_skins/erp5_accounting_ui_test/AccountingZuite_CommonTemplate.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting_ui_test/SkinTemplateItem/portal_skins/erp5_accounting_ui_test/AccountingZuite_CommonTemplate.xml?rev=19682&r1=19681&r2=19682&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_accounting_ui_test/SkinTemplateItem/portal_skins/erp5_accounting_ui_test/AccountingZuite_CommonTemplate.xml (original)
+++ erp5/trunk/bt5/erp5_accounting_ui_test/SkinTemplateItem/portal_skins/erp5_accounting_ui_test/AccountingZuite_CommonTemplate.xml Wed Mar  5 10:17:05 2008
@@ -53,11 +53,18 @@
 
 <tal:block xmlns:tal="http://xml.zope.org/namespaces/tal"\n
            xmlns:metal="http://xml.zope.org/namespaces/metal">\n
-  <tal:block metal:define-macro="init" tal:define="base_url python: \'/\' + here.getPortalObject().getId()">\n
+  <tal:block metal:define-macro="init"\n
+            tal:define="base_url python: \'/\' + here.getPortalObject().getId();\n
+                        global is_selenium_0_8 python: here.getPortalObject().portal_tests.getZeleniumVersion() &gt; \'Zelenium-0.8\'">\n
     <tr>\n
       <td>store</td>\n
       <td tal:content="base_url">erp5</td>\n
       <td>base_url</td>\n
+    </tr>\n
+    <tr tal:condition="is_selenium_0_8">\n
+      <td>setTimeOut</td>\n
+      <td>600000</td>\n
+      <td></td>\n
     </tr>\n
     <tr>\n
       <td>open</td>\n

Modified: erp5/trunk/bt5/erp5_accounting_ui_test/bt/change_log
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting_ui_test/bt/change_log?rev=19682&r1=19681&r2=19682&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_accounting_ui_test/bt/change_log (original)
+++ erp5/trunk/bt5/erp5_accounting_ui_test/bt/change_log Wed Mar  5 10:17:05 2008
@@ -1,3 +1,6 @@
+2008-03-04 jerome
+* Define an "is_selenium_0_8" boolean variable in the common template and start using it for commands that requires selenium 0.8 or more.
+
 2008-03-03 jerome
 * Add tests for grouping reference fast input
 

Modified: erp5/trunk/bt5/erp5_accounting_ui_test/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting_ui_test/bt/revision?rev=19682&r1=19681&r2=19682&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_accounting_ui_test/bt/revision (original)
+++ erp5/trunk/bt5/erp5_accounting_ui_test/bt/revision Wed Mar  5 10:17:05 2008
@@ -1,1 +1,1 @@
-79
+80




More information about the Erp5-report mailing list