Commit 338541f4 authored by Ivan Tyagov's avatar Ivan Tyagov

Listbox page navigation doesn't use any more HTML ID attributes.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@38025 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent bba6e112
......@@ -2,10 +2,7 @@
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="ZopePageTemplate" module="Products.PageTemplates.ZopePageTemplate"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
......@@ -97,14 +94,11 @@
<td>id=listbox_data_line_3</td>\n
<td></td>\n
</tr>\n
\n
<tr>\n
<tr>\n
<td>open</td>\n
<td>${base_url}/bar_module/FooModule_createObjects?start:int=3;num:int=7;portal_type=Bar</td>\n
<td></td>\n
</tr>\n
\n
\n
</tr>\n
<tr>\n
<td>assertTextPresent</td>\n
<td>Created Successfully.</td>\n
......@@ -137,7 +131,7 @@
<tr>\n
<tal:block tal:condition="python: context.TestTool_getSkinName()!=\'Mobile\'">\n
<td>verifyValue</td>\n
<td>id=listbox_set_page</td>\n
<td>//input[@class="listbox_set_page"]</td>\n
<td>1</td>\n
</tal:block>\n
<tal:block tal:condition="python: context.TestTool_getSkinName()==\'Mobile\'">\n
......@@ -148,12 +142,12 @@
</tr>\n
<tr>\n
<td>verifyElementPresent</td>\n
<td>id=listbox_next_page</td>\n
<td>//button[@class="listbox_next_page"]</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyElementNotPresent</td>\n
<td>id=listbox_previous_page</td>\n
<td>//button[@class="listbox_previous_page"]</td>\n
<td></td>\n
</tr>\n
<tr>\n
......@@ -182,7 +176,7 @@
<!-- Click on next -->\n
<tr>\n
<td>clickAndWait</td>\n
<td>id=listbox_next_page</td>\n
<td>//button[@class="listbox_next_page"]</td>\n
<td></td>\n
</tr>\n
\n
......@@ -206,23 +200,23 @@
<tr>\n
<tal:block tal:condition="python: context.TestTool_getSkinName()!=\'Mobile\'">\n
<td>verifyValue</td>\n
<td>id=listbox_set_page</td>\n
<td>//input[@class="listbox_set_page"]</td>\n
<td>2</td>\n
</tal:block>\n
<tal:block tal:condition="python: context.TestTool_getSkinName()==\'Mobile\'">\n
<td>verifyValue</td>\n
<td>id=listbox_page_selection</td>\n
<td>//input[@class="listbox_set_page"]</td>\n
<td>3</td>\n
</tal:block>\n
</tr>\n
<tr>\n
<td>verifyElementPresent</td>\n
<td>id=listbox_next_page</td>\n
<td>//button[@class="listbox_next_page"]</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyElementPresent</td>\n
<td>id=listbox_previous_page</td>\n
<td>//button[@class="listbox_previous_page"]</td>\n
<td></td>\n
</tr>\n
<tr>\n
......@@ -250,30 +244,30 @@
<!-- Click on previous -->\n
<tr>\n
<td>clickAndWait</td>\n
<td>id=listbox_previous_page</td>\n
<td>//button[@class="listbox_previous_page"]</td>\n
<td></td>\n
</tr>\n
<tal:block metal:use-macro="here/ListBoxDialogModeZuite_CommonTemplate/macros/verify_dialog" />\n
<tr>\n
<tal:block tal:condition="python: context.TestTool_getSkinName()!=\'Mobile\'">\n
<td>verifyValue</td>\n
<td>id=listbox_set_page</td>\n
<td>//input[@class="listbox_set_page"]</td>\n
<td>1</td>\n
</tal:block>\n
<tal:block tal:condition="python: context.TestTool_getSkinName()==\'Mobile\'">\n
<td>verifyValue</td>\n
<td>id=listbox_page_selection</td>\n
<td>//input[@class="listbox_set_page"]</td>\n
<td>0</td>\n
</tal:block>\n
</tr>\n
<tr>\n
<td>verifyElementPresent</td>\n
<td>id=listbox_next_page</td>\n
<td>//button[@class="listbox_next_page"]</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyElementNotPresent</td>\n
<td>id=listbox_previous_page</td>\n
<td>//button[@class="listbox_previous_page"]</td>\n
<td></td>\n
</tr>\n
<tr>\n
......@@ -303,12 +297,12 @@
<tal:block tal:condition="python: context.TestTool_getSkinName()!=\'Mobile\'">\n
<tr>\n
<td>type</td>\n
<td>id=listbox_set_page</td>\n
<td>//input[@class="listbox_set_page"]</td>\n
<td>4</td>\n
</tr>\n
<tr>\n
<td>keyPressAndWait</td>\n
<td>id=listbox_set_page</td>\n
<td>//input[@class="listbox_set_page"]</td>\n
<td>\\13</td>\n
</tr>\n
</tal:block>\n
......@@ -339,23 +333,23 @@
<tr>\n
<tal:block tal:condition="python: context.TestTool_getSkinName()!=\'Mobile\'">\n
<td>verifyValue</td>\n
<td>id=listbox_set_page</td>\n
<td>//input[@class="listbox_set_page"]</td>\n
<td>4</td>\n
</tal:block>\n
<tal:block tal:condition="python: context.TestTool_getSkinName()==\'Mobile\'">\n
<td>verifyValue</td>\n
<td>id=listbox_page_selection</td>\n
<td>//input[@class="listbox_set_page"]</td>\n
<td>9</td>\n
</tal:block>\n
</tr>\n
<tr>\n
<td>verifyElementNotPresent</td>\n
<td>id=listbox_next_page</td>\n
<td>//button[@class="listbox_next_page"]</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyElementPresent</td>\n
<td>id=listbox_previous_page</td>\n
<td>//button[@class="listbox_previous_page"]</td>\n
<td></td>\n
</tr>\n
<tr>\n
......@@ -388,23 +382,23 @@
<tr>\n
<tal:block tal:condition="python: context.TestTool_getSkinName()!=\'Mobile\'">\n
<td>verifyValue</td>\n
<td>id=listbox_set_page</td>\n
<td>//input[@class="listbox_set_page"]</td>\n
<td>1</td>\n
</tal:block>\n
<tal:block tal:condition="python: context.TestTool_getSkinName()==\'Mobile\'">\n
<td>verifyValue</td>\n
<td>id=listbox_page_selection</td>\n
<td>//input[@class="listbox_set_page"]</td>\n
<td>0</td>\n
</tal:block>\n
</tr>\n
<tr>\n
<td>verifyElementPresent</td>\n
<td>id=listbox_next_page</td>\n
<td>//button[@class="listbox_next_page"]</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyElementNotPresent</td>\n
<td>id=listbox_previous_page</td>\n
<td>//button[@class="listbox_previous_page"]</td>\n
<td></td>\n
</tr>\n
<tr>\n
......
582
\ No newline at end of file
583
\ 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