Commit bfdd6da1 authored by Mohamadou Mbengue's avatar Mohamadou Mbengue

2009-08-25 Mohamadou

* Modify "testPagerInViewMode" according to the r28621 change.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@28622 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent e17d814e
......@@ -87,15 +87,13 @@
<td></td>\n
</tr>\n
\n
<tal:block tal:condition="python: context.TestTool_getSkinName()!=\'Mobile\'"\n
\t tal:define="prefix string:x0_listbox; set_page python:1">\n
<tal:block metal:use-macro="here/ListBoxZuite_CommonTemplate/macros/checkCurrentPage" />\n
</tal:block>\n
<tal:block tal:condition="python: context.TestTool_getSkinName()==\'Mobile\'"\n
\t tal:define="prefix string:x0_listbox; set_page python:0">\n
<tal:block tal:define="prefix string:x0_listbox; \n
set_page python:1;\n
lines_per_pages python:3">\n
<tal:block metal:use-macro="here/ListBoxZuite_CommonTemplate/macros/checkCurrentPage" />\n
</tal:block>\n
\n
\n
<tal:block tal:repeat="prefix python:range(3)">\n
<tr>\n
<td>verifyElementPresent</td>\n
......@@ -113,37 +111,22 @@
<td>id=x0_listbox_next_page</td>\n
<td></td>\n
</tr>\n
<tal:block tal:define="prefix string:x0_listbox;">\n
<tal:block tal:condition="python: context.TestTool_getSkinName()!=\'Mobile\'"\n
\t tal:define="set_page python:2">\n
<tal:block metal:use-macro="here/ListBoxZuite_CommonTemplate/macros/checkCurrentPage" />\n
</tal:block>\n
<tal:block tal:condition="python: context.TestTool_getSkinName()==\'Mobile\'"\n
\t tal:define="set_page python:3">\n
<tal:block metal:use-macro="here/ListBoxZuite_CommonTemplate/macros/checkCurrentPage" />\n
</tal:block>\n
<tal:block tal:define="prefix string:x0_listbox; \n
set_page python:2;\n
lines_per_pages python:3">\n
<tal:block metal:use-macro="here/ListBoxZuite_CommonTemplate/macros/checkCurrentPage" />\n
</tal:block>\n
\n
<tal:block tal:define="prefix string:x1_listbox;">\n
<tal:block tal:condition="python: context.TestTool_getSkinName()!=\'Mobile\'"\n
\t tal:define="set_page python:1">\n
<tal:block metal:use-macro="here/ListBoxZuite_CommonTemplate/macros/checkCurrentPage" />\n
</tal:block>\n
<tal:block tal:condition="python: context.TestTool_getSkinName()==\'Mobile\'"\n
\t tal:define="set_page python:0">\n
<tal:block metal:use-macro="here/ListBoxZuite_CommonTemplate/macros/checkCurrentPage" />\n
</tal:block>\n
<tal:block tal:define="prefix string:x1_listbox; \n
set_page python:1;\n
lines_per_pages python:3">\n
<tal:block metal:use-macro="here/ListBoxZuite_CommonTemplate/macros/checkCurrentPage" />\n
</tal:block>\n
\n
<tal:block tal:define="prefix string:x2_listbox;">\n
<tal:block tal:condition="python: context.TestTool_getSkinName()!=\'Mobile\'"\n
\t tal:define="set_page python:1">\n
<tal:block metal:use-macro="here/ListBoxZuite_CommonTemplate/macros/checkCurrentPage" />\n
</tal:block>\n
<tal:block tal:condition="python: context.TestTool_getSkinName()==\'Mobile\'"\n
\t tal:define="set_page python:0">\n
<tal:block metal:use-macro="here/ListBoxZuite_CommonTemplate/macros/checkCurrentPage" />\n
</tal:block>\n
<tal:block tal:define="prefix string:x2_listbox; \n
set_page python:1;\n
lines_per_pages python:3">\n
<tal:block metal:use-macro="here/ListBoxZuite_CommonTemplate/macros/checkCurrentPage" />\n
</tal:block>\n
\n
<tal:block tal:condition="python: context.TestTool_getSkinName()!=\'Mobile\'">\n
......@@ -166,102 +149,76 @@
</tr>\n
</tal:block>\n
\n
<tal:block tal:define="prefix string:x0_listbox;">\n
<tal:block tal:condition="python: context.TestTool_getSkinName()!=\'Mobile\'"\n
\t tal:define="set_page python:2">\n
<tal:block metal:use-macro="here/ListBoxZuite_CommonTemplate/macros/checkCurrentPage" />\n
</tal:block>\n
<tal:block tal:condition="python: context.TestTool_getSkinName()==\'Mobile\'"\n
\t tal:define="set_page python:3">\n
<tal:block metal:use-macro="here/ListBoxZuite_CommonTemplate/macros/checkCurrentPage" />\n
</tal:block>\n
<tal:block tal:define="prefix string:x0_listbox; \n
set_page python:2;\n
lines_per_pages python:3">\n
<tal:block metal:use-macro="here/ListBoxZuite_CommonTemplate/macros/checkCurrentPage" />\n
</tal:block>\n
<tal:block tal:define="prefix string:x1_listbox;">\n
<tal:block tal:condition="python: context.TestTool_getSkinName()!=\'Mobile\'"\n
\t tal:define="set_page python:5">\n
</tal:block>\n
<tal:block tal:condition="python: context.TestTool_getSkinName()==\'Mobile\'"\n
\t tal:define="set_page python:12">\n
<tal:block metal:use-macro="here/ListBoxZuite_CommonTemplate/macros/checkCurrentPage" />\n
</tal:block>\n
\n
<tal:block tal:define="prefix string:x1_listbox; \n
set_page python:5;\n
lines_per_pages python:3">\n
<tal:block metal:use-macro="here/ListBoxZuite_CommonTemplate/macros/checkCurrentPage" />\n
</tal:block>\n
<tal:block tal:define="prefix string:x2_listbox;">\n
<tal:block tal:condition="python: context.TestTool_getSkinName()!=\'Mobile\'"\n
\t tal:define="set_page python:1">\n
<tal:block metal:use-macro="here/ListBoxZuite_CommonTemplate/macros/checkCurrentPage" />\n
</tal:block>\n
<tal:block tal:condition="python: context.TestTool_getSkinName()==\'Mobile\'"\n
\t tal:define="set_page python:0">\n
<tal:block metal:use-macro="here/ListBoxZuite_CommonTemplate/macros/checkCurrentPage" />\n
</tal:block>\n
\n
<tal:block tal:define="prefix string:x2_listbox; \n
set_page python:1;\n
lines_per_pages python:3">\n
<tal:block metal:use-macro="here/ListBoxZuite_CommonTemplate/macros/checkCurrentPage" />\n
</tal:block>\n
<tr>\n
<td>clickAndWait</td>\n
<td>id=x1_listbox_previous_page</td>\n
<td></td>\n
</tr>\n
<tal:block tal:define="prefix string:x0_listbox;">\n
<tal:block tal:condition="python: context.TestTool_getSkinName()!=\'Mobile\'"\n
\t tal:define="set_page python:2">\n
<tal:block metal:use-macro="here/ListBoxZuite_CommonTemplate/macros/checkCurrentPage" />\n
</tal:block>\n
<tal:block tal:condition="python: context.TestTool_getSkinName()==\'Mobile\'"\n
\t tal:define="set_page python:3">\n
<tal:block metal:use-macro="here/ListBoxZuite_CommonTemplate/macros/checkCurrentPage" />\n
</tal:block>\n
\n
<tal:block tal:define="prefix string:x0_listbox; \n
set_page python:2;\n
lines_per_pages python:3">\n
<tal:block metal:use-macro="here/ListBoxZuite_CommonTemplate/macros/checkCurrentPage" />\n
</tal:block>\n
<tal:block tal:define="prefix string:x1_listbox;">\n
<tal:block tal:condition="python: context.TestTool_getSkinName()!=\'Mobile\'"\n
\t tal:define="set_page python:4">\n
<tal:block metal:use-macro="here/ListBoxZuite_CommonTemplate/macros/checkCurrentPage" />\n
</tal:block>\n
<tal:block tal:condition="python: context.TestTool_getSkinName()==\'Mobile\'"\n
\t tal:define="set_page python:9">\n
<tal:block metal:use-macro="here/ListBoxZuite_CommonTemplate/macros/checkCurrentPage" />\n
</tal:block>\n
\n
<tal:block tal:define="prefix string:x1_listbox; \n
set_page python:4;\n
lines_per_pages python:3">\n
<tal:block metal:use-macro="here/ListBoxZuite_CommonTemplate/macros/checkCurrentPage" />\n
</tal:block>\n
<tal:block tal:define="prefix string:x2_listbox;">\n
<tal:block tal:condition="python: context.TestTool_getSkinName()!=\'Mobile\'"\n
\t tal:define="set_page python:1">\n
<tal:block metal:use-macro="here/ListBoxZuite_CommonTemplate/macros/checkCurrentPage" />\n
</tal:block>\n
<tal:block tal:condition="python: context.TestTool_getSkinName()==\'Mobile\'"\n
\t tal:define="set_page python:0">\n
<tal:block metal:use-macro="here/ListBoxZuite_CommonTemplate/macros/checkCurrentPage" />\n
</tal:block>\n
\n
<tal:block tal:define="prefix string:x2_listbox; \n
set_page python:1;\n
lines_per_pages python:3">\n
<tal:block metal:use-macro="here/ListBoxZuite_CommonTemplate/macros/checkCurrentPage" />\n
</tal:block>\n
<tr>\n
<td>clickAndWait</td>\n
<td>id=x1_listbox_last_page</td>\n
<td></td>\n
</tr>\n
<tal:block tal:define="prefix string:x0_listbox;\n
set_page python:2">\n
<tal:block metal:use-macro="here/ListBoxZuite_CommonTemplate/macros/checkCurrentPage" />\n
</tal:block>\n
<tal:block tal:define="prefix string:x1_listbox;\n
set_page python:10">\n
<tal:block metal:use-macro="here/ListBoxZuite_CommonTemplate/macros/checkCurrentPage" />\n
</tal:block>\n
<tal:block tal:define="prefix string:x2_listbox;\n
set_page python:1">\n
\n
<tal:block tal:define="prefix string:x0_listbox; \n
set_page python:2;\n
lines_per_pages python:3">\n
<tal:block metal:use-macro="here/ListBoxZuite_CommonTemplate/macros/checkCurrentPage" />\n
</tal:block>\n
\n
<tr>\n
<td>clickAndWait</td>\n
<td>id=x1_listbox_first_page</td>\n
<td></td>\n
</tr>\n
<tal:block tal:define="prefix string:x0_listbox;\n
set_page python:2">\n
set_page python:2;\n
lines_per_pages python:3">\n
<tal:block metal:use-macro="here/ListBoxZuite_CommonTemplate/macros/checkCurrentPage" />\n
</tal:block>\n
<tal:block tal:define="prefix string:x1_listbox;\n
set_page python:1">\n
set_page python:1;\n
lines_per_pages python:3">\n
<tal:block metal:use-macro="here/ListBoxZuite_CommonTemplate/macros/checkCurrentPage" />\n
</tal:block>\n
<tal:block tal:define="prefix string:x2_listbox;\n
set_page python:1">\n
set_page python:1;\n
lines_per_pages python:3">\n
<tal:block metal:use-macro="here/ListBoxZuite_CommonTemplate/macros/checkCurrentPage" />\n
</tal:block>\n
</tbody></table>\n
......
482
\ No newline at end of file
483
\ 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