Commit 4e462538 authored by Mohamadou Mbengue's avatar Mohamadou Mbengue

2009-09-29 mohamadou

* Use checkCurrentPage to check page number

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@29202 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent c0e00263
...@@ -157,18 +157,13 @@ ...@@ -157,18 +157,13 @@
<td>id=listbox_item_number</td>\n <td>id=listbox_item_number</td>\n
<td> - 0 item(s) selected</td>\n <td> - 0 item(s) selected</td>\n
</tr>\n </tr>\n
<tr>\n \n
<tal:block tal:condition="python: context.TestTool_getSkinName()!=\'Mobile\'">\n <tal:block tal:define="prefix string:listbox; \n
<td>verifyValue</td>\n set_page python:1;\n
<td>id=listbox_set_page</td>\n lines_per_pages python:3">\n
<td>1</td>\n <tal:block metal:use-macro="here/ListBoxZuite_CommonTemplate/macros/checkCurrentPage" />\n
</tal:block>\n </tal:block>\n
<tal:block tal:condition="python: context.TestTool_getSkinName()==\'Mobile\'">\n \n
<td>verifyValue</td>\n
<td>id=listbox_page_selection</td>\n
<td>0</td>\n
</tal:block>\n
</tr>\n
<tr>\n <tr>\n
<td>verifyElementPresent</td>\n <td>verifyElementPresent</td>\n
<td>id=listbox_next_page</td>\n <td>id=listbox_next_page</td>\n
...@@ -205,18 +200,13 @@ ...@@ -205,18 +200,13 @@
<td>id=listbox_next_page</td>\n <td>id=listbox_next_page</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
<tr>\n \n
<tal:block tal:condition="python: context.TestTool_getSkinName()!=\'Mobile\'">\n <tal:block tal:define="prefix string:listbox; \n
<td>verifyValue</td>\n set_page python:2;\n
<td>id=listbox_set_page</td>\n lines_per_pages python:3">\n
<td>2</td>\n <tal:block metal:use-macro="here/ListBoxZuite_CommonTemplate/macros/checkCurrentPage" />\n
</tal:block>\n </tal:block>\n
<tal:block tal:condition="python: context.TestTool_getSkinName()==\'Mobile\'">\n \n
<td>verifyValue</td>\n
<td>id=listbox_page_selection</td>\n
<td>3</td>\n
</tal:block>\n
</tr>\n
<tr>\n <tr>\n
<td>verifyElementPresent</td>\n <td>verifyElementPresent</td>\n
<td>id=listbox_next_page</td>\n <td>id=listbox_next_page</td>\n
...@@ -253,18 +243,13 @@ ...@@ -253,18 +243,13 @@
<td>id=listbox_previous_page</td>\n <td>id=listbox_previous_page</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
<tr>\n \n
<tal:block tal:condition="python: context.TestTool_getSkinName()!=\'Mobile\'">\n <tal:block tal:define="prefix string:listbox; \n
<td>verifyValue</td>\n set_page python:1;\n
<td>id=listbox_set_page</td>\n lines_per_pages python:3">\n
<td>1</td>\n <tal:block metal:use-macro="here/ListBoxZuite_CommonTemplate/macros/checkCurrentPage" />\n
</tal:block>\n </tal:block>\n
<tal:block tal:condition="python: context.TestTool_getSkinName()==\'Mobile\'">\n \n
<td>verifyValue</td>\n
<td>id=listbox_page_selection</td>\n
<td>0</td>\n
</tal:block>\n
</tr>\n
<tr>\n <tr>\n
<td>verifyElementPresent</td>\n <td>verifyElementPresent</td>\n
<td>id=listbox_next_page</td>\n <td>id=listbox_next_page</td>\n
...@@ -307,11 +292,6 @@ ...@@ -307,11 +292,6 @@
<td>id=listbox_set_page</td>\n <td>id=listbox_set_page</td>\n
<td>\\13</td>\n <td>\\13</td>\n
</tr>\n </tr>\n
<tr> \n
<td>verifyValue</td>\n
<td>id=listbox_set_page</td>\n
<td>4</td>\n
</tr>\n
</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
<tr>\n <tr>\n
...@@ -319,11 +299,12 @@ ...@@ -319,11 +299,12 @@
<td>id=listbox_page_selection</td>\n <td>id=listbox_page_selection</td>\n
<td>4 of 4</td>\n <td>4 of 4</td>\n
</tr>\n </tr>\n
<tr>\n </tal:block>\n
<td>verifyValue</td>\n \n
<td>id=listbox_page_selection</td>\n <tal:block tal:define="prefix string:listbox; \n
<td>9</td>\n set_page python:4;\n
</tr>\n lines_per_pages python:3">\n
<tal:block metal:use-macro="here/ListBoxZuite_CommonTemplate/macros/checkCurrentPage" />\n
</tal:block>\n </tal:block>\n
\n \n
<tr>\n <tr>\n
...@@ -367,18 +348,13 @@ ...@@ -367,18 +348,13 @@
<td>id=listbox_item_number</td>\n <td>id=listbox_item_number</td>\n
<td> - 0 item(s) selected</td>\n <td> - 0 item(s) selected</td>\n
</tr>\n </tr>\n
<tr>\n \n
<tal:block tal:condition="python: context.TestTool_getSkinName()!=\'Mobile\'">\n <tal:block tal:define="prefix string:listbox; \n
<td>verifyValue</td>\n set_page python:3;\n
<td>id=listbox_set_page</td>\n lines_per_pages python:3">\n
<td>3</td>\n <tal:block metal:use-macro="here/ListBoxZuite_CommonTemplate/macros/checkCurrentPage" />\n
</tal:block>\n </tal:block>\n
<tal:block tal:condition="python: context.TestTool_getSkinName()==\'Mobile\'">\n \n
<td>verifyValue</td>\n
<td>id=listbox_page_selection</td>\n
<td>6</td>\n
</tal:block>\n
</tr>\n
<tr>\n <tr>\n
<td>verifyElementNotPresent</td>\n <td>verifyElementNotPresent</td>\n
<td>id=listbox_next_page</td>\n <td>id=listbox_next_page</td>\n
......
...@@ -51,7 +51,7 @@ ...@@ -51,7 +51,7 @@
<tr><td rowspan="1" colspan="3">Test ListBox Redirections</td></tr>\n <tr><td rowspan="1" colspan="3">Test ListBox Redirections</td></tr>\n
</thead><tbody>\n </thead><tbody>\n
<!-- XXX Report tree mode doesn\'t exists in mobile\n <!-- XXX Report tree mode doesn\'t exists in mobile\n
So this test is skipped -->\n So this test is skipped in mobile ui tests-->\n
<tal:block tal:condition="python: context.TestTool_getSkinName()!=\'Mobile\'">\n <tal:block tal:condition="python: context.TestTool_getSkinName()!=\'Mobile\'">\n
\n \n
<!--\n <!--\n
......
...@@ -108,18 +108,19 @@ ...@@ -108,18 +108,19 @@
<td>id=listbox_item_number</td>\n <td>id=listbox_item_number</td>\n
<td> - 0 item(s) selected</td>\n <td> - 0 item(s) selected</td>\n
</tr>\n </tr>\n
<tr>\n <!-- \n
<tal:block tal:condition="python: context.TestTool_getSkinName()!=\'Mobile\'">\n To check page number use ListBoxZuite_CommonTemplate/macros/checkCurrentPage to reduce \n
<td>verifyValue</td>\n "if TestTool_getSkinName()!=\'Mobile\'" statements\n
<td>id=listbox_set_page</td>\n - prefix is gives the prefix of the id of the element containing the page number\n
<td>1</td>\n - set_page the number of the page\n
</tal:block>\n - lines_per_page is used in mobile because there isn\'t "listbox_set_page" element\n
<tal:block tal:condition="python: context.TestTool_getSkinName()==\'Mobile\'">\n -->\n
<td>verifyValue</td>\n <tal:block tal:define="prefix string:listbox; \n
<td>id=listbox_page_selection</td>\n set_page python:1;\n
<td>0</td>\n lines_per_pages python:3">\n
</tal:block>\n <tal:block metal:use-macro="here/ListBoxZuite_CommonTemplate/macros/checkCurrentPage" />\n
</tr>\n </tal:block>\n
\n
<tr>\n <tr>\n
<td>verifyElementPresent</td>\n <td>verifyElementPresent</td>\n
<td>id=listbox_next_page</td>\n <td>id=listbox_next_page</td>\n
...@@ -233,18 +234,12 @@ ...@@ -233,18 +234,12 @@
<td></td>\n <td></td>\n
</tr>\n </tr>\n
\n \n
<tr>\n <tal:block tal:define="prefix string:listbox; \n
<tal:block tal:condition="python: context.TestTool_getSkinName()!=\'Mobile\'">\n set_page python:2;\n
<td>verifyValue</td>\n lines_per_pages python:3">\n
<td>id=listbox_set_page</td>\n <tal:block metal:use-macro="here/ListBoxZuite_CommonTemplate/macros/checkCurrentPage" />\n
<td>2</td>\n </tal:block>\n
</tal:block>\n \n
<tal:block tal:condition="python: context.TestTool_getSkinName()==\'Mobile\'">\n
<td>verifyValue</td>\n
<td>id=listbox_page_selection</td>\n
<td>3</td>\n
</tal:block>\n
</tr>\n
<tr>\n <tr>\n
<td>verifyElementPresent</td>\n <td>verifyElementPresent</td>\n
<td>id=listbox_next_page</td>\n <td>id=listbox_next_page</td>\n
...@@ -364,18 +359,13 @@ ...@@ -364,18 +359,13 @@
<td>Base_edit:method</td>\n <td>Base_edit:method</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
<tr>\n \n
<tal:block tal:condition="python: context.TestTool_getSkinName()!=\'Mobile\'">\n <tal:block tal:define="prefix string:listbox; \n
<td>verifyValue</td>\n set_page python:2;\n
<td>id=listbox_set_page</td>\n lines_per_pages python:3">\n
<td>2</td>\n <tal:block metal:use-macro="here/ListBoxZuite_CommonTemplate/macros/checkCurrentPage" />\n
</tal:block>\n </tal:block>\n
<tal:block tal:condition="python: context.TestTool_getSkinName()==\'Mobile\'">\n \n
<td>verifyValue</td>\n
<td>id=listbox_page_selection</td>\n
<td>3</td>\n
</tal:block>\n
</tr>\n
<tr>\n <tr>\n
<td>verifyElementPresent</td>\n <td>verifyElementPresent</td>\n
<td>id=listbox_next_page</td>\n <td>id=listbox_next_page</td>\n
......
...@@ -118,18 +118,13 @@ ...@@ -118,18 +118,13 @@
<td>//input[@id="listbox_next_page"]</td>\n <td>//input[@id="listbox_next_page"]</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
<tr>\n \n
<tal:block tal:condition="python: context.TestTool_getSkinName()!=\'Mobile\'">\n <tal:block tal:define="prefix string:listbox; \n
<td>assertValue</td>\n set_page python:2;\n
<td>//input[@id="listbox_set_page"]</td>\n lines_per_pages python:10">\n
<td>2</td>\n <tal:block metal:use-macro="here/ListBoxZuite_CommonTemplate/macros/checkCurrentPage" />\n
</tal:block>\n </tal:block>\n
<tal:block tal:condition="python: context.TestTool_getSkinName()==\'Mobile\'">\n \n
<td>assertValue</td>\n
<td>id=listbox_page_selection</td>\n
<td>10</td>\n
</tal:block>\n
</tr>\n
<tr>\n <tr>\n
<td>assertValue</td>\n <td>assertValue</td>\n
<td>title</td>\n <td>title</td>\n
...@@ -141,18 +136,13 @@ ...@@ -141,18 +136,13 @@
<td>//input[@id="listbox_next_page"]</td>\n <td>//input[@id="listbox_next_page"]</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
<tr>\n \n
<tal:block tal:condition="python: context.TestTool_getSkinName()!=\'Mobile\'">\n <tal:block tal:define="prefix string:listbox; \n
<td>assertValue</td>\n set_page python:3;\n
<td>//input[@id="listbox_set_page"]</td>\n lines_per_pages python:10">\n
<td>3</td>\n <tal:block metal:use-macro="here/ListBoxZuite_CommonTemplate/macros/checkCurrentPage" />\n
</tal:block>\n </tal:block>\n
<tal:block tal:condition="python: context.TestTool_getSkinName()==\'Mobile\'">\n \n
<td>assertValue</td>\n
<td>id=listbox_page_selection</td>\n
<td>20</td>\n
</tal:block>\n
</tr>\n
<tr>\n <tr>\n
<td>assertValue</td>\n <td>assertValue</td>\n
<td>title</td>\n <td>title</td>\n
...@@ -164,18 +154,12 @@ ...@@ -164,18 +154,12 @@
<td>//input[@id="listbox_previous_page"]</td>\n <td>//input[@id="listbox_previous_page"]</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
<tr>\n \n
<tal:block tal:condition="python: context.TestTool_getSkinName()!=\'Mobile\'">\n <tal:block tal:define="prefix string:listbox; \n
<td>assertValue</td>\n set_page python:2;\n
<td>//input[@id="listbox_set_page"]</td>\n lines_per_pages python:10">\n
<td>2</td>\n <tal:block metal:use-macro="here/ListBoxZuite_CommonTemplate/macros/checkCurrentPage" />\n
</tal:block>\n </tal:block>\n
<tal:block tal:condition="python: context.TestTool_getSkinName()==\'Mobile\'">\n
<td>assertValue</td>\n
<td>id=listbox_page_selection</td>\n
<td>10</td>\n
</tal:block>\n
</tr>\n
\n \n
<tal:block tal:condition="python: context.TestTool_getSkinName()!=\'Mobile\'">\n <tal:block tal:condition="python: context.TestTool_getSkinName()!=\'Mobile\'">\n
<tr>\n <tr>\n
...@@ -197,18 +181,12 @@ ...@@ -197,18 +181,12 @@
</tr>\n </tr>\n
</tal:block>\n </tal:block>\n
\n \n
<tr>\n <tal:block tal:define="prefix string:listbox; \n
<tal:block tal:condition="python: context.TestTool_getSkinName()!=\'Mobile\'">\n set_page python:1;\n
<td>assertValue</td>\n lines_per_pages python:10">\n
<td>id=listbox_set_page</td>\n <tal:block metal:use-macro="here/ListBoxZuite_CommonTemplate/macros/checkCurrentPage" />\n
<td>1</td>\n </tal:block>\n
</tal:block>\n \n
<tal:block tal:condition="python: context.TestTool_getSkinName()==\'Mobile\'">\n
<td>assertValue</td>\n
<td>id=listbox_page_selection</td>\n
<td>0</td>\n
</tal:block>\n
</tr>\n
<tr>\n <tr>\n
<td>assertValue</td>\n <td>assertValue</td>\n
<td>title</td>\n <td>title</td>\n
...@@ -226,11 +204,6 @@ ...@@ -226,11 +204,6 @@
<td>id=listbox_set_page</td>\n <td>id=listbox_set_page</td>\n
<td>\\13</td>\n <td>\\13</td>\n
</tr>\n </tr>\n
<tr>\n
<td>verifyValue</td>\n
<td>id=listbox_set_page</td>\n
<td>3</td>\n
</tr>\n
</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
<tr>\n <tr>\n
...@@ -238,11 +211,12 @@ ...@@ -238,11 +211,12 @@
<td>id=listbox_page_selection</td>\n <td>id=listbox_page_selection</td>\n
<td>3 of 3</td>\n <td>3 of 3</td>\n
</tr>\n </tr>\n
<tr>\n </tal:block>\n
<td>verifyValue</td>\n \n
<td>id=listbox_page_selection</td>\n <tal:block tal:define="prefix string:listbox; \n
<td>20</td>\n set_page python:3;\n
</tr>\n lines_per_pages python:10">\n
<tal:block metal:use-macro="here/ListBoxZuite_CommonTemplate/macros/checkCurrentPage" />\n
</tal:block>\n </tal:block>\n
\n \n
<tr>\n <tr>\n
......
...@@ -114,54 +114,36 @@ ...@@ -114,54 +114,36 @@
<td>//input[@id="listbox_next_page"]</td>\n <td>//input[@id="listbox_next_page"]</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
<tr>\n \n
<tal:block tal:condition="python: context.TestTool_getSkinName()!=\'Mobile\'">\n <tal:block tal:define="prefix string:listbox; \n
<td>assertValue</td>\n set_page python:2;\n
<td>//input[@id="listbox_set_page"]</td>\n lines_per_pages python:10">\n
<td>2</td>\n <tal:block metal:use-macro="here/ListBoxZuite_CommonTemplate/macros/checkCurrentPage" />\n
</tal:block>\n </tal:block>\n
<tal:block tal:condition="python: context.TestTool_getSkinName()==\'Mobile\'">\n
<td>assertValue</td>\n
<td>id=listbox_page_selection</td>\n
<td>10</td>\n
</tal:block>\n
</tr>\n
\n \n
<tr>\n <tr>\n
<td>clickAndWait</td>\n <td>clickAndWait</td>\n
<td>//input[@id="listbox_next_page"]</td>\n <td>//input[@id="listbox_next_page"]</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
<tr>\n \n
<tal:block tal:condition="python: context.TestTool_getSkinName()!=\'Mobile\'">\n <tal:block tal:define="prefix string:listbox; \n
<td>assertValue</td>\n set_page python:3;\n
<td>//input[@id="listbox_set_page"]</td>\n lines_per_pages python:10">\n
<td>3</td>\n <tal:block metal:use-macro="here/ListBoxZuite_CommonTemplate/macros/checkCurrentPage" />\n
</tal:block>\n </tal:block>\n
<tal:block tal:condition="python: context.TestTool_getSkinName()==\'Mobile\'">\n
<td>assertValue</td>\n
<td>id=listbox_page_selection</td>\n
<td>20</td>\n
</tal:block>\n
</tr>\n
\n \n
<tr>\n <tr>\n
<td>clickAndWait</td>\n <td>clickAndWait</td>\n
<td>//input[@id="listbox_previous_page"]</td>\n <td>//input[@id="listbox_previous_page"]</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
<tr>\n \n
<tal:block tal:condition="python: context.TestTool_getSkinName()!=\'Mobile\'">\n <tal:block tal:define="prefix string:listbox; \n
<td>assertValue</td>\n set_page python:2;\n
<td>//input[@id="listbox_set_page"]</td>\n lines_per_pages python:10">\n
<td>2</td>\n <tal:block metal:use-macro="here/ListBoxZuite_CommonTemplate/macros/checkCurrentPage" />\n
</tal:block>\n </tal:block>\n
<tal:block tal:condition="python: context.TestTool_getSkinName()==\'Mobile\'">\n
<td>assertValue</td>\n
<td>id=listbox_page_selection</td>\n
<td>10</td>\n
</tal:block>\n
</tr>\n
\n \n
<tal:block tal:condition="python: context.TestTool_getSkinName()!=\'Mobile\'">\n <tal:block tal:condition="python: context.TestTool_getSkinName()!=\'Mobile\'">\n
<tr>\n <tr>\n
...@@ -174,11 +156,6 @@ ...@@ -174,11 +156,6 @@
<td>id=listbox_set_page</td>\n <td>id=listbox_set_page</td>\n
<td>\\13</td>\n <td>\\13</td>\n
</tr>\n </tr>\n
<tr>\n
<td>verifyValue</td>\n
<td>id=listbox_set_page</td>\n
<td>1</td>\n
</tr>\n
</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
<tr>\n <tr>\n
...@@ -186,13 +163,13 @@ ...@@ -186,13 +163,13 @@
<td>id=listbox_page_selection</td>\n <td>id=listbox_page_selection</td>\n
<td>1 of 19</td>\n <td>1 of 19</td>\n
</tr>\n </tr>\n
<tr>\n
<td>assertValue</td>\n
<td>id=listbox_page_selection</td>\n
<td>0</td>\n
</tr>\n
</tal:block>\n </tal:block>\n
\n \n
<tal:block tal:define="prefix string:listbox; \n
set_page python:1;\n
lines_per_pages python:10">\n
<tal:block metal:use-macro="here/ListBoxZuite_CommonTemplate/macros/checkCurrentPage" />\n
</tal:block>\n
\n \n
<tr>\n <tr>\n
<td>click</td>\n <td>click</td>\n
......
...@@ -97,54 +97,36 @@ ...@@ -97,54 +97,36 @@
<td>//input[@id="listbox_next_page"]</td>\n <td>//input[@id="listbox_next_page"]</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
<tr>\n \n
<tal:block tal:condition="python: context.TestTool_getSkinName()!=\'Mobile\'">\n <tal:block tal:define="prefix string:listbox; \n
<td>assertValue</td>\n set_page python:2;\n
<td>//input[@id="listbox_set_page"]</td>\n lines_per_pages python:10">\n
<td>2</td>\n <tal:block metal:use-macro="here/ListBoxZuite_CommonTemplate/macros/checkCurrentPage" />\n
</tal:block>\n </tal:block>\n
<tal:block tal:condition="python: context.TestTool_getSkinName()==\'Mobile\'">\n
<td>assertValue</td>\n
<td>id=listbox_page_selection</td>\n
<td>10</td>\n
</tal:block>\n
</tr>\n
\n \n
<tr>\n <tr>\n
<td>clickAndWait</td>\n <td>clickAndWait</td>\n
<td>//input[@id="listbox_next_page"]</td>\n <td>//input[@id="listbox_next_page"]</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
<tr>\n \n
<tal:block tal:condition="python: context.TestTool_getSkinName()!=\'Mobile\'">\n <tal:block tal:define="prefix string:listbox; \n
<td>assertValue</td>\n set_page python:3;\n
<td>//input[@id="listbox_set_page"]</td>\n lines_per_pages python:10">\n
<td>3</td>\n <tal:block metal:use-macro="here/ListBoxZuite_CommonTemplate/macros/checkCurrentPage" />\n
</tal:block>\n </tal:block>\n
<tal:block tal:condition="python: context.TestTool_getSkinName()==\'Mobile\'">\n
<td>assertValue</td>\n
<td>id=listbox_page_selection</td>\n
<td>20</td>\n
</tal:block>\n
</tr>\n
\n \n
<tr>\n <tr>\n
<td>clickAndWait</td>\n <td>clickAndWait</td>\n
<td>//input[@id="listbox_previous_page"]</td>\n <td>//input[@id="listbox_previous_page"]</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
<tr>\n \n
<tal:block tal:condition="python: context.TestTool_getSkinName()!=\'Mobile\'">\n <tal:block tal:define="prefix string:listbox; \n
<td>assertValue</td>\n set_page python:2;\n
<td>//input[@id="listbox_set_page"]</td>\n lines_per_pages python:10">\n
<td>2</td>\n <tal:block metal:use-macro="here/ListBoxZuite_CommonTemplate/macros/checkCurrentPage" />\n
</tal:block>\n </tal:block>\n
<tal:block tal:condition="python: context.TestTool_getSkinName()==\'Mobile\'">\n
<td>assertValue</td>\n
<td>id=listbox_page_selection</td>\n
<td>10</td>\n
</tal:block>\n
</tr>\n
\n \n
<tal:block tal:condition="python: context.TestTool_getSkinName()!=\'Mobile\'">\n <tal:block tal:condition="python: context.TestTool_getSkinName()!=\'Mobile\'">\n
<tr>\n <tr>\n
...@@ -157,11 +139,6 @@ ...@@ -157,11 +139,6 @@
<td>id=listbox_set_page</td>\n <td>id=listbox_set_page</td>\n
<td>\\13</td>\n <td>\\13</td>\n
</tr>\n </tr>\n
<tr>\n
<td>assertValue</td>\n
<td>//input[@id="listbox_set_page"]</td>\n
<td>1</td>\n
</tr>\n
</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
<tr>\n <tr>\n
...@@ -169,11 +146,12 @@ ...@@ -169,11 +146,12 @@
<td>id=listbox_page_selection</td>\n <td>id=listbox_page_selection</td>\n
<td>1 of 135</td>\n <td>1 of 135</td>\n
</tr>\n </tr>\n
<tr>\n </tal:block>\n
<td>assertValue</td>\n \n
<td>id=listbox_page_selection</td>\n <tal:block tal:define="prefix string:listbox; \n
<td>0</td>\n set_page python:1;\n
</tr>\n lines_per_pages python:10">\n
<tal:block metal:use-macro="here/ListBoxZuite_CommonTemplate/macros/checkCurrentPage" />\n
</tal:block>\n </tal:block>\n
\n \n
<tal:block tal:condition="python: context.TestTool_getSkinName()!=\'Mobile\'">\n <tal:block tal:condition="python: context.TestTool_getSkinName()!=\'Mobile\'">\n
...@@ -187,11 +165,6 @@ ...@@ -187,11 +165,6 @@
<td>id=listbox_set_page</td>\n <td>id=listbox_set_page</td>\n
<td>\\13</td>\n <td>\\13</td>\n
</tr>\n </tr>\n
<tr>\n
<td>assertValue</td>\n
<td>//input[@id="listbox_set_page"]</td>\n
<td>3</td>\n
</tr>\n
</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
<tr>\n <tr>\n
...@@ -199,11 +172,12 @@ ...@@ -199,11 +172,12 @@
<td>id=listbox_page_selection</td>\n <td>id=listbox_page_selection</td>\n
<td>3 of 135</td>\n <td>3 of 135</td>\n
</tr>\n </tr>\n
<tr>\n </tal:block>\n
<td>assertValue</td>\n \n
<td>id=listbox_page_selection</td>\n <tal:block tal:define="prefix string:listbox; \n
<td>20</td>\n set_page python:3;\n
</tr>\n lines_per_pages python:10">\n
<tal:block metal:use-macro="here/ListBoxZuite_CommonTemplate/macros/checkCurrentPage" />\n
</tal:block>\n </tal:block>\n
\n \n
<tr>\n <tr>\n
......
...@@ -107,18 +107,13 @@ ...@@ -107,18 +107,13 @@
<td>//input[@id="listbox_next_page"]</td>\n <td>//input[@id="listbox_next_page"]</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
<tr>\n \n
<tal:block tal:condition="python: context.TestTool_getSkinName()!=\'Mobile\'">\n <tal:block tal:define="prefix string:listbox; \n
<td>assertValue</td>\n set_page python:2;\n
<td>//input[@id="listbox_set_page"]</td>\n lines_per_pages python:10">\n
<td>2</td>\n <tal:block metal:use-macro="here/ListBoxZuite_CommonTemplate/macros/checkCurrentPage" />\n
</tal:block>\n </tal:block>\n
<tal:block tal:condition="python: context.TestTool_getSkinName()==\'Mobile\'">\n \n
<td>assertValue</td>\n
<td>id=listbox_page_selection</td>\n
<td>10</td>\n
</tal:block>\n
</tr>\n
<tr>\n <tr>\n
<td>assertValue</td>\n <td>assertValue</td>\n
<td>title</td>\n <td>title</td>\n
...@@ -130,18 +125,13 @@ ...@@ -130,18 +125,13 @@
<td>//input[@id="listbox_next_page"]</td>\n <td>//input[@id="listbox_next_page"]</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
<tr>\n \n
<tal:block tal:condition="python: context.TestTool_getSkinName()!=\'Mobile\'">\n <tal:block tal:define="prefix string:listbox; \n
<td>assertValue</td>\n set_page python:3;\n
<td>//input[@id="listbox_set_page"]</td>\n lines_per_pages python:10">\n
<td>3</td>\n <tal:block metal:use-macro="here/ListBoxZuite_CommonTemplate/macros/checkCurrentPage" />\n
</tal:block>\n </tal:block>\n
<tal:block tal:condition="python: context.TestTool_getSkinName()==\'Mobile\'">\n \n
<td>assertValue</td>\n
<td>id=listbox_page_selection</td>\n
<td>20</td>\n
</tal:block>\n
</tr>\n
<tr>\n <tr>\n
<td>assertValue</td>\n <td>assertValue</td>\n
<td>title</td>\n <td>title</td>\n
...@@ -153,18 +143,12 @@ ...@@ -153,18 +143,12 @@
<td>//input[@id="listbox_previous_page"]</td>\n <td>//input[@id="listbox_previous_page"]</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
<tr>\n \n
<tal:block tal:condition="python: context.TestTool_getSkinName()!=\'Mobile\'">\n <tal:block tal:define="prefix string:listbox; \n
<td>assertValue</td>\n set_page python:2;\n
<td>//input[@id="listbox_set_page"]</td>\n lines_per_pages python:10">\n
<td>2</td>\n <tal:block metal:use-macro="here/ListBoxZuite_CommonTemplate/macros/checkCurrentPage" />\n
</tal:block>\n </tal:block>\n
<tal:block tal:condition="python: context.TestTool_getSkinName()==\'Mobile\'">\n
<td>assertValue</td>\n
<td>id=listbox_page_selection</td>\n
<td>10</td>\n
</tal:block>\n
</tr>\n
\n \n
<tal:block tal:condition="python: context.TestTool_getSkinName()!=\'Mobile\'">\n <tal:block tal:condition="python: context.TestTool_getSkinName()!=\'Mobile\'">\n
<tr>\n <tr>\n
......
490 492
\ 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