Commit f5bbd5f9 authored by Ivan Tyagov's avatar Ivan Tyagov

Adjust test according to r38048

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@38049 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 0326df61
...@@ -94,18 +94,18 @@ ...@@ -94,18 +94,18 @@
<tal:block tal:repeat="prefix python:range(3)">\n <tal:block tal:repeat="prefix python:range(3)">\n
<tr>\n <tr>\n
<td>verifyElementPresent</td>\n <td>verifyElementPresent</td>\n
<td tal:content="string: //button[@class=&quot;x${prefix}_listbox_next_page&quot;]"></td>\n <td tal:content="string: //button[@class=&quot;listbox_next_page x${prefix}_listbox_next_page&quot;]"></td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>verifyElementNotPresent</td>\n <td>verifyElementNotPresent</td>\n
<td tal:content="string: //button[@class=&quot;x${prefix}_listbox_previous_page&quot;]"></td>\n <td tal:content="string: //button[@class=&quot;listbox_previous_page x${prefix}_listbox_previous_page&quot;]"></td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
</tal:block>\n </tal:block>\n
<tr>\n <tr>\n
<td>clickAndWait</td>\n <td>clickAndWait</td>\n
<td>//button[@class="x0_listbox_next_page"]</td>\n <td>//button[@class="listbox_next_page x0_listbox_next_page"]</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
<tal:block tal:define="prefix string:x0_listbox; \n <tal:block tal:define="prefix string:x0_listbox; \n
...@@ -129,12 +129,12 @@ ...@@ -129,12 +129,12 @@
<tal:block tal:condition="python: context.TestTool_getSkinName()!=\'Mobile\'">\n <tal:block tal:condition="python: context.TestTool_getSkinName()!=\'Mobile\'">\n
<tr>\n <tr>\n
<td>type</td>\n <td>type</td>\n
<td>//input[@class="x1_listbox_set_page"]</td>\n <td>//input[@class="listbox_set_page x1_listbox_set_page"]</td>\n
<td>5</td>\n <td>5</td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>keyPressAndWait</td>\n <td>keyPressAndWait</td>\n
<td>//input[@class="x1_listbox_set_page"]</td>\n <td>//input[@class="listbox_set_page x1_listbox_set_page"]</td>\n
<td>\\13</td>\n <td>\\13</td>\n
</tr>\n </tr>\n
</tal:block>\n </tal:block>\n
...@@ -165,7 +165,7 @@ ...@@ -165,7 +165,7 @@
</tal:block>\n </tal:block>\n
<tr>\n <tr>\n
<td>clickAndWait</td>\n <td>clickAndWait</td>\n
<td>//button[@class="x1_listbox_previous_page"]</td>\n <td>//button[@class="listbox_previous_page x1_listbox_previous_page"]</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
\n \n
...@@ -188,7 +188,7 @@ ...@@ -188,7 +188,7 @@
</tal:block>\n </tal:block>\n
<tr>\n <tr>\n
<td>clickAndWait</td>\n <td>clickAndWait</td>\n
<td>//button[@class="x1_listbox_last_page"]</td>\n <td>//button[@class="listbox_last_page x1_listbox_last_page"]</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
\n \n
...@@ -200,7 +200,7 @@ ...@@ -200,7 +200,7 @@
\n \n
<tr>\n <tr>\n
<td>clickAndWait</td>\n <td>clickAndWait</td>\n
<td>//button[@class="x1_listbox_first_page"]</td>\n <td>//button[@class="listbox_first_page x1_listbox_first_page"]</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
<tal:block tal:define="prefix string:x0_listbox;\n <tal:block tal:define="prefix string:x0_listbox;\n
......
...@@ -91,8 +91,10 @@ ...@@ -91,8 +91,10 @@
</tal:block>\n </tal:block>\n
<tal:block tal:condition="python: context.TestTool_getSkinName()==\'Mobile\'">\n <tal:block tal:condition="python: context.TestTool_getSkinName()==\'Mobile\'">\n
<td tal:content="python: \'id=%s_page_selection\' % (prefix, )"></td>\n <td tal:content="python: \'id=%s_page_selection\' % (prefix, )"></td>\n
</tal:block> -->\n </tal:block> \n
<td tal:content="string: //input[@class=&quot;${prefix}_set_page&quot;]"></td>\n <td tal:content="string: //input[@class=&quot;${prefix}_set_page&quot;]"></td>\n
-->\n
<td tal:content="python: test(prefix==\'listbox\', \'//input[@class=&quot;%s_set_page&quot;]\' %prefix, \'//input[@class=&quot;listbox_set_page %s_set_page&quot;]\' %prefix)"></td>\n
<td tal:content="set_page"></td>\n <td tal:content="set_page"></td>\n
</tr>\n </tr>\n
</tal:block>\n </tal:block>\n
......
589 590
\ 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