Commit ffb154bb authored by Mohamadou Mbengue's avatar Mohamadou Mbengue

2009-08-20 Mohamadou

* Update listbox_zuite to support mobile ui tests.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@28508 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 46cd853d
...@@ -88,14 +88,23 @@ ...@@ -88,14 +88,23 @@
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>verifyText</td>\n <td>verifyText</td>\n
<td>//tr[@id="listbox_data_line_0"]/td[2]</td>\n <td>//*[@id="listbox_data_line_0"]//a[not(@title)][1]</td>\n
<td>0</td>\n <td>0</td>\n
</tr>\n </tr>\n
<tal:block tal:condition="python: context.TestTool_getSkinName()!=\'Mobile\'">\n
<tr>\n <tr>\n
<td>verifyText</td>\n <td>verifyText</td>\n
<td>//tr[@id="listbox_data_line_0"]/td[3]</td>\n <td>//tr[@id="listbox_data_line_0"]/td[3]</td>\n
<td>Foo Title 0</td>\n <td>Foo Title 0</td>\n
</tr>\n </tr>\n
</tal:block>\n
<tal:block tal:condition="python: context.TestTool_getSkinName()==\'Mobile\'">\n
<tr>\n
<td>verifyText</td>\n
<td>//*[@id="listbox_data_line_0"]//span[@id=\'data_short\']</td>\n
<td>Foo Title 0</td>\n
</tr>\n
</tal:block>\n
\n \n
</tbody></table>\n </tbody></table>\n
</body>\n </body>\n
......
...@@ -87,6 +87,7 @@ ...@@ -87,6 +87,7 @@
<td>${base_url}/foo_module/view</td>\n <td>${base_url}/foo_module/view</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
<tal:block tal:condition="python: context.TestTool_getSkinName()!=\'Mobile\'">\n
<tr>\n <tr>\n
<td>verifyText</td>\n <td>verifyText</td>\n
<td>//tr[@id="listbox_label_line"]/td[2]</td>\n <td>//tr[@id="listbox_label_line"]/td[2]</td>\n
...@@ -101,7 +102,7 @@ ...@@ -101,7 +102,7 @@
<td>verifyText</td>\n <td>verifyText</td>\n
<td>//tr[@id="listbox_label_line"]/td[4]</td>\n <td>//tr[@id="listbox_label_line"]/td[4]</td>\n
<td>Quantity</td>\n <td>Quantity</td>\n
</tr>\n </tr> \n
<tr>\n <tr>\n
<td>verifyEditable</td>\n <td>verifyEditable</td>\n
<td>//tr[@id="listbox_search_line"]/td[2]//input</td>\n <td>//tr[@id="listbox_search_line"]/td[2]//input</td>\n
...@@ -249,6 +250,161 @@ ...@@ -249,6 +250,161 @@
<td>//tr[@id="listbox_stat_line"]/td[4]</td>\n <td>//tr[@id="listbox_stat_line"]/td[4]</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
</tal:block>\n
<tal:block tal:condition="python: context.TestTool_getSkinName()==\'Mobile\'">\n
<tr>\n
<td>verifyText</td>\n
<td>//*[@id="listbox_data_line_0"]/div[2]//span[1]</td>\n
<td>Title</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//*[@id="listbox_data_line_0"]/div[3]//span[1]</td>\n
<td>Quantity</td>\n
</tr> \n
<tr>\n
<td>verifyEditable</td>\n
<td>//*[@id="listbox_search_line"]//div[@id=\'0\']//input</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyEditable</td>\n
<td>//*[@id="listbox_search_line"]//div[@id=\'1\']//input</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyElementNotPresent</td>\n
<td>//*[@id="listbox_search_line"]//div[@id=\'2\']//input</td>\n
<td></td>\n
</tr>\n
<!-- <tr>\n
<td>verifyElementPresent</td>\n
<td>//tr[@id="listbox_search_line"]/td[4]</td>\n
<td></td>\n
</tr> -->\n
<tr>\n
<td>verifyText</td>\n
<td>//*[@id="listbox_data_line_0"]//a[not(@title)]</td>\n
<td>0</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//*[@id="listbox_data_line_0"]/div[2]//span[@id=\'data_short\']</td>\n
<td>Title 0</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//*[@id="listbox_data_line_0"]/div[3]//span[@id=\'data_short\']</td>\n
<td>10.0</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//*[@id="listbox_stat_line"]/div[2]//span[3]</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//*[@id="listbox_stat_line"]/div[3]//span[3]</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//*[@id="listbox_stat_line"]/div[4]//span[3]</td>\n
<td></td>\n
</tr>\n
<!-- Go to the configure dialog -->\n
<tr>\n
<td>clickAndWait</td>\n
<td>//a[@title=\'Configure\']</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>select</td>\n
<td>//tr[@id="column_1"]//select[@name="field_columns"]</td>\n
<td>ID</td>\n
</tr>\n
<tr>\n
<td>select</td>\n
<td>//tr[@id="column_1"]//select[@name="stat_columns"]</td>\n
<td>count</td>\n
</tr>\n
<tr>\n
<td>select</td>\n
<td>//tr[@id="column_2"]//select[@name="field_columns"]</td>\n
<td>Title</td>\n
</tr>\n
<tr>\n
<td>select</td>\n
<td>//tr[@id="column_2"]//select[@name="stat_columns"]</td>\n
<td>count</td>\n
</tr>\n
<tr>\n
<td>select</td>\n
<td>//tr[@id="column_3"]//select[@name="field_columns"]</td>\n
<td>None</td>\n
</tr>\n
<tr>\n
<td>clickAndWait</td>\n
<td>Base_callDialogMethod:method</td>\n
<td></td>\n
</tr>\n
<!-- Check the result -->\n
<tr>\n
<td>verifyText</td>\n
<td>//*[@id="listbox_data_line_0"]/div[2]//span[1]</td>\n
<td>Title</td>\n
</tr>\n
<tr>\n
<td>verifyElementNotPresent</td>\n
<td>//*[@id="listbox_data_line_0"]/div[3]</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyEditable</td>\n
<td>//*[@id="listbox_search_line"]//div[@id=\'0\']//input</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyEditable</td>\n
<td>//*[@id="listbox_search_line"]//div[@id=\'1\']//input</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyElementNotPresent</td>\n
<td>//*[@id="listbox_search_line"]//div[@id=\'3\']//input</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//*[@id="listbox_data_line_0"]/div[2]//span[@id=\'data_short\']</td>\n
<td>Title 0</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//*[@id="listbox_data_line_0"]//a[not(@title)][1]</td>\n
<td>0</td>\n
</tr>\n
<tr>\n
<td>verifyElementNotPresent</td>\n
<td>//*[@id="listbox_data_line_0"]/div[4]</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//*[@id="listbox_stat_line"]/div[2]//span[3]</td>\n
<td>10</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//*[@id="listbox_stat_line"]/div[3]//span[3]</td>\n
<td>10</td>\n
</tr>\n
<tr>\n
<td>verifyElementNotPresent</td>\n
<td>//*[@id="listbox_stat_line"]/div[4]</td>\n
<td></td>\n
</tr>\n
</tal:block>\n
\n \n
</tbody></table>\n </tbody></table>\n
</body>\n </body>\n
......
...@@ -88,13 +88,20 @@ ...@@ -88,13 +88,20 @@
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>verifyText</td>\n <td>verifyText</td>\n
<td>//tr[@id="listbox_data_line_0"]/td[2]</td>\n <td>//*[@id="listbox_data_line_0"]//a[not(@title)]</td>\n
<td>0</td>\n <td>0</td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<tal:block tal:condition="python: context.TestTool_getSkinName()!=\'Mobile\'">\n
<td>verifyText</td>\n <td>verifyText</td>\n
<td>//tr[@id="listbox_data_line_0"]/td[3]</td>\n <td>//tr[@id="listbox_data_line_0"]/td[3]</td>\n
<td>Title 0</td>\n <td>Title 0</td>\n
</tal:block>\n
<tal:block tal:condition="python: context.TestTool_getSkinName()==\'Mobile\'">\n
<td>verifyText</td>\n
<td>//*[@id="listbox_data_line_0"]/div[2]//span[@id=\'data_short\']</td>\n
<td>Title 0</td>\n
</tal:block> \n
</tr>\n </tr>\n
\n \n
</tbody></table>\n </tbody></table>\n
......
...@@ -76,6 +76,7 @@ ...@@ -76,6 +76,7 @@
<td>${base_url}/foo_module/view</td>\n <td>${base_url}/foo_module/view</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
<tal:block tal:condition="python: context.TestTool_getSkinName()!=\'Mobile\'">\n
<tr>\n <tr>\n
<td>verifyEditable</td>\n <td>verifyEditable</td>\n
<td>//tr[@id="listbox_search_line"]/td[2]//input</td>\n <td>//tr[@id="listbox_search_line"]/td[2]//input</td>\n
...@@ -126,6 +127,60 @@ ...@@ -126,6 +127,60 @@
<td>//tr[@id="listbox_data_line_2"]/td[2]</td>\n <td>//tr[@id="listbox_data_line_2"]/td[2]</td>\n
<td>2</td>\n <td>2</td>\n
</tr>\n </tr>\n
</tal:block>\n
<tal:block tal:condition="python: context.TestTool_getSkinName()==\'Mobile\'">\n
<tr>\n
<td>verifyEditable</td>\n
<td>//*[@id="listbox_search_line"]//div[@id=\'0\']//input</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyValue</td>\n
<td>//*[@id="listbox_search_line"]//div[@id=\'0\']//input</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyEditable</td>\n
<td>//*[@id="listbox_search_line"]//div[@id=\'1\']//input</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyValue</td>\n
<td>//*[@id="listbox_search_line"]//div[@id=\'1\']//input</td>\n
<td></td>\n
</tr>\n
<!--<tr>\n
<td>verifyElementPresent</td>\n
<td>//*[@id="listbox_search_line"]//div[@id=\'2\']//input</td>\n
<td></td>\n
</tr>-->\n
<tr>\n
<td>verifyElementNotPresent</td>\n
<td>//*[@id="listbox_search_line"]//div[@id=\'2\']</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyElementNotPresent</td>\n
<td>//*[@id="listbox_search_line"]//div[@id=\'3\']</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//*[@id="listbox_data_line_0"]//a[not(@title)]</td>\n
<td>0</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//*[@id="listbox_data_line_1"]//a[not(@title)]</td>\n
<td>1</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//*[@id="listbox_data_line_2"]//a[not(@title)]</td>\n
<td>2</td>\n
</tr>\n
</tal:block>\n
\n
<tr>\n <tr>\n
<td>assertElementNotPresent</td>\n <td>assertElementNotPresent</td>\n
<td>id=listbox_data_line_3</td>\n <td>id=listbox_data_line_3</td>\n
...@@ -153,7 +208,8 @@ ...@@ -153,7 +208,8 @@
<td></td>\n <td></td>\n
</tr>\n </tr>\n
<!-- Check the result -->\n <!-- Check the result -->\n
<tr>\n <tal:block tal:condition="python: context.TestTool_getSkinName()!=\'Mobile\'">\n
<tr>\n
<td>verifyEditable</td>\n <td>verifyEditable</td>\n
<td>//tr[@id="listbox_search_line"]/td[2]//input</td>\n <td>//tr[@id="listbox_search_line"]/td[2]//input</td>\n
<td></td>\n <td></td>\n
...@@ -188,9 +244,48 @@ ...@@ -188,9 +244,48 @@
<td>//tr[@id="listbox_search_line"]/td[5]</td>\n <td>//tr[@id="listbox_search_line"]/td[5]</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
</tal:block>\n
<tal:block tal:condition="python: context.TestTool_getSkinName()==\'Mobile\'">\n
<tr>\n
<td>verifyEditable</td>\n
<td>//*[@id="listbox_search_line"]//div[@id=\'0\']//input</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyValue</td>\n
<td>//*[@id="listbox_search_line"]//div[@id=\'0\']//input</td>\n
<td>0</td>\n
</tr>\n
<tr>\n
<td>verifyEditable</td>\n
<td>//*[@id="listbox_search_line"]//div[@id=\'1\']//input</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyValue</td>\n
<td>//*[@id="listbox_search_line"]//div[@id=\'1\']//input</td>\n
<td>%l%</td>\n
</tr>\n
<!--<tr>\n
<td>verifyElementPresent</td>\n
<td>//tr[@id="listbox_search_line"]/td[4]</td>\n
<td></td>\n
</tr>-->\n
<tr>\n
<td>verifyElementNotPresent</td>\n
<td>//*[@id="listbox_search_line"]//div[@id=\'2\']//input</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyElementNotPresent</td>\n
<td>//*[@id="listbox_search_line"]//div[@id=\'3\']//input</td>\n
<td></td>\n
</tr>\n
</tal:block>\n
\n
<tr>\n <tr>\n
<td>verifyText</td>\n <td>verifyText</td>\n
<td>//tr[@id="listbox_data_line_0"]/td[2]</td>\n <td>//*[@id="listbox_data_line_0"]//a[not(@title)]</td>\n
<td>0</td>\n <td>0</td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
...@@ -198,7 +293,6 @@ ...@@ -198,7 +293,6 @@
<td>id=listbox_data_line_1</td>\n <td>id=listbox_data_line_1</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
\n
</tbody></table>\n </tbody></table>\n
</body>\n </body>\n
</html>\n </html>\n
......
...@@ -87,6 +87,9 @@ ...@@ -87,6 +87,9 @@
<td>${base_url}/foo_module/view</td>\n <td>${base_url}/foo_module/view</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
<!-- List cannot be sorted using the title link\n
So this part is skipped -->\n
<tal:block tal:condition="python: context.TestTool_getSkinName()!=\'Mobile\'">\n
<tr>\n <tr>\n
<td>assertElementPresent</td>\n <td>assertElementPresent</td>\n
<td>//tr[@id="listbox_label_line"]/td[2]</td>\n <td>//tr[@id="listbox_label_line"]/td[2]</td>\n
...@@ -117,6 +120,9 @@ ...@@ -117,6 +120,9 @@
<td>//tr[@id="listbox_label_line"]/td[4]/img</td>\n <td>//tr[@id="listbox_label_line"]/td[4]/img</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
</tal:block>\n
\n
<tal:block tal:condition="python: context.TestTool_getSkinName()!=\'Mobile\'">\n
<tr>\n <tr>\n
<td>verifyText</td>\n <td>verifyText</td>\n
<td>//tr[@id="listbox_data_line_0"]/td[2]</td>\n <td>//tr[@id="listbox_data_line_0"]/td[2]</td>\n
...@@ -132,6 +138,25 @@ ...@@ -132,6 +138,25 @@
<td>//tr[@id="listbox_data_line_2"]/td[2]</td>\n <td>//tr[@id="listbox_data_line_2"]/td[2]</td>\n
<td>2</td>\n <td>2</td>\n
</tr>\n </tr>\n
</tal:block>\n
<tal:block tal:condition="python: context.TestTool_getSkinName()==\'Mobile\'">\n
<tr>\n
<td>verifyText</td>\n
<td>//*[@id="listbox_data_line_0"]//a[not(@title)]</td>\n
<td>0</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//*[@id="listbox_data_line_1"]//a[not(@title)]</td>\n
<td>1</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//*[@id="listbox_data_line_2"]//a[not(@title)]</td>\n
<td>2</td>\n
</tr>\n
</tal:block>\n
\n
<tr>\n <tr>\n
<td>assertElementNotPresent</td>\n <td>assertElementNotPresent</td>\n
<td>id=listbox_data_line_3</td>\n <td>id=listbox_data_line_3</td>\n
...@@ -164,6 +189,9 @@ ...@@ -164,6 +189,9 @@
<td></td>\n <td></td>\n
</tr>\n </tr>\n
<!-- Check the result -->\n <!-- Check the result -->\n
<!-- List cannot be sorted using the title link\n
So this part is skipped -->\n
<tal:block tal:condition="python: context.TestTool_getSkinName()!=\'Mobile\'">\n
<tr>\n <tr>\n
<td>assertElementPresent</td>\n <td>assertElementPresent</td>\n
<td>//tr[@id="listbox_label_line"]/td[2]</td>\n <td>//tr[@id="listbox_label_line"]/td[2]</td>\n
...@@ -204,6 +232,9 @@ ...@@ -204,6 +232,9 @@
<td>//tr[@id="listbox_label_line"]/td[4]/img</td>\n <td>//tr[@id="listbox_label_line"]/td[4]/img</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
</tal:block>\n
\n
<tal:block tal:condition="python: context.TestTool_getSkinName()!=\'Mobile\'">\n
<tr>\n <tr>\n
<td>verifyText</td>\n <td>verifyText</td>\n
<td>//tr[@id="listbox_data_line_0"]/td[2]</td>\n <td>//tr[@id="listbox_data_line_0"]/td[2]</td>\n
...@@ -219,12 +250,29 @@ ...@@ -219,12 +250,29 @@
<td>//tr[@id="listbox_data_line_2"]/td[2]</td>\n <td>//tr[@id="listbox_data_line_2"]/td[2]</td>\n
<td>7</td>\n <td>7</td>\n
</tr>\n </tr>\n
</tal:block>\n
<tal:block tal:condition="python: context.TestTool_getSkinName()==\'Mobile\'">\n
<tr>\n
<td>verifyText</td>\n
<td>//*[@id="listbox_data_line_0"]//a[not(@title)]</td>\n
<td>9</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//*[@id="listbox_data_line_1"]//a[not(@title)]</td>\n
<td>8</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//*[@id="listbox_data_line_2"]//a[not(@title)]</td>\n
<td>7</td>\n
</tr>\n
</tal:block>\n
<tr>\n <tr>\n
<td>assertElementNotPresent</td>\n <td>assertElementNotPresent</td>\n
<td>id=listbox_data_line_3</td>\n <td>id=listbox_data_line_3</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
\n
</tbody></table>\n </tbody></table>\n
</body>\n </body>\n
</html>\n </html>\n
......
...@@ -103,9 +103,10 @@ ...@@ -103,9 +103,10 @@
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>verifyText</td>\n <td>verifyText</td>\n
<td>//tr[@id="listbox_data_line_0"]/td[2]</td>\n <td>//*[@id="listbox_data_line_0"]//a[not(@title)]</td>\n
<td>0</td>\n <td>0</td>\n
</tr>\n </tr>\n
<tal:block tal:condition="python: context.TestTool_getSkinName()!=\'Mobile\'">\n
<tr>\n <tr>\n
<td>verifyText</td>\n <td>verifyText</td>\n
<td>//tr[@id="listbox_data_line_0"]/td[3]</td>\n <td>//tr[@id="listbox_data_line_0"]/td[3]</td>\n
...@@ -116,11 +117,25 @@ ...@@ -116,11 +117,25 @@
<td>//tr[@id="listbox_data_line_0"]/td[4]</td>\n <td>//tr[@id="listbox_data_line_0"]/td[4]</td>\n
<td>10.0</td>\n <td>10.0</td>\n
</tr>\n </tr>\n
</tal:block>\n
<tal:block tal:condition="python: context.TestTool_getSkinName()==\'Mobile\'">\n
<tr>\n <tr>\n
<td>verifyText</td>\n <td>verifyText</td>\n
<td>//tr[@id="listbox_data_line_1"]/td[2]</td>\n <td>//*[@id="listbox_data_line_0"]/div[2]//span[@id=\'data_short\']</td>\n
<td>Title 0</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//*[@id="listbox_data_line_0"]/div[3]//span[@id=\'data_short\']</td>\n
<td>10.0</td>\n
</tr>\n
</tal:block> \n
<tr>\n
<td>verifyText</td>\n
<td>//*[@id="listbox_data_line_1"]//a[not(@title)]</td>\n
<td>1</td>\n <td>1</td>\n
</tr>\n </tr>\n
<tal:block tal:condition="python: context.TestTool_getSkinName()!=\'Mobile\'">\n
<tr>\n <tr>\n
<td>verifyText</td>\n <td>verifyText</td>\n
<td>//tr[@id="listbox_data_line_1"]/td[3]</td>\n <td>//tr[@id="listbox_data_line_1"]/td[3]</td>\n
...@@ -131,11 +146,26 @@ ...@@ -131,11 +146,26 @@
<td>//tr[@id="listbox_data_line_1"]/td[4]</td>\n <td>//tr[@id="listbox_data_line_1"]/td[4]</td>\n
<td>9.0</td>\n <td>9.0</td>\n
</tr>\n </tr>\n
</tal:block>\n
<tal:block tal:condition="python: context.TestTool_getSkinName()==\'Mobile\'">\n
<tr>\n <tr>\n
<td>verifyText</td>\n <td>verifyText</td>\n
<td>//tr[@id="listbox_data_line_2"]/td[2]</td>\n <td>//*[@id="listbox_data_line_1"]/div[2]//span[@id=\'data_short\']</td>\n
<td>Title 1</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//*[@id="listbox_data_line_1"]/div[3]//span[@id=\'data_short\']</td>\n
<td>9.0</td>\n
</tr>\n
</tal:block> \n
\n
<tr>\n
<td>verifyText</td>\n
<td>//*[@id="listbox_data_line_2"]//a[not(@title)]</td>\n
<td>2</td>\n <td>2</td>\n
</tr>\n </tr>\n
<tal:block tal:condition="python: context.TestTool_getSkinName()!=\'Mobile\'">\n
<tr>\n <tr>\n
<td>verifyText</td>\n <td>verifyText</td>\n
<td>//tr[@id="listbox_data_line_2"]/td[3]</td>\n <td>//tr[@id="listbox_data_line_2"]/td[3]</td>\n
...@@ -146,6 +176,20 @@ ...@@ -146,6 +176,20 @@
<td>//tr[@id="listbox_data_line_2"]/td[4]</td>\n <td>//tr[@id="listbox_data_line_2"]/td[4]</td>\n
<td>8.0</td>\n <td>8.0</td>\n
</tr>\n </tr>\n
</tal:block>\n
<tal:block tal:condition="python: context.TestTool_getSkinName()==\'Mobile\'">\n
<tr>\n
<td>verifyText</td>\n
<td>//*[@id="listbox_data_line_2"]/div[2]//span[@id=\'data_short\']</td>\n
<td>Title 2</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//*[@id="listbox_data_line_2"]/div[3]//span[@id=\'data_short\']</td>\n
<td>8.0</td>\n
</tr>\n
</tal:block> \n
\n
<tr>\n <tr>\n
<td>open</td>\n <td>open</td>\n
<td>${base_url}/foo_module/FooModule_viewFooList/listbox/ListBox_setPropertyList?field_select=</td>\n <td>${base_url}/foo_module/FooModule_viewFooList/listbox/ListBox_setPropertyList?field_select=</td>\n
...@@ -183,9 +227,10 @@ ...@@ -183,9 +227,10 @@
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>verifyText</td>\n <td>verifyText</td>\n
<td>//tr[@id="listbox_data_line_0"]/td[1]</td>\n <td>//*[@id="listbox_data_line_0"]//a[not(@title)]</td>\n
<td>0</td>\n <td>0</td>\n
</tr>\n </tr>\n
<tal:block tal:condition="python: context.TestTool_getSkinName()!=\'Mobile\'">\n
<tr>\n <tr>\n
<td>verifyText</td>\n <td>verifyText</td>\n
<td>//tr[@id="listbox_data_line_0"]/td[2]</td>\n <td>//tr[@id="listbox_data_line_0"]/td[2]</td>\n
...@@ -196,11 +241,26 @@ ...@@ -196,11 +241,26 @@
<td>//tr[@id="listbox_data_line_0"]/td[3]</td>\n <td>//tr[@id="listbox_data_line_0"]/td[3]</td>\n
<td>10.0</td>\n <td>10.0</td>\n
</tr>\n </tr>\n
</tal:block>\n
<tal:block tal:condition="python: context.TestTool_getSkinName()==\'Mobile\'">\n
<tr>\n
<td>verifyText</td>\n
<td>//*[@id="listbox_data_line_0"]/div[2]//span[@id=\'data_short\']</td>\n
<td>Title 0</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//*[@id="listbox_data_line_0"]/div[3]//span[@id=\'data_short\']</td>\n
<td>10.0</td>\n
</tr>\n
</tal:block> \n
\n
<tr>\n <tr>\n
<td>verifyText</td>\n <td>verifyText</td>\n
<td>//tr[@id="listbox_data_line_1"]/td[1]</td>\n <td>//*[@id="listbox_data_line_1"]//a[not(@title)]</td>\n
<td>1</td>\n <td>1</td>\n
</tr>\n </tr>\n
<tal:block tal:condition="python: context.TestTool_getSkinName()!=\'Mobile\'">\n
<tr>\n <tr>\n
<td>verifyText</td>\n <td>verifyText</td>\n
<td>//tr[@id="listbox_data_line_1"]/td[2]</td>\n <td>//tr[@id="listbox_data_line_1"]/td[2]</td>\n
...@@ -211,11 +271,26 @@ ...@@ -211,11 +271,26 @@
<td>//tr[@id="listbox_data_line_1"]/td[3]</td>\n <td>//tr[@id="listbox_data_line_1"]/td[3]</td>\n
<td>9.0</td>\n <td>9.0</td>\n
</tr>\n </tr>\n
</tal:block>\n
<tal:block tal:condition="python: context.TestTool_getSkinName()==\'Mobile\'">\n
<tr>\n
<td>verifyText</td>\n
<td>//*[@id="listbox_data_line_1"]/div[2]//span[@id=\'data_short\']</td>\n
<td>Title 1</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//*[@id="listbox_data_line_1"]/div[3]//span[@id=\'data_short\']</td>\n
<td>9.0</td>\n
</tr>\n
</tal:block>\n
\n
<tr>\n <tr>\n
<td>verifyText</td>\n <td>verifyText</td>\n
<td>//tr[@id="listbox_data_line_2"]/td[1]</td>\n <td>//*[@id="listbox_data_line_2"]//a[not(@title)]</td>\n
<td>2</td>\n <td>2</td>\n
</tr>\n </tr>\n
<tal:block tal:condition="python: context.TestTool_getSkinName()!=\'Mobile\'">\n
<tr>\n <tr>\n
<td>verifyText</td>\n <td>verifyText</td>\n
<td>//tr[@id="listbox_data_line_2"]/td[2]</td>\n <td>//tr[@id="listbox_data_line_2"]/td[2]</td>\n
...@@ -226,7 +301,19 @@ ...@@ -226,7 +301,19 @@
<td>//tr[@id="listbox_data_line_2"]/td[3]</td>\n <td>//tr[@id="listbox_data_line_2"]/td[3]</td>\n
<td>8.0</td>\n <td>8.0</td>\n
</tr>\n </tr>\n
\n </tal:block>\n
<tal:block tal:condition="python: context.TestTool_getSkinName()==\'Mobile\'">\n
<tr>\n
<td>verifyText</td>\n
<td>//*[@id="listbox_data_line_2"]/div[2]//span[@id=\'data_short\']</td>\n
<td>Title 2</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//*[@id="listbox_data_line_2"]/div[3]//span[@id=\'data_short\']</td>\n
<td>8.0</td>\n
</tr>\n
</tal:block>\n
</tbody></table>\n </tbody></table>\n
</body>\n </body>\n
</html>\n </html>\n
......
...@@ -50,6 +50,10 @@ ...@@ -50,6 +50,10 @@
<thead>\n <thead>\n
<tr><td rowspan="1" colspan="3">Test Domain And Report Trees</td></tr>\n <tr><td rowspan="1" colspan="3">Test Domain And Report Trees</td></tr>\n
</thead><tbody>\n </thead><tbody>\n
<!-- Domain tree are not avalaible in mobile skin \n
So this part is skipped -->\n
<tal:block tal:condition="python: context.TestTool_getSkinName()!=\'Mobile\'">\n
\n
<tal:block metal:use-macro="here/ListBoxZuite_CommonTemplate/macros/init" />\n <tal:block metal:use-macro="here/ListBoxZuite_CommonTemplate/macros/init" />\n
<tr>\n <tr>\n
<td>open</td>\n <td>open</td>\n
...@@ -220,7 +224,7 @@ ...@@ -220,7 +224,7 @@
</tr>\n </tr>\n
\n \n
\n \n
\n </tal:block>\n
</tbody></table>\n </tbody></table>\n
</body>\n </body>\n
</html>\n </html>\n
......
...@@ -50,6 +50,10 @@ ...@@ -50,6 +50,10 @@
<thead>\n <thead>\n
<tr><td rowspan="1" colspan="3">Test Domain Tree</td></tr>\n <tr><td rowspan="1" colspan="3">Test Domain Tree</td></tr>\n
</thead><tbody>\n </thead><tbody>\n
<!-- Domain tree are not avalaible in mobile skin \n
So this part is skipped -->\n
<tal:block tal:condition="python: context.TestTool_getSkinName()!=\'Mobile\'">\n
\n
<tal:block metal:use-macro="here/ListBoxZuite_CommonTemplate/macros/init" />\n <tal:block metal:use-macro="here/ListBoxZuite_CommonTemplate/macros/init" />\n
<tr>\n <tr>\n
<td>open</td>\n <td>open</td>\n
...@@ -305,7 +309,7 @@ ...@@ -305,7 +309,7 @@
<td>//tr[@id="listbox_data_line_2"]/td[2]</td>\n <td>//tr[@id="listbox_data_line_2"]/td[2]</td>\n
<td>2</td>\n <td>2</td>\n
</tr>\n </tr>\n
\n </tal:block>\n
</tbody></table>\n </tbody></table>\n
</body>\n </body>\n
</html>\n </html>\n
......
...@@ -50,6 +50,10 @@ ...@@ -50,6 +50,10 @@
<thead>\n <thead>\n
<tr><td rowspan="1" colspan="3">Test Domain Tree Obsolete Value</td></tr>\n <tr><td rowspan="1" colspan="3">Test Domain Tree Obsolete Value</td></tr>\n
</thead><tbody>\n </thead><tbody>\n
<!-- Domain tree are not avalaible in mobile skin \n
So this part is skipped -->\n
<tal:block tal:condition="python: context.TestTool_getSkinName()!=\'Mobile\'">\n
\n
<tal:block metal:use-macro="here/ListBoxZuite_CommonTemplate/macros/init" />\n <tal:block metal:use-macro="here/ListBoxZuite_CommonTemplate/macros/init" />\n
<tr>\n <tr>\n
<td>open</td>\n <td>open</td>\n
...@@ -217,7 +221,7 @@ ...@@ -217,7 +221,7 @@
<td>2</td>\n <td>2</td>\n
</tr>\n </tr>\n
\n \n
\n </tal:block>\n
</tbody></table>\n </tbody></table>\n
</body>\n </body>\n
</html>\n </html>\n
......
...@@ -50,6 +50,10 @@ ...@@ -50,6 +50,10 @@
<thead>\n <thead>\n
<tr><td rowspan="1" colspan="3">Test Dynamic Domain Tree</td></tr>\n <tr><td rowspan="1" colspan="3">Test Dynamic Domain Tree</td></tr>\n
</thead><tbody>\n </thead><tbody>\n
<!-- Domain tree are not avalaible in mobile skin \n
So this part is skipped -->\n
<tal:block tal:condition="python: context.TestTool_getSkinName()!=\'Mobile\'">\n
\n
<tal:block metal:use-macro="here/ListBoxZuite_CommonTemplate/macros/init" />\n <tal:block metal:use-macro="here/ListBoxZuite_CommonTemplate/macros/init" />\n
<tr>\n <tr>\n
<td>open</td>\n <td>open</td>\n
...@@ -305,7 +309,7 @@ ...@@ -305,7 +309,7 @@
<td>//tr[@id="listbox_data_line_2"]/td[2]</td>\n <td>//tr[@id="listbox_data_line_2"]/td[2]</td>\n
<td>2</td>\n <td>2</td>\n
</tr>\n </tr>\n
\n </tal:block>\n
</tbody></table>\n </tbody></table>\n
</body>\n </body>\n
</html>\n </html>\n
......
...@@ -50,6 +50,10 @@ ...@@ -50,6 +50,10 @@
<thead>\n <thead>\n
<tr><td rowspan="1" colspan="3">Test Dynamic Report Tree</td></tr>\n <tr><td rowspan="1" colspan="3">Test Dynamic Report Tree</td></tr>\n
</thead><tbody>\n </thead><tbody>\n
<!-- Domain tree are not avalaible in mobile skin \n
So this part is skipped -->\n
<tal:block tal:condition="python: context.TestTool_getSkinName()!=\'Mobile\'">\n
\n
<tal:block metal:use-macro="here/ListBoxZuite_CommonTemplate/macros/init" />\n <tal:block metal:use-macro="here/ListBoxZuite_CommonTemplate/macros/init" />\n
<tr>\n <tr>\n
<td>open</td>\n <td>open</td>\n
...@@ -427,7 +431,7 @@ ...@@ -427,7 +431,7 @@
<td>8 record(s)</td>\n <td>8 record(s)</td>\n
</tr>\n </tr>\n
<!-- Still very far from complete. Show/Hide should be tested, closing a tree should be tested, sorting should be tested. -->\n <!-- Still very far from complete. Show/Hide should be tested, closing a tree should be tested, sorting should be tested. -->\n
\n </tal:block>\n
</tbody></table>\n </tbody></table>\n
</body>\n </body>\n
</html>\n </html>\n
......
...@@ -50,6 +50,10 @@ ...@@ -50,6 +50,10 @@
<thead>\n <thead>\n
<tr><td rowspan="1" colspan="3">Test Label Line</td></tr>\n <tr><td rowspan="1" colspan="3">Test Label Line</td></tr>\n
</thead><tbody>\n </thead><tbody>\n
<!-- In mobile-mode label Lines are only displayed if there are unless 1 record in the module\n
So this test is skipped \n
-->\n
<tal:block tal:condition="python: context.TestTool_getSkinName()!=\'Mobile\'">\n
<tal:block metal:use-macro="here/ListBoxZuite_CommonTemplate/macros/init" />\n <tal:block metal:use-macro="here/ListBoxZuite_CommonTemplate/macros/init" />\n
<tr>\n <tr>\n
<td>verifyElementPresent</td>\n <td>verifyElementPresent</td>\n
...@@ -136,7 +140,7 @@ ...@@ -136,7 +140,7 @@
<td>//tr[@id="listbox_label_line"]/td[4]</td>\n <td>//tr[@id="listbox_label_line"]/td[4]</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
\n </tal:block>\n
</tbody></table>\n </tbody></table>\n
</body>\n </body>\n
</html>\n </html>\n
......
...@@ -50,6 +50,9 @@ ...@@ -50,6 +50,9 @@
<thead>\n <thead>\n
<tr><td rowspan="1" colspan="3">Test List Action</td></tr>\n <tr><td rowspan="1" colspan="3">Test List Action</td></tr>\n
</thead><tbody>\n </thead><tbody>\n
<!-- XXX listbox_title is not displayed in mobile mode unless there is one or many records \n
So this test is skipped -->\n
<tal:block tal:condition="python: context.TestTool_getSkinName()!=\'Mobile\'">\n
<tal:block metal:use-macro="here/ListBoxZuite_CommonTemplate/macros/init" />\n <tal:block metal:use-macro="here/ListBoxZuite_CommonTemplate/macros/init" />\n
<tr>\n <tr>\n
<td>assertElementPresent</td>\n <td>assertElementPresent</td>\n
...@@ -97,7 +100,7 @@ ...@@ -97,7 +100,7 @@
<td>id=listbox_title</td>\n <td>id=listbox_title</td>\n
<td>exact:Foos:</td>\n <td>exact:Foos:</td>\n
</tr>\n </tr>\n
\n </tal:block>\n
</tbody></table>\n </tbody></table>\n
</body>\n </body>\n
</html>\n </html>\n
......
...@@ -108,9 +108,10 @@ ...@@ -108,9 +108,10 @@
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>verifyText</td>\n <td>verifyText</td>\n
<td>//tr[@id="listbox_data_line_0"]/td[2]</td>\n <td>//*[@id="listbox_data_line_0"]//a[not(@title)]</td>\n
<td>0</td>\n <td>0</td>\n
</tr>\n </tr>\n
<tal:block tal:condition="python: context.TestTool_getSkinName()!=\'Mobile\'">\n
<tr>\n <tr>\n
<td>verifyText</td>\n <td>verifyText</td>\n
<td>//tr[@id="listbox_data_line_0"]/td[3]</td>\n <td>//tr[@id="listbox_data_line_0"]/td[3]</td>\n
...@@ -121,11 +122,26 @@ ...@@ -121,11 +122,26 @@
<td>//tr[@id="listbox_data_line_0"]/td[4]</td>\n <td>//tr[@id="listbox_data_line_0"]/td[4]</td>\n
<td>10.0</td>\n <td>10.0</td>\n
</tr>\n </tr>\n
</tal:block>\n
<tal:block tal:condition="python: context.TestTool_getSkinName()==\'Mobile\'">\n
<tr>\n <tr>\n
<td>verifyText</td>\n <td>verifyText</td>\n
<td>//tr[@id="listbox_data_line_1"]/td[2]</td>\n <td>//*[@id="listbox_data_line_0"]/div[2]//span[@id=\'data_short\']</td>\n
<td>Title 0</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//*[@id="listbox_data_line_0"]/div[3]//span[@id=\'data_short\']</td>\n
<td>10.0</td>\n
</tr>\n
</tal:block>\n
\n
<tr>\n
<td>verifyText</td>\n
<td>//*[@id="listbox_data_line_1"]//a[not(@title)]</td>\n
<td>1</td>\n <td>1</td>\n
</tr>\n </tr>\n
<tal:block tal:condition="python: context.TestTool_getSkinName()!=\'Mobile\'">\n
<tr>\n <tr>\n
<td>verifyText</td>\n <td>verifyText</td>\n
<td>//tr[@id="listbox_data_line_1"]/td[3]</td>\n <td>//tr[@id="listbox_data_line_1"]/td[3]</td>\n
...@@ -136,11 +152,26 @@ ...@@ -136,11 +152,26 @@
<td>//tr[@id="listbox_data_line_1"]/td[4]</td>\n <td>//tr[@id="listbox_data_line_1"]/td[4]</td>\n
<td>9.0</td>\n <td>9.0</td>\n
</tr>\n </tr>\n
</tal:block>\n
<tal:block tal:condition="python: context.TestTool_getSkinName()==\'Mobile\'">\n
<tr>\n
<td>verifyText</td>\n
<td>//*[@id="listbox_data_line_1"]/div[2]//span[@id=\'data_short\']</td>\n
<td>Title 1</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//*[@id="listbox_data_line_1"]/div[3]//span[@id=\'data_short\']</td>\n
<td>9.0</td>\n
</tr>\n
</tal:block>\n
\n
<tr>\n <tr>\n
<td>verifyText</td>\n <td>verifyText</td>\n
<td>//tr[@id="listbox_data_line_2"]/td[2]</td>\n <td>//*[@id="listbox_data_line_2"]//a[not(@title)]</td>\n
<td>2</td>\n <td>2</td>\n
</tr>\n </tr>\n
<tal:block tal:condition="python: context.TestTool_getSkinName()!=\'Mobile\'">\n
<tr>\n <tr>\n
<td>verifyText</td>\n <td>verifyText</td>\n
<td>//tr[@id="listbox_data_line_2"]/td[3]</td>\n <td>//tr[@id="listbox_data_line_2"]/td[3]</td>\n
...@@ -151,6 +182,20 @@ ...@@ -151,6 +182,20 @@
<td>//tr[@id="listbox_data_line_2"]/td[4]</td>\n <td>//tr[@id="listbox_data_line_2"]/td[4]</td>\n
<td>8.0</td>\n <td>8.0</td>\n
</tr>\n </tr>\n
</tal:block>\n
<tal:block tal:condition="python: context.TestTool_getSkinName()==\'Mobile\'">\n
<tr>\n
<td>verifyText</td>\n
<td>//*[@id="listbox_data_line_2"]/div[2]//span[@id=\'data_short\']</td>\n
<td>Title 2</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//*[@id="listbox_data_line_2"]/div[3]//span[@id=\'data_short\']</td>\n
<td>8.0</td>\n
</tr>\n
</tal:block>\n
\n
<tr>\n <tr>\n
<td>open</td>\n <td>open</td>\n
<td>${base_url}/foo_module/FooModule_viewFooList/listbox/ListBox_setPropertyList?field_meta_types=ERP5%20Toto;field_portal_types=</td>\n <td>${base_url}/foo_module/FooModule_viewFooList/listbox/ListBox_setPropertyList?field_meta_types=ERP5%20Toto;field_portal_types=</td>\n
......
...@@ -89,11 +89,13 @@ For now, selection too does not allow such deletion, so, this test is only valid ...@@ -89,11 +89,13 @@ For now, selection too does not allow such deletion, so, this test is only valid
<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
<tal:block tal:condition="python: context.TestTool_getSkinName()!=\'Mobile\'">\n
<tr>\n <tr>\n
<td>verifyElementNotPresent</td>\n <td>verifyElementNotPresent</td>\n
<td>id=listbox_page_selection</td>\n <td>id=listbox_page_selection</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr> \n
</tal:block>\n
<tr>\n <tr>\n
<td>clickAndWait</td>\n <td>clickAndWait</td>\n
<td>Base_edit:method</td>\n <td>Base_edit:method</td>\n
......
...@@ -108,9 +108,10 @@ ...@@ -108,9 +108,10 @@
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>verifyText</td>\n <td>verifyText</td>\n
<td>//tr[@id="listbox_data_line_0"]/td[2]</td>\n <td>//*[@id="listbox_data_line_0"]//a[not(@title)]</td>\n
<td>0</td>\n <td>0</td>\n
</tr>\n </tr>\n
<tal:block tal:condition="python: context.TestTool_getSkinName()!=\'Mobile\'">\n
<tr>\n <tr>\n
<td>verifyText</td>\n <td>verifyText</td>\n
<td>//tr[@id="listbox_data_line_0"]/td[3]</td>\n <td>//tr[@id="listbox_data_line_0"]/td[3]</td>\n
...@@ -121,11 +122,25 @@ ...@@ -121,11 +122,25 @@
<td>//tr[@id="listbox_data_line_0"]/td[4]</td>\n <td>//tr[@id="listbox_data_line_0"]/td[4]</td>\n
<td>10.0</td>\n <td>10.0</td>\n
</tr>\n </tr>\n
</tal:block>\n
<tal:block tal:condition="python: context.TestTool_getSkinName()==\'Mobile\'">\n
<tr>\n <tr>\n
<td>verifyText</td>\n <td>verifyText</td>\n
<td>//tr[@id="listbox_data_line_1"]/td[2]</td>\n <td>//*[@id="listbox_data_line_0"]/div[2]//span[@id=\'data_short\']</td>\n
<td>Title 0</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//*[@id="listbox_data_line_0"]/div[3]//span[@id=\'data_short\']</td>\n
<td>10.0</td>\n
</tr>\n
</tal:block>\n
<tr>\n
<td>verifyText</td>\n
<td>//*[@id="listbox_data_line_1"]//a[not(@title)]</td>\n
<td>1</td>\n <td>1</td>\n
</tr>\n </tr>\n
<tal:block tal:condition="python: context.TestTool_getSkinName()!=\'Mobile\'">\n
<tr>\n <tr>\n
<td>verifyText</td>\n <td>verifyText</td>\n
<td>//tr[@id="listbox_data_line_1"]/td[3]</td>\n <td>//tr[@id="listbox_data_line_1"]/td[3]</td>\n
...@@ -136,11 +151,25 @@ ...@@ -136,11 +151,25 @@
<td>//tr[@id="listbox_data_line_1"]/td[4]</td>\n <td>//tr[@id="listbox_data_line_1"]/td[4]</td>\n
<td>9.0</td>\n <td>9.0</td>\n
</tr>\n </tr>\n
</tal:block>\n
<tal:block tal:condition="python: context.TestTool_getSkinName()==\'Mobile\'">\n
<tr>\n
<td>verifyText</td>\n
<td>//*[@id="listbox_data_line_1"]/div[2]//span[@id=\'data_short\']</td>\n
<td>Title 1</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//*[@id="listbox_data_line_1"]/div[3]//span[@id=\'data_short\']</td>\n
<td>9.0</td>\n
</tr>\n
</tal:block>\n
<tr>\n <tr>\n
<td>verifyText</td>\n <td>verifyText</td>\n
<td>//tr[@id="listbox_data_line_2"]/td[2]</td>\n <td>//*[@id="listbox_data_line_2"]//a[not(@title)]</td>\n
<td>2</td>\n <td>2</td>\n
</tr>\n </tr>\n
<tal:block tal:condition="python: context.TestTool_getSkinName()!=\'Mobile\'">\n
<tr>\n <tr>\n
<td>verifyText</td>\n <td>verifyText</td>\n
<td>//tr[@id="listbox_data_line_2"]/td[3]</td>\n <td>//tr[@id="listbox_data_line_2"]/td[3]</td>\n
...@@ -151,6 +180,19 @@ ...@@ -151,6 +180,19 @@
<td>//tr[@id="listbox_data_line_2"]/td[4]</td>\n <td>//tr[@id="listbox_data_line_2"]/td[4]</td>\n
<td>8.0</td>\n <td>8.0</td>\n
</tr>\n </tr>\n
</tal:block>\n
<tal:block tal:condition="python: context.TestTool_getSkinName()==\'Mobile\'">\n
<tr>\n
<td>verifyText</td>\n
<td>//*[@id="listbox_data_line_2"]/div[2]//span[@id=\'data_short\']</td>\n
<td>Title 2</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//*[@id="listbox_data_line_2"]/div[3]//span[@id=\'data_short\']</td>\n
<td>8.0</td>\n
</tr>\n
</tal:block>\n
<tr>\n <tr>\n
<td>open</td>\n <td>open</td>\n
<td>${base_url}/foo_module/FooModule_viewFooList/listbox/ListBox_setPropertyList?field_meta_types=;field_portal_types=Toto</td>\n <td>${base_url}/foo_module/FooModule_viewFooList/listbox/ListBox_setPropertyList?field_meta_types=;field_portal_types=Toto</td>\n
......
...@@ -86,6 +86,7 @@ ...@@ -86,6 +86,7 @@
<td>${base_url}/foo_module/view</td>\n <td>${base_url}/foo_module/view</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
<tal:block tal:condition="python: context.TestTool_getSkinName()!=\'Mobile\'">\n
<tr>\n <tr>\n
<td>verifyEditable</td>\n <td>verifyEditable</td>\n
<td>//tr[@id="listbox_search_line"]/td[2]//input</td>\n <td>//tr[@id="listbox_search_line"]/td[2]//input</td>\n
...@@ -121,6 +122,36 @@ ...@@ -121,6 +122,36 @@
<td>//tr[@id="listbox_search_line"]/td[5]</td>\n <td>//tr[@id="listbox_search_line"]/td[5]</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
</tal:block>\n
<tal:block tal:condition="python: context.TestTool_getSkinName()==\'Mobile\'">\n
<tr>\n
<td>verifyEditable</td>\n
<td>//*[@id="listbox_search_line"]//div[@id=\'0\']//input</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyValue</td>\n
<td>//*[@id="listbox_search_line"]//div[@id=\'0\']//input</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyElementNotPresent</td>\n
<td>//*[@id="listbox_search_line"]//div[@id=\'1\']</td>\n
<td></td>\n
</tr>\n
\n
<tr>\n
<td>verifyElementNotPresent</td>\n
<td>//*[@id="listbox_search_line"]//div[@id=\'2\']</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyElementNotPresent</td>\n
<td>//*[@id="listbox_search_line"]//div[@id=\'3\']</td>\n
<td></td>\n
</tr>\n
</tal:block>\n
\n
<tr>\n <tr>\n
<td>open</td>\n <td>open</td>\n
<td>${base_url}/foo_module/FooModule_viewFooList/listbox/ListBox_setPropertyList</td>\n <td>${base_url}/foo_module/FooModule_viewFooList/listbox/ListBox_setPropertyList</td>\n
...@@ -137,6 +168,7 @@ ...@@ -137,6 +168,7 @@
<td></td>\n <td></td>\n
</tr>\n </tr>\n
<!-- Search by id -->\n <!-- Search by id -->\n
<tal:block tal:condition="python: context.TestTool_getSkinName()!=\'Mobile\'">\n
<tr>\n <tr>\n
<td>type</td>\n <td>type</td>\n
<td>//tr[@id="listbox_search_line"]/td[2]//input</td>\n <td>//tr[@id="listbox_search_line"]/td[2]//input</td>\n
...@@ -177,9 +209,47 @@ ...@@ -177,9 +209,47 @@
<td>//tr[@id="listbox_search_line"]/td[5]</td>\n <td>//tr[@id="listbox_search_line"]/td[5]</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
</tal:block>\n
<tal:block tal:condition="python: context.TestTool_getSkinName()==\'Mobile\'">\n
<tr>\n
<td>type</td>\n
<td>//*[@id="listbox_search_line"]//div[@id=\'0\']//input</td>\n
<td>0</td>\n
</tr>\n
<tr>\n
<td>clickAndWait</td>\n
<td>Base_doSelect:method</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyEditable</td>\n
<td>//*[@id="listbox_search_line"]//div[@id=\'0\']//input</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyValue</td>\n
<td>//*[@id="listbox_search_line"]//div[@id=\'0\']//input</td>\n
<td>0</td>\n
</tr>\n
<tr>\n
<td>verifyEditable</td>\n
<td>//*[@id="listbox_search_line"]//div[@id=\'1\']//input</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyElementNotPresent</td>\n
<td>//*[@id="listbox_search_line"]//div[@id=\'2\']//input</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyElementNotPresent</td>\n
<td>//*[@id="listbox_search_line"]//div[@id=\'3\']//input</td>\n
<td></td>\n
</tr>\n
</tal:block>\n
<tr>\n <tr>\n
<td>verifyText</td>\n <td>verifyText</td>\n
<td>//tr[@id="listbox_data_line_0"]/td[2]</td>\n <td>//*[@id="listbox_data_line_0"]//a[not(@title)]</td>\n
<td>0</td>\n <td>0</td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
...@@ -188,6 +258,7 @@ ...@@ -188,6 +258,7 @@
<td></td>\n <td></td>\n
</tr>\n </tr>\n
<!-- Search by title -->\n <!-- Search by title -->\n
<tal:block tal:condition="python: context.TestTool_getSkinName()!=\'Mobile\'">\n
<tr>\n <tr>\n
<td>type</td>\n <td>type</td>\n
<td>//tr[@id="listbox_search_line"]/td[3]//input</td>\n <td>//tr[@id="listbox_search_line"]/td[3]//input</td>\n
...@@ -238,19 +309,68 @@ ...@@ -238,19 +309,68 @@
<td>//tr[@id="listbox_search_line"]/td[5]</td>\n <td>//tr[@id="listbox_search_line"]/td[5]</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
</tal:block>\n
<tal:block tal:condition="python: context.TestTool_getSkinName()==\'Mobile\'">\n
<tr>\n
<td>type</td>\n
<td>//*[@id="listbox_search_line"]//div[@id=\'1\']//input</td>\n
<td>T%</td>\n
</tr>\n
<tr>\n
<td>type</td>\n
<td>//*[@id="listbox_search_line"]//div[@id=\'0\']//input</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>clickAndWait</td>\n
<td>Base_doSelect:method</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyEditable</td>\n
<td>//*[@id="listbox_search_line"]//div[@id=\'0\']//input</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyValue</td>\n
<td>//*[@id="listbox_search_line"]//div[@id=\'0\']//input</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyEditable</td>\n
<td>//*[@id="listbox_search_line"]//div[@id=\'1\']//input</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyValue</td>\n
<td>//*[@id="listbox_search_line"]//div[@id=\'1\']//input</td>\n
<td>T%</td>\n
</tr>\n
<tr>\n
<td>verifyElementNotPresent</td>\n
<td>//*[@id="listbox_search_line"]//div[@id=\'2\']//input</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyElementNotPresent</td>\n
<td>//*[@id="listbox_search_line"]//div[@id=\'3\']//input</td>\n
<td></td>\n
</tr>\n
</tal:block> \n
\n
<tr>\n <tr>\n
<td>verifyText</td>\n <td>verifyText</td>\n
<td>//tr[@id="listbox_data_line_0"]/td[2]</td>\n <td>//*[@id="listbox_data_line_0"]//a[not(@title)]</td>\n
<td>0</td>\n <td>0</td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>verifyText</td>\n <td>verifyText</td>\n
<td>//tr[@id="listbox_data_line_1"]/td[2]</td>\n <td>//*[@id="listbox_data_line_1"]//a[not(@title)]</td>\n
<td>1</td>\n <td>1</td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>verifyText</td>\n <td>verifyText</td>\n
<td>//tr[@id="listbox_data_line_2"]/td[2]</td>\n <td>//*[@id="listbox_data_line_2"]//a[not(@title)]</td>\n
<td>2</td>\n <td>2</td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
......
...@@ -50,6 +50,9 @@ ...@@ -50,6 +50,9 @@
<thead>\n <thead>\n
<tr><td rowspan="1" colspan="3">Test Quick Sort</td></tr>\n <tr><td rowspan="1" colspan="3">Test Quick Sort</td></tr>\n
</thead><tbody>\n </thead><tbody>\n
<!-- XXX Mobile listbox columns label are not clickable for quick sorting\n
So this test is skipped -->\n
<tal:block tal:condition="python: context.TestTool_getSkinName()!=\'Mobile\'">\n
<tal:block metal:use-macro="here/ListBoxZuite_CommonTemplate/macros/init" />\n <tal:block metal:use-macro="here/ListBoxZuite_CommonTemplate/macros/init" />\n
<tr>\n <tr>\n
<td>open</td>\n <td>open</td>\n
...@@ -410,6 +413,7 @@ ...@@ -410,6 +413,7 @@
<td>id=listbox_data_line_3</td>\n <td>id=listbox_data_line_3</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
</tal:block>\n
\n \n
</tbody></table>\n </tbody></table>\n
</body>\n </body>\n
......
...@@ -50,7 +50,9 @@ ...@@ -50,7 +50,9 @@
<thead>\n <thead>\n
<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
\n <!-- XXX Report tree mode doesn\'t exists in mobile\n
So this test is skipped -->\n
<tal:block tal:condition="python: context.TestTool_getSkinName()!=\'Mobile\'">\n
\n \n
<!--\n <!--\n
=== PART 0 ===\n === PART 0 ===\n
...@@ -431,7 +433,7 @@ ...@@ -431,7 +433,7 @@
<td tal:content="string:glob:${here/portal_url}/foo_module/0/unfoldDomain*" />\n <td tal:content="string:glob:${here/portal_url}/foo_module/0/unfoldDomain*" />\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
\n </tal:block>\n
\n \n
\n \n
</tbody>\n </tbody>\n
......
...@@ -50,6 +50,9 @@ ...@@ -50,6 +50,9 @@
<thead>\n <thead>\n
<tr><td rowspan="1" colspan="3">Test Report Tree</td></tr>\n <tr><td rowspan="1" colspan="3">Test Report Tree</td></tr>\n
</thead><tbody>\n </thead><tbody>\n
<!-- XXX Report tree mode doesn\'t exists in mobile\n
So this test is skipped -->\n
<tal:block tal:condition="python: context.TestTool_getSkinName()!=\'Mobile\'">\n
<tal:block metal:use-macro="here/ListBoxZuite_CommonTemplate/macros/init" />\n <tal:block metal:use-macro="here/ListBoxZuite_CommonTemplate/macros/init" />\n
<tr>\n <tr>\n
<td>open</td>\n <td>open</td>\n
...@@ -447,6 +450,7 @@ ...@@ -447,6 +450,7 @@
<td>id=listbox_record_number</td>\n <td>id=listbox_record_number</td>\n
<td>0 record(s)</td>\n <td>0 record(s)</td>\n
</tr>\n </tr>\n
</tal:block>\n
\n \n
<!-- Still very far from complete. Show/Hide should be tested, closing a tree should be tested, sorting should be tested. -->\n <!-- Still very far from complete. Show/Hide should be tested, closing a tree should be tested, sorting should be tested. -->\n
\n \n
......
...@@ -50,6 +50,9 @@ ...@@ -50,6 +50,9 @@
<thead>\n <thead>\n
<tr><td rowspan="1" colspan="3">Test Report Tree with Stat Method</td></tr>\n <tr><td rowspan="1" colspan="3">Test Report Tree with Stat Method</td></tr>\n
</thead><tbody>\n </thead><tbody>\n
<!-- XXX Report tree mode doesn\'t exists in mobile\n
So this test is skipped -->\n
<tal:block tal:condition="python: context.TestTool_getSkinName()!=\'Mobile\'">\n
<tal:block metal:use-macro="here/ListBoxZuite_CommonTemplate/macros/init" />\n <tal:block metal:use-macro="here/ListBoxZuite_CommonTemplate/macros/init" />\n
<tr>\n <tr>\n
<td>open</td>\n <td>open</td>\n
...@@ -472,6 +475,7 @@ ...@@ -472,6 +475,7 @@
<td>4 record(s)</td>\n <td>4 record(s)</td>\n
</tr>\n </tr>\n
<!-- Still very far from complete. Closing a tree should be tested, sorting should be tested. -->\n <!-- Still very far from complete. Closing a tree should be tested, sorting should be tested. -->\n
</tal:block>\n
\n \n
</tbody></table>\n </tbody></table>\n
</body>\n </body>\n
......
...@@ -90,12 +90,21 @@ ...@@ -90,12 +90,21 @@
<td>listbox_record_number</td>\n <td>listbox_record_number</td>\n
<td>1 record(s)</td>\n <td>1 record(s)</td>\n
</tr>\n </tr>\n
\n
<tal:block tal:condition="python: context.TestTool_getSkinName()!=\'Mobile\'">\n
<tr>\n <tr>\n
<td>verifyText</td>\n <td>verifyText</td>\n
<td>//tr[@id="listbox_data_line_0"]/td[3]</td>\n <td>//tr[@id="listbox_data_line_0"]/td[3]</td>\n
<td>Title 0</td>\n <td>Title 0</td>\n
</tr>\n </tr>\n
\n </tal:block>\n
<tal:block tal:condition="python: context.TestTool_getSkinName()==\'Mobile\'">\n
<tr>\n
<td>verifyText</td>\n
<td>//*[@id="listbox_data_line_0"]/div[2]//span[@id=\'data_short\']</td>\n
<td>Title 0</td>\n
</tr>\n
</tal:block>\n
<!-- Search by title -->\n <!-- Search by title -->\n
<tr>\n <tr>\n
<td>open</td>\n <td>open</td>\n
...@@ -114,11 +123,21 @@ ...@@ -114,11 +123,21 @@
<td>listbox_record_number</td>\n <td>listbox_record_number</td>\n
<td>1 record(s)</td>\n <td>1 record(s)</td>\n
</tr>\n </tr>\n
<tal:block tal:condition="python: context.TestTool_getSkinName()!=\'Mobile\'">\n
<tr>\n <tr>\n
<td>verifyText</td>\n <td>verifyText</td>\n
<td>//tr[@id="listbox_data_line_0"]/td[3]</td>\n <td>//tr[@id="listbox_data_line_0"]/td[3]</td>\n
<td>Title 1</td>\n <td>Title 1</td>\n
</tr>\n </tr>\n
</tal:block>\n
<tal:block tal:condition="python: context.TestTool_getSkinName()==\'Mobile\'">\n
<tr>\n
<td>verifyText</td>\n
<td>//*[@id="listbox_data_line_0"]/div[2]//span[@id=\'data_short\']</td>\n
<td>Title 1</td>\n
</tr>\n
</tal:block>\n
\n
<!-- Search by title (a list) -->\n <!-- Search by title (a list) -->\n
<tr>\n <tr>\n
<td>open</td>\n <td>open</td>\n
...@@ -139,6 +158,7 @@ XXX what should we display in the field in that case ?\n ...@@ -139,6 +158,7 @@ XXX what should we display in the field in that case ?\n
<td>listbox_record_number</td>\n <td>listbox_record_number</td>\n
<td>2 record(s)</td>\n <td>2 record(s)</td>\n
</tr>\n </tr>\n
<tal:block tal:condition="python: context.TestTool_getSkinName()!=\'Mobile\'">\n
<tr>\n <tr>\n
<td>verifyText</td>\n <td>verifyText</td>\n
<td>//tr[@id="listbox_data_line_0"]/td[3]</td>\n <td>//tr[@id="listbox_data_line_0"]/td[3]</td>\n
...@@ -149,6 +169,20 @@ XXX what should we display in the field in that case ?\n ...@@ -149,6 +169,20 @@ XXX what should we display in the field in that case ?\n
<td>//tr[@id="listbox_data_line_1"]/td[3]</td>\n <td>//tr[@id="listbox_data_line_1"]/td[3]</td>\n
<td>Title 1</td>\n <td>Title 1</td>\n
</tr>\n </tr>\n
</tal:block>\n
<tal:block tal:condition="python: context.TestTool_getSkinName()==\'Mobile\'">\n
<tr>\n
<td>verifyText</td>\n
<td>//*[@id="listbox_data_line_0"]/div[2]//span[@id=\'data_short\']</td>\n
<td>Title 0</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//*[@id="listbox_data_line_1"]/div[2]//span[@id=\'data_short\']</td>\n
<td>Title 1</td>\n
</tr>\n
</tal:block>\n
\n
\n \n
<!-- Search with an ignored parameter -->\n <!-- Search with an ignored parameter -->\n
<tr>\n <tr>\n
......
...@@ -50,6 +50,9 @@ ...@@ -50,6 +50,9 @@
<thead>\n <thead>\n
<tr><td rowspan="1" colspan="3">Test Search and Sort on a Date Column</td></tr>\n <tr><td rowspan="1" colspan="3">Test Search and Sort on a Date Column</td></tr>\n
</thead><tbody>\n </thead><tbody>\n
<!-- XXX Mobile listbox columns label are not clickable for quick sorting\n
So this test is skipped -->\n
<tal:block tal:condition="python: context.TestTool_getSkinName()!=\'Mobile\'">\n
<tal:block metal:use-macro="here/ListBoxZuite_CommonTemplate/macros/init" />\n <tal:block metal:use-macro="here/ListBoxZuite_CommonTemplate/macros/init" />\n
<tr>\n <tr>\n
<td>open</td>\n <td>open</td>\n
...@@ -171,6 +174,7 @@ ...@@ -171,6 +174,7 @@
<td>//tr[@id="listbox_data_line_2"]/td[2]</td>\n <td>//tr[@id="listbox_data_line_2"]/td[2]</td>\n
<td>2001/01/01</td>\n <td>2001/01/01</td>\n
</tr>\n </tr>\n
</tal:block>\n
\n \n
</tbody></table>\n </tbody></table>\n
</body>\n </body>\n
......
...@@ -58,9 +58,11 @@ ...@@ -58,9 +58,11 @@
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>verifyElementPresent</td>\n <td>verifyElementPresent</td>\n
<td>//tr[@id="listbox_search_line"]</td>\n <td>//*[@id="listbox_search_line"]</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
\n
<tal:block tal:condition="python: context.TestTool_getSkinName()!=\'Mobile\'">\n
<tr>\n <tr>\n
<td>verifyEditable</td>\n <td>verifyEditable</td>\n
<td>//tr[@id="listbox_search_line"]/td[2]//input</td>\n <td>//tr[@id="listbox_search_line"]/td[2]//input</td>\n
...@@ -96,6 +98,40 @@ ...@@ -96,6 +98,40 @@
<td>//tr[@id="listbox_search_line"]/td[5]</td>\n <td>//tr[@id="listbox_search_line"]/td[5]</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
</tal:block>\n
<tal:block tal:condition="python: context.TestTool_getSkinName()==\'Mobile\'">\n
<tr>\n
<td>verifyEditable</td>\n
<td>//*[@id="listbox_search_line"]//div[@id=\'0\']//input</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyValue</td>\n
<td>//*[@id="listbox_search_line"]//div[@id=\'0\']//input</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyEditable</td>\n
<td>//*[@id="listbox_search_line"]//div[@id=\'1\']//input</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyValue</td>\n
<td>//*[@id="listbox_search_line"]//div[@id=\'1\']//input</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyElementNotPresent</td>\n
<td>//*[@id="listbox_search_line"]//div[@id=\'2\']//input</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyElementNotPresent</td>\n
<td>//*[@id="listbox_search_line"]//div[@id=\'3\']//input</td>\n
<td></td>\n
</tr>\n
</tal:block>\n
\n
<tr>\n <tr>\n
<td>open</td>\n <td>open</td>\n
<td>${base_url}/foo_module/FooModule_viewFooList/listbox/ListBox_setPropertyList?field_select=</td>\n <td>${base_url}/foo_module/FooModule_viewFooList/listbox/ListBox_setPropertyList?field_select=</td>\n
...@@ -111,16 +147,19 @@ ...@@ -111,16 +147,19 @@
<td>${base_url}/foo_module/view</td>\n <td>${base_url}/foo_module/view</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
<tal:block tal:condition="python: context.TestTool_getSkinName()!=\'Mobile\'">\n
<tr>\n <tr>\n
<td>verifyElementNotPresent</td>\n <td>verifyElementNotPresent</td>\n
<td>id=listbox_select</td>\n <td>id=listbox_select</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
</tal:block>\n
<tr>\n <tr>\n
<td>verifyElementPresent</td>\n <td>verifyElementPresent</td>\n
<td>//tr[@id="listbox_search_line"]</td>\n <td>//*[@id="listbox_search_line"]</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
<tal:block tal:condition="python: context.TestTool_getSkinName()!=\'Mobile\'">\n
<tr>\n <tr>\n
<td>verifyEditable</td>\n <td>verifyEditable</td>\n
<td>//tr[@id="listbox_search_line"]/td[1]//input</td>\n <td>//tr[@id="listbox_search_line"]/td[1]//input</td>\n
...@@ -156,6 +195,39 @@ ...@@ -156,6 +195,39 @@
<td>//tr[@id="listbox_search_line"]/td[4]</td>\n <td>//tr[@id="listbox_search_line"]/td[4]</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
</tal:block>\n
<tal:block tal:condition="python: context.TestTool_getSkinName()==\'Mobile\'">\n
<tr>\n
<td>verifyEditable</td>\n
<td>//*[@id="listbox_search_line"]//div[@id=\'0\']//input</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyValue</td>\n
<td>//*[@id="listbox_search_line"]//div[@id=\'0\']//input</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyEditable</td>\n
<td>//*[@id="listbox_search_line"]//div[@id=\'1\']//input</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyValue</td>\n
<td>//*[@id="listbox_search_line"]//div[@id=\'1\']//input</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyElementNotPresent</td>\n
<td>//*[@id="listbox_search_line"]//div[@id=\'2\']//input</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyElementNotPresent</td>\n
<td>//*[@id="listbox_search_line"]//div[@id=\'3\']//input</td>\n
<td></td>\n
</tr>\n
</tal:block>\n
<tr>\n <tr>\n
<td>open</td>\n <td>open</td>\n
<td>${base_url}/foo_module/FooModule_viewFooList/listbox/ListBox_setPropertyList?field_select=checked&amp;field_search=</td>\n <td>${base_url}/foo_module/FooModule_viewFooList/listbox/ListBox_setPropertyList?field_select=checked&amp;field_search=</td>\n
...@@ -178,7 +250,7 @@ ...@@ -178,7 +250,7 @@
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>verifyElementNotPresent</td>\n <td>verifyElementNotPresent</td>\n
<td>//tr[@id="listbox_search_line"]</td>\n <td>//*[@id="listbox_search_line"]</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
\n \n
......
...@@ -91,7 +91,7 @@ selection\'s checked uids are set to the uids of the filtered objects. -->\n ...@@ -91,7 +91,7 @@ selection\'s checked uids are set to the uids of the filtered objects. -->\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>click</td>\n <td>click</td>\n
<td>//tr[@id=\'listbox_data_line_1\']/td[1]/input</td>\n <td>//*[@id="listbox_data_line_1"]//input[@type="checkbox"]</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
...@@ -131,12 +131,12 @@ uids.\n ...@@ -131,12 +131,12 @@ uids.\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>click</td>\n <td>click</td>\n
<td>//tr[@id=\'listbox_data_line_1\']/td[1]/input</td>\n <td>//*[@id="listbox_data_line_1"]//input[@type="checkbox"]</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>click</td>\n <td>click</td>\n
<td>//tr[@id=\'listbox_data_line_2\']/td[1]/input</td>\n <td>//*[@id="listbox_data_line_2"]//input[@type="checkbox"]</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
...@@ -175,12 +175,12 @@ only have selected uids.\n ...@@ -175,12 +175,12 @@ only have selected uids.\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>click</td>\n <td>click</td>\n
<td>//tr[@id=\'listbox_data_line_1\']/td[1]/input</td>\n <td>//*[@id="listbox_data_line_1"]//input[@type="checkbox"]</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>click</td>\n <td>click</td>\n
<td>//tr[@id=\'listbox_data_line_2\']/td[1]/input</td>\n <td>//*[@id="listbox_data_line_2"]//input[@type="checkbox"]</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
...@@ -191,7 +191,7 @@ only have selected uids.\n ...@@ -191,7 +191,7 @@ only have selected uids.\n
<tr>\n <tr>\n
<td>click</td>\n <td>click</td>\n
<!-- unselect 1 -->\n <!-- unselect 1 -->\n
<td>//tr[@id=\'listbox_data_line_0\']/td[1]/input</td>\n <td>//*[@id="listbox_data_line_0"]//input[@type="checkbox"]</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
......
...@@ -86,6 +86,7 @@ ...@@ -86,6 +86,7 @@
<td>${base_url}/foo_module/view</td>\n <td>${base_url}/foo_module/view</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
<tal:block tal:condition="python: context.TestTool_getSkinName()!=\'Mobile\'">\n
<tr>\n <tr>\n
<td>verifyText</td>\n <td>verifyText</td>\n
<td>//tr[@id="listbox_stat_line"]/td[2]</td>\n <td>//tr[@id="listbox_stat_line"]/td[2]</td>\n
...@@ -101,6 +102,19 @@ ...@@ -101,6 +102,19 @@
<td>//tr[@id="listbox_stat_line"]/td[4]</td>\n <td>//tr[@id="listbox_stat_line"]/td[4]</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
</tal:block>\n
<tal:block tal:condition="python: context.TestTool_getSkinName()==\'Mobile\'">\n
<tr>\n
<td>verifyText</td>\n
<td>//*[@id="listbox_stat_line"]/div[2]//span[3]</td>\n
<td>foo_module</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//*[@id="listbox_stat_line"]/div[3]//span[3]</td>\n
<td>Foos</td>\n
</tr>\n
</tal:block>\n
\n \n
<!-- view mode with editable field -->\n <!-- view mode with editable field -->\n
<tr>\n <tr>\n
...@@ -108,6 +122,7 @@ ...@@ -108,6 +122,7 @@
<td>${base_url}/foo_module/0/view</td>\n <td>${base_url}/foo_module/0/view</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
<tal:block tal:condition="python: context.TestTool_getSkinName()!=\'Mobile\'">\n
<tr>\n <tr>\n
<td>verifyText</td>\n <td>verifyText</td>\n
<td>//tr[@id="listbox_stat_line"]/td[2]</td>\n <td>//tr[@id="listbox_stat_line"]/td[2]</td>\n
...@@ -123,6 +138,14 @@ ...@@ -123,6 +138,14 @@
<td>//tr[@id="listbox_stat_line"]/td[3]</td>\n <td>//tr[@id="listbox_stat_line"]/td[3]</td>\n
<td>1 234.5</td>\n <td>1 234.5</td>\n
</tr>\n </tr>\n
</tal:block>\n
<tal:block tal:condition="python: context.TestTool_getSkinName()==\'Mobile\'">\n
<tr>\n
<td>verifyText</td>\n
<td>//*[@id="listbox_stat_line"]/div[3]//span[3]</td>\n
<td>1 234.5</td>\n
</tr>\n
</tal:block>\n
\n \n
</tbody></table>\n </tbody></table>\n
</body>\n </body>\n
......
...@@ -50,6 +50,10 @@ ...@@ -50,6 +50,10 @@
<thead>\n <thead>\n
<tr><td rowspan="1" colspan="3">Test Title Line</td></tr>\n <tr><td rowspan="1" colspan="3">Test Title Line</td></tr>\n
</thead><tbody>\n </thead><tbody>\n
<!-- XXX listbox_title is not displayed in mobile mode unless there is one or many records \n
XXX report_tree, domain_tree does not exist in mobile mode\n
So this test is skipped -->\n
<tal:block tal:condition="python: context.TestTool_getSkinName()!=\'Mobile\'">\n
<tal:block metal:use-macro="here/ListBoxZuite_CommonTemplate/macros/init" />\n <tal:block metal:use-macro="here/ListBoxZuite_CommonTemplate/macros/init" />\n
<tr>\n <tr>\n
<td>verifyText</td>\n <td>verifyText</td>\n
...@@ -158,6 +162,7 @@ ...@@ -158,6 +162,7 @@
<td>id=listbox_report_tree_mode</td>\n <td>id=listbox_report_tree_mode</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
</tal:block>\n
\n \n
</tbody></table>\n </tbody></table>\n
</body>\n </body>\n
......
...@@ -86,6 +86,7 @@ ...@@ -86,6 +86,7 @@
<td>${base_url}/foo_module/view</td>\n <td>${base_url}/foo_module/view</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
<tal:block tal:condition="python: context.TestTool_getSkinName()!=\'Mobile\'">\n
<tr>\n <tr>\n
<td>verifyAttribute</td>\n <td>verifyAttribute</td>\n
<td>//tr[@id="listbox_data_line_0"]/td[2]//a@href</td>\n <td>//tr[@id="listbox_data_line_0"]/td[2]//a@href</td>\n
...@@ -116,6 +117,40 @@ ...@@ -116,6 +117,40 @@
<td>//tr[@id="listbox_data_line_2"]/td[3]//a</td>\n <td>//tr[@id="listbox_data_line_2"]/td[3]//a</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
</tal:block>\n
<tal:block tal:condition="python: context.TestTool_getSkinName()==\'Mobile\'">\n
<tr>\n
<td>verifyText</td>\n
<td>//*[@id="listbox_data_line_0"]//a[not(@title)]</td>\n
<td>0</td>\n
</tr>\n
<tr>\n
<td>verifyElementNotPresent</td>\n
<td>//*[@id="listbox_data_line_0"]/div[2]//span[@id=\'data_short\']//a</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//*[@id="listbox_data_line_1"]//a[not(@title)]</td>\n
<td>1</td>\n
</tr>\n
<tr>\n
<td>verifyElementNotPresent</td>\n
<td>//*[@id="listbox_data_line_1"]/div[2]//span[@id=\'data_short\']//a</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//*[@id="listbox_data_line_2"]//a[not(@title)]</td>\n
<td>2</td>\n
</tr>\n
<tr>\n
<td>verifyElementNotPresent</td>\n
<td>//*[@id="listbox_data_line_2"]/div[2]//span[@id=\'data_short\']//a</td>\n
<td></td>\n
</tr>\n
</tal:block>\n
\n
\n \n
</tbody></table>\n </tbody></table>\n
</body>\n </body>\n
......
...@@ -91,11 +91,13 @@ ...@@ -91,11 +91,13 @@
<td>field_my_title</td>\n <td>field_my_title</td>\n
<td>Title 0</td>\n <td>Title 0</td>\n
</tr>\n </tr>\n
<tal:block tal:condition="python: context.TestTool_getSkinName()!=\'Mobile\'">\n
<tr>\n <tr>\n
<td>verifyText</td>\n <td>verifyText</td>\n
<td>id=listbox_title</td>\n <td>id=listbox_title</td>\n
<td>Foo Lines:</td>\n <td>Foo Lines:</td>\n
</tr>\n </tr>\n
</tal:block>\n
<tr>\n <tr>\n
<td>verifyText</td>\n <td>verifyText</td>\n
<td>id=listbox_record_number</td>\n <td>id=listbox_record_number</td>\n
...@@ -107,9 +109,16 @@ ...@@ -107,9 +109,16 @@
<td> - 0 item(s) selected</td>\n <td> - 0 item(s) selected</td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<tal:block tal:condition="python: context.TestTool_getSkinName()!=\'Mobile\'">\n
<td>verifyValue</td>\n <td>verifyValue</td>\n
<td>id=listbox_set_page</td>\n <td>id=listbox_set_page</td>\n
<td>1</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>0</td>\n
</tal:block>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>verifyElementPresent</td>\n <td>verifyElementPresent</td>\n
...@@ -138,62 +147,83 @@ ...@@ -138,62 +147,83 @@
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>verifyValue</td>\n <td>verifyValue</td>\n
<td>//tr[@id="listbox_data_line_0"]/td[1]//input[@type="text"]</td>\n <td>//*[@id="listbox_data_line_0"]//input[@type="text"][1]</td>\n
<td>0</td>\n <td>0</td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>verifyEditable</td>\n <td>verifyEditable</td>\n
<td>//tr[@id="listbox_data_line_0"]/td[1]//input[@type="text"]</td>\n <td>//*[@id="listbox_data_line_0"]//input[@type="text"][1]</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<tal:block tal:condition="python: context.TestTool_getSkinName()!=\'Mobile\'">\n
<td>verifyValue</td>\n <td>verifyValue</td>\n
<td>//tr[@id="listbox_data_line_0"]/td[2]//input[@type="text"]</td>\n <td>//tr[@id="listbox_data_line_0"]/td[2]//input[@type="text"]</td>\n
<td>Title 0</td>\n <td>Title 0</td> \n
</tal:block>\n
<tal:block tal:condition="python: context.TestTool_getSkinName()==\'Mobile\'">\n
<td>verifyValue</td>\n
<td>//*[@id="listbox_data_line_0"]//div[@id="listbox_0data1"]//input[@type="text"]</td>\n
<td>Title 0</td> \n
</tal:block>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>verifyEditable</td>\n <td>verifyEditable</td>\n
<td>//tr[@id="listbox_data_line_0"]/td[2]//input[@type="text"]</td>\n <td>//*[@id="listbox_data_line_0"]//input[@type="text"][2]</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>verifyValue</td>\n <td>verifyValue</td>\n
<td>//tr[@id="listbox_data_line_1"]/td[1]//input[@type="text"]</td>\n <td>//*[@id="listbox_data_line_1"]//input[@type="text"][1]</td>\n
<td>1</td>\n <td>1</td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>verifyEditable</td>\n <td>verifyEditable</td>\n
<td>//tr[@id="listbox_data_line_1"]/td[1]//input[@type="text"]</td>\n <td>//*[@id="listbox_data_line_1"]//input[@type="text"][1]</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<tal:block tal:condition="python: context.TestTool_getSkinName()!=\'Mobile\'">\n
<td>verifyValue</td>\n <td>verifyValue</td>\n
<td>//tr[@id="listbox_data_line_1"]/td[2]//input[@type="text"]</td>\n <td>//tr[@id="listbox_data_line_1"]/td[2]//input[@type="text"]</td>\n
<td>Title 1</td>\n <td>Title 1</td> \n
</tal:block>\n
<tal:block tal:condition="python: context.TestTool_getSkinName()==\'Mobile\'">\n
<td>verifyValue</td>\n
<td>//*[@id="listbox_data_line_1"]//div[@id="listbox_1data1"]//input[@type="text"]</td>\n
<td>Title 1</td> \n
</tal:block>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>verifyEditable</td>\n <td>verifyEditable</td>\n
<td>//tr[@id="listbox_data_line_1"]/td[2]//input[@type="text"]</td>\n <td>//*[@id="listbox_data_line_1"]//input[@type="text"][2]</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>verifyValue</td>\n <td>verifyValue</td>\n
<td>//tr[@id="listbox_data_line_2"]/td[1]//input[@type="text"]</td>\n <td>//*[@id="listbox_data_line_2"]//input[@type="text"][1]</td>\n
<td>2</td>\n <td>2</td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>verifyEditable</td>\n <td>verifyEditable</td>\n
<td>//tr[@id="listbox_data_line_2"]/td[1]//input[@type="text"]</td>\n <td>//*[@id="listbox_data_line_2"]//input[@type="text"][1]</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<tal:block tal:condition="python: context.TestTool_getSkinName()!=\'Mobile\'">\n
<td>verifyValue</td>\n <td>verifyValue</td>\n
<td>//tr[@id="listbox_data_line_2"]/td[2]//input[@type="text"]</td>\n <td>//tr[@id="listbox_data_line_2"]/td[2]//input[@type="text"]</td>\n
<td>Title 2</td>\n <td>Title 2</td> \n
</tal:block>\n
<tal:block tal:condition="python: context.TestTool_getSkinName()==\'Mobile\'">\n
<td>verifyValue</td>\n
<td>//*[@id="listbox_data_line_2"]//div[@id="listbox_2data1"]//input[@type="text"]</td>\n
<td>Title 2</td> \n
</tal:block>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>verifyEditable</td>\n <td>verifyEditable</td>\n
<td>//tr[@id="listbox_data_line_2"]/td[2]//input[@type="text"]</td>\n <td>//*[@id="listbox_data_line_2"]//input[@type="text"][2]</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
<!-- Go to next page -->\n <!-- Go to next page -->\n
...@@ -202,10 +232,18 @@ ...@@ -202,10 +232,18 @@
<td>id=listbox_next_page</td>\n <td>id=listbox_next_page</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
\n
<tr>\n <tr>\n
<tal:block tal:condition="python: context.TestTool_getSkinName()!=\'Mobile\'">\n
<td>verifyValue</td>\n <td>verifyValue</td>\n
<td>id=listbox_set_page</td>\n <td>id=listbox_set_page</td>\n
<td>2</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>3</td>\n
</tal:block>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>verifyElementPresent</td>\n <td>verifyElementPresent</td>\n
...@@ -219,78 +257,106 @@ ...@@ -219,78 +257,106 @@
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>verifyValue</td>\n <td>verifyValue</td>\n
<td>//tr[@id="listbox_data_line_0"]/td[1]//input[@type="text"]</td>\n <td>//*[@id="listbox_data_line_0"]//input[@type="text"][1]</td>\n
<td>3</td>\n <td>3</td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>verifyEditable</td>\n <td>verifyEditable</td>\n
<td>//tr[@id="listbox_data_line_0"]/td[1]//input[@type="text"]</td>\n <td>//*[@id="listbox_data_line_0"]//input[@type="text"][1]</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<tal:block tal:condition="python: context.TestTool_getSkinName()!=\'Mobile\'">\n
<td>verifyValue</td>\n <td>verifyValue</td>\n
<td>//tr[@id="listbox_data_line_0"]/td[2]//input[@type="text"]</td>\n <td>//tr[@id="listbox_data_line_0"]/td[2]//input[@type="text"]</td>\n
<td>Title 3</td>\n <td>Title 3</td> \n
</tal:block>\n
<tal:block tal:condition="python: context.TestTool_getSkinName()==\'Mobile\'">\n
<td>verifyValue</td>\n
<td>//*[@id="listbox_data_line_0"]//div[@id="listbox_0data1"]//input[@type="text"]</td>\n
<td>Title 3</td> \n
</tal:block>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>verifyEditable</td>\n <td>verifyEditable</td>\n
<td>//tr[@id="listbox_data_line_0"]/td[2]//input[@type="text"]</td>\n <td>//*[@id="listbox_data_line_0"]//input[@type="text"][2]</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>verifyValue</td>\n <td>verifyValue</td>\n
<td>//tr[@id="listbox_data_line_1"]/td[1]//input[@type="text"]</td>\n <td>//*[@id="listbox_data_line_1"]//input[@type="text"][1]</td>\n
<td>4</td>\n <td>4</td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>verifyEditable</td>\n <td>verifyEditable</td>\n
<td>//tr[@id="listbox_data_line_1"]/td[1]//input[@type="text"]</td>\n <td>//*[@id="listbox_data_line_1"]//input[@type="text"][1]</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<tal:block tal:condition="python: context.TestTool_getSkinName()!=\'Mobile\'">\n
<td>verifyValue</td>\n <td>verifyValue</td>\n
<td>//tr[@id="listbox_data_line_1"]/td[2]//input[@type="text"]</td>\n <td>//tr[@id="listbox_data_line_1"]/td[2]//input[@type="text"]</td>\n
<td>Title 4</td>\n <td>Title 4</td> \n
</tal:block>\n
<tal:block tal:condition="python: context.TestTool_getSkinName()==\'Mobile\'">\n
<td>verifyValue</td>\n
<td>//*[@id="listbox_data_line_1"]//div[@id="listbox_1data1"]//input[@type="text"]</td>\n
<td>Title 4</td> \n
</tal:block>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>verifyEditable</td>\n <td>verifyEditable</td>\n
<td>//tr[@id="listbox_data_line_1"]/td[2]//input[@type="text"]</td>\n <td>//*[@id="listbox_data_line_1"]//input[@type="text"][2]</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>verifyValue</td>\n <td>verifyValue</td>\n
<td>//tr[@id="listbox_data_line_2"]/td[1]//input[@type="text"]</td>\n <td>//*[@id="listbox_data_line_2"]//input[@type="text"][1]</td>\n
<td>5</td>\n <td>5</td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>verifyEditable</td>\n <td>verifyEditable</td>\n
<td>//tr[@id="listbox_data_line_2"]/td[1]//input[@type="text"]</td>\n <td>//*[@id="listbox_data_line_2"]//input[@type="text"][1]</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<tal:block tal:condition="python: context.TestTool_getSkinName()!=\'Mobile\'">\n
<td>verifyValue</td>\n <td>verifyValue</td>\n
<td>//tr[@id="listbox_data_line_2"]/td[2]//input[@type="text"]</td>\n <td>//tr[@id="listbox_data_line_2"]/td[2]//input[@type="text"]</td>\n
<td>Title 5</td>\n <td>Title 5</td> \n
</tal:block>\n
<tal:block tal:condition="python: context.TestTool_getSkinName()==\'Mobile\'">\n
<td>verifyValue</td>\n
<td>//*[@id="listbox_data_line_2"]//div[@id="listbox_2data1"]//input[@type="text"]</td>\n
<td>Title 5</td> \n
</tal:block>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>verifyEditable</td>\n <td>verifyEditable</td>\n
<td>//tr[@id="listbox_data_line_2"]/td[2]//input[@type="text"]</td>\n <td>//*[@id="listbox_data_line_2"]//input[@type="text"][2]</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
<!-- Edit some values -->\n <!-- Edit some values -->\n
<tr>\n <tr>\n
<td>type</td>\n <td>type</td>\n
<td>//tr[@id="listbox_data_line_0"]/td[1]//input[@type="text"]</td>\n <td>//*[@id="listbox_data_line_0"]//input[@type="text"][1]</td>\n
<td>31</td>\n <td>31</td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<tal:block tal:condition="python: context.TestTool_getSkinName()!=\'Mobile\'">\n
<td>type</td>\n <td>type</td>\n
<td>//tr[@id="listbox_data_line_0"]/td[2]//input[@type="text"]</td>\n <td>//tr[@id="listbox_data_line_0"]/td[2]//input[@type="text"]</td>\n
<td>Another Title 3</td>\n <td>Another Title 3</td> \n
</tal:block>\n
<tal:block tal:condition="python: context.TestTool_getSkinName()==\'Mobile\'">\n
<td>type</td>\n
<td>//*[@id="listbox_data_line_0"]//div[@id="listbox_0data1"]//input[@type="text"]</td>\n
<td>Another Title 3</td> \n
</tal:block>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>type</td>\n <td>type</td>\n
<td>//tr[@id="listbox_data_line_1"]/td[1]//input[@type="text"]</td>\n <td>//*[@id="listbox_data_line_1"]//input[@type="text"][1]</td>\n
<td>9999999</td>\n <td>9999999</td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
...@@ -299,9 +365,16 @@ ...@@ -299,9 +365,16 @@
<td></td>\n <td></td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<tal:block tal:condition="python: context.TestTool_getSkinName()!=\'Mobile\'">\n
<td>verifyValue</td>\n <td>verifyValue</td>\n
<td>id=listbox_set_page</td>\n <td>id=listbox_set_page</td>\n
<td>2</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>3</td>\n
</tal:block>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>verifyElementPresent</td>\n <td>verifyElementPresent</td>\n
...@@ -315,65 +388,87 @@ ...@@ -315,65 +388,87 @@
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>verifyValue</td>\n <td>verifyValue</td>\n
<td>//tr[@id="listbox_data_line_0"]/td[1]//input[@type="text"]</td>\n <td>//*[@id="listbox_data_line_0"]//input[@type="text"][1]</td>\n
<td>31</td>\n <td>31</td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>verifyEditable</td>\n <td>verifyEditable</td>\n
<td>//tr[@id="listbox_data_line_0"]/td[1]//input[@type="text"]</td>\n <td>//*[@id="listbox_data_line_0"]//input[@type="text"][1]</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<tal:block tal:condition="python: context.TestTool_getSkinName()!=\'Mobile\'">\n
<td>verifyValue</td>\n <td>verifyValue</td>\n
<td>//tr[@id="listbox_data_line_0"]/td[2]//input[@type="text"]</td>\n <td>//tr[@id="listbox_data_line_0"]/td[2]//input[@type="text"]</td>\n
<td>Another Title 3</td>\n <td>Another Title 3</td> \n
</tal:block>\n
<tal:block tal:condition="python: context.TestTool_getSkinName()==\'Mobile\'">\n
<td>verifyValue</td>\n
<td>//*[@id="listbox_data_line_0"]//div[@id="listbox_0data1"]//input[@type="text"]</td>\n
<td>Another Title 3</td> \n
</tal:block>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>verifyEditable</td>\n <td>verifyEditable</td>\n
<td>//tr[@id="listbox_data_line_0"]/td[2]//input[@type="text"]</td>\n <td>//*[@id="listbox_data_line_0"]//input[@type="text"][2]</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>verifyValue</td>\n <td>verifyValue</td>\n
<td>//tr[@id="listbox_data_line_1"]/td[1]//input[@type="text"]</td>\n <td>//*[@id="listbox_data_line_1"]//input[@type="text"][1]</td>\n
<td>5</td>\n <td>5</td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>verifyEditable</td>\n <td>verifyEditable</td>\n
<td>//tr[@id="listbox_data_line_1"]/td[1]//input[@type="text"]</td>\n <td>//*[@id="listbox_data_line_1"]//input[@type="text"][1]</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<tal:block tal:condition="python: context.TestTool_getSkinName()!=\'Mobile\'">\n
<td>verifyValue</td>\n <td>verifyValue</td>\n
<td>//tr[@id="listbox_data_line_1"]/td[2]//input[@type="text"]</td>\n <td>//tr[@id="listbox_data_line_1"]/td[2]//input[@type="text"]</td>\n
<td>Title 5</td>\n <td>Title 5</td> \n
</tal:block>\n
<tal:block tal:condition="python: context.TestTool_getSkinName()==\'Mobile\'">\n
<td>verifyValue</td>\n
<td>//*[@id="listbox_data_line_1"]//div[@id="listbox_1data1"]//input[@type="text"]</td>\n
<td>Title 5</td> \n
</tal:block>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>verifyEditable</td>\n <td>verifyEditable</td>\n
<td>//tr[@id="listbox_data_line_1"]/td[2]//input[@type="text"]</td>\n <td>//*[@id="listbox_data_line_1"]//input[@type="text"][2]</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>verifyValue</td>\n <td>verifyValue</td>\n
<td>//tr[@id="listbox_data_line_2"]/td[1]//input[@type="text"]</td>\n <td>//*[@id="listbox_data_line_2"]//input[@type="text"][1]</td>\n
<td>6</td>\n <td>6</td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>verifyEditable</td>\n <td>verifyEditable</td>\n
<td>//tr[@id="listbox_data_line_2"]/td[1]//input[@type="text"]</td>\n <td>//*[@id="listbox_data_line_2"]//input[@type="text"][1]</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<tal:block tal:condition="python: context.TestTool_getSkinName()!=\'Mobile\'">\n
<td>verifyValue</td>\n <td>verifyValue</td>\n
<td>//tr[@id="listbox_data_line_2"]/td[2]//input[@type="text"]</td>\n <td>//tr[@id="listbox_data_line_2"]/td[2]//input[@type="text"]</td>\n
<td>Title 6</td>\n <td>Title 6</td> \n
</tal:block>\n
<tal:block tal:condition="python: context.TestTool_getSkinName()==\'Mobile\'">\n
<td>verifyValue</td>\n
<td>//*[@id="listbox_data_line_2"]//div[@id="listbox_2data1"]//input[@type="text"]</td>\n
<td>Title 6</td> \n
</tal:block>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>verifyEditable</td>\n <td>verifyEditable</td>\n
<td>//tr[@id="listbox_data_line_2"]/td[2]//input[@type="text"]</td>\n <td>//*[@id="listbox_data_line_2"]//input[@type="text"][2]</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
<!-- Check validation error messages. -->\n <!-- Check validation error messages. -->\n
<tal:block tal:condition="python: context.TestTool_getSkinName()!=\'Mobile\'">\n
<tr>\n <tr>\n
<td>type</td>\n <td>type</td>\n
<td>//tr[@id="listbox_data_line_0"]/td[3]//input[@type="text"]</td>\n <td>//tr[@id="listbox_data_line_0"]/td[3]//input[@type="text"]</td>\n
...@@ -381,24 +476,49 @@ ...@@ -381,24 +476,49 @@
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>type</td>\n <td>type</td>\n
<td>//tr[@id=\'listbox_data_line_1\']/td[4]/input[1]</td>\n <td>//tr[@id="listbox_data_line_1"]/td[4]/input[1]</td>\n
<td>yyyy</td>\n
</tr>\n
<tr>\n
<td>type</td>\n
<td>//tr[@id="listbox_data_line_1"]/td[4]/input[2]</td>\n
<td>mm</td>\n
</tr>\n
<tr>\n
<td>type</td>\n
<td>//*[@id="listbox_data_line_1"]/td[4]/input[3]</td>\n
<td>dd</td>\n
</tr>\n
</tal:block>\n
<tal:block tal:condition="python: context.TestTool_getSkinName()==\'Mobile\'">\n
<tr>\n
<td>type</td>\n
<td>//*[@id="listbox_data_line_0"]//div[@id="listbox_0data2"]//input[@type="text"]</td>\n
<td>abc</td>\n
</tr>\n
<tr>\n
<td>type</td>\n
<td>//*[@id=\'listbox_data_line_1\']//div[@id="listbox_1data3"]//input[1]</td>\n
<td>yyyy</td>\n <td>yyyy</td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>type</td>\n <td>type</td>\n
<td>//tr[@id=\'listbox_data_line_1\']/td[4]/input[2]</td>\n <td>//*[@id=\'listbox_data_line_1\']//div[@id="listbox_1data3"]//input[2]</td>\n
<td>mm</td>\n <td>mm</td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>type</td>\n <td>type</td>\n
<td>//tr[@id=\'listbox_data_line_1\']/td[4]/input[3]</td>\n <td>//*[@id=\'listbox_data_line_1\']//div[@id="listbox_1data3"]//input[3]</td>\n
<td>dd</td>\n <td>dd</td>\n
</tr>\n </tr>\n
</tal:block>\n
\n
<tr>\n <tr>\n
<td>clickAndWait</td>\n <td>clickAndWait</td>\n
<td>Base_edit:method</td>\n <td>Base_edit:method</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
<tal:block tal:condition="python: context.TestTool_getSkinName()!=\'Mobile\'">\n
<tr>\n <tr>\n
<td>verifyValue</td>\n <td>verifyValue</td>\n
<td>//tr[@id="listbox_data_line_0"]/td[3]//input[@type="text"]</td>\n <td>//tr[@id="listbox_data_line_0"]/td[3]//input[@type="text"]</td>\n
...@@ -411,22 +531,17 @@ ...@@ -411,22 +531,17 @@
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>verifyValue</td>\n <td>verifyValue</td>\n
<td>//tr[@id=\'listbox_data_line_1\']/td[4]/input[1]</td>\n <td>//tr[@id="listbox_data_line_1"]/td[4]/input[1]</td>\n
<td>yyyy</td>\n <td>yyyy</td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>verifyValue</td>\n <td>verifyValue</td>\n
<td>//tr[@id=\'listbox_data_line_1\']/td[4]/input[2]</td>\n <td>//tr[@id="listbox_data_line_1"]/td[4]/input[2]</td>\n
<td>mm</td>\n <td>mm</td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>verifyValue</td>\n <td>verifyValue</td>\n
<td>//tr[@id=\'listbox_data_line_1\']/td[4]/input[3]</td>\n <td>//tr[@id="listbox_data_line_1"]/td[4]/input[3]</td>\n
<td>dd</td>\n
</tr>\n
<tr>\n
<td>verifyValue</td>\n
<td>//tr[@id=\'listbox_data_line_1\']/td[4]/input[3]</td>\n
<td>dd</td>\n <td>dd</td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
...@@ -434,41 +549,40 @@ ...@@ -434,41 +549,40 @@
<td>//tr[@id="listbox_data_line_1"]/td[4]</td>\n <td>//tr[@id="listbox_data_line_1"]/td[4]</td>\n
<td>*You did not enter a valid date and time.*</td>\n <td>*You did not enter a valid date and time.*</td>\n
</tr>\n </tr>\n
\n </tal:block>\n
<!-- More tests are required, such as sorting, searching, domain tree, etc. -->\n <tal:block tal:condition="python: context.TestTool_getSkinName()==\'Mobile\'">\n
\n
\n
<!-- cleanup and save not to trigger unbefore unload -->\n
<tr>\n <tr>\n
<td>type</td>\n <td>verifyValue</td>\n
<td>//tr[@id="listbox_data_line_0"]/td[3]//input[@type="text"]</td>\n <td>//*[@id="listbox_data_line_0"]//div[@id="listbox_0data2"]//input[@type="text"]</td>\n
<td></td>\n <td>abc</td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>type</td>\n <td>verifyText</td>\n
<td>//tr[@id=\'listbox_data_line_1\']/td[4]/input[1]</td>\n <td>//*[@id="listbox_data_line_0"]//div[@id="listbox_0data2"]//span[@class="error"]</td>\n
<td></td>\n <td>*You did not enter a floating point*</td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>type</td>\n <td>verifyValue</td>\n
<td>//tr[@id=\'listbox_data_line_1\']/td[4]/input[2]</td>\n <td>//*[@id=\'listbox_data_line_1\']//div[@id="listbox_1data3"]//input[1]</td>\n
<td></td>\n <td>yyyy</td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>type</td>\n <td>verifyValue</td>\n
<td>//tr[@id=\'listbox_data_line_1\']/td[4]/input[3]</td>\n <td>//*[@id=\'listbox_data_line_1\']//div[@id="listbox_1data3"]//input[2]</td>\n
<td></td>\n <td>mm</td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>clickAndWait</td>\n <td>verifyValue</td>\n
<td>Base_edit:method</td>\n <td>//*[@id=\'listbox_data_line_1\']//div[@id="listbox_1data3"]//input[3]</td>\n
<td></td>\n <td>dd</td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>assertPortalStatusMessage</td>\n <td>verifyText</td>\n
<td>Data updated.</td>\n <td>//*[@id=\'listbox_data_line_1\']//div[@id="listbox_1data3"]//span[@class="error"]</td>\n
<td></td>\n <td>*You did not enter a valid date and time.*</td>\n
</tr>\n </tr>\n
</tal:block>\n
<!-- More tests are required, such as sorting, searching, domain tree, etc. -->\n
\n \n
</tbody></table>\n </tbody></table>\n
</body>\n </body>\n
......
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