Commit c2fa0cef authored by Jérome Perrin's avatar Jérome Perrin

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.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19682 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 90c708c5
...@@ -113,7 +113,7 @@ Grouping from account transaction view\n ...@@ -113,7 +113,7 @@ Grouping from account transaction view\n
<td>//fieldset[2]/div/div/span</td>\n <td>//fieldset[2]/div/div/span</td>\n
<td>0.00</td>\n <td>0.00</td>\n
</tr>\n </tr>\n
<tr>\n <tr tal:condition="is_selenium_0_8">\n
<td>verifySelectedLabel</td>\n <td>verifySelectedLabel</td>\n
<td>field_your_node</td>\n <td>field_your_node</td>\n
<td>41 - Receivable</td>\n <td>41 - Receivable</td>\n
...@@ -267,7 +267,7 @@ them -->\n ...@@ -267,7 +267,7 @@ them -->\n
<td>off</td>\n <td>off</td>\n
</tr>\n </tr>\n
\n \n
<tr>\n <tr tal:condition="is_selenium_0_8">\n
<td>verifySelectedLabel</td>\n <td>verifySelectedLabel</td>\n
<td>field_your_node</td>\n <td>field_your_node</td>\n
<td>41 - Receivable</td>\n <td>41 - Receivable</td>\n
......
...@@ -113,7 +113,7 @@ Grouping from entity transaction view\n ...@@ -113,7 +113,7 @@ Grouping from entity transaction view\n
<td>//fieldset[2]/div/div/span</td>\n <td>//fieldset[2]/div/div/span</td>\n
<td>0.00</td>\n <td>0.00</td>\n
</tr>\n </tr>\n
<tr>\n <tr tal:condition="is_selenium_0_8">\n
<td>verifySelectedLabel</td>\n <td>verifySelectedLabel</td>\n
<td>field_your_node</td>\n <td>field_your_node</td>\n
<td></td>\n <td></td>\n
...@@ -238,7 +238,7 @@ them -->\n ...@@ -238,7 +238,7 @@ them -->\n
<td>off</td>\n <td>off</td>\n
</tr>\n </tr>\n
\n \n
<tr>\n <tr tal:condition="is_selenium_0_8">\n
<td>verifySelectedLabel</td>\n <td>verifySelectedLabel</td>\n
<td>field_your_node</td>\n <td>field_your_node</td>\n
<td>41 - Receivable</td>\n <td>41 - Receivable</td>\n
......
...@@ -53,12 +53,19 @@ ...@@ -53,12 +53,19 @@
<tal:block xmlns:tal="http://xml.zope.org/namespaces/tal"\n <tal:block xmlns:tal="http://xml.zope.org/namespaces/tal"\n
xmlns:metal="http://xml.zope.org/namespaces/metal">\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 <tr>\n
<td>store</td>\n <td>store</td>\n
<td tal:content="base_url">erp5</td>\n <td tal:content="base_url">erp5</td>\n
<td>base_url</td>\n <td>base_url</td>\n
</tr>\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 <tr>\n
<td>open</td>\n <td>open</td>\n
<td>${base_url}/AccountingZuite_reset</td>\n <td>${base_url}/AccountingZuite_reset</td>\n
......
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 2008-03-03 jerome
* Add tests for grouping reference fast input * Add tests for grouping reference fast input
......
79 80
\ No newline at end of file \ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment