Commit 91f36124 authored by Mohamadou Mbengue's avatar Mohamadou Mbengue

2009-08-20 Mohamadou

* Update testMultiRelationFieldProxyListBox and  testRelationFieldColumns to support  mobile ui tests.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@28594 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 1f66a8c1
......@@ -98,7 +98,7 @@
</tr>\n
<tr>\n
<td>clickAndWait</td>\n
<td>link=Title 0</td>\n
<td>link=0</td>\n
<td></td>\n
</tr>\n
<tr>\n
......
......@@ -78,7 +78,7 @@
</tr>\n
<tr>\n
<td>clickAndWait</td>\n
<td>link=Title 0</td>\n
<td>link=0</td>\n
<td></td>\n
</tr>\n
<tr>\n
......@@ -93,6 +93,7 @@
</tr>\n
\n
<!-- this field is configured to show title, int_index and relative url -->\n
<tal:block tal:condition="python: context.TestTool_getSkinName()!=\'Mobile\'">\n
<tr>\n
<td>assertText</td>\n
<td>//tr[@id=\'listbox_label_line\']/td[2]</td>\n
......@@ -160,10 +161,90 @@
<td>//tr[@id=\'listbox_label_line\']/td[4]</td>\n
<td>Relative URL</td>\n
</tr>\n
</tal:block>\n
<tal:block tal:condition="python: context.TestTool_getSkinName()==\'Mobile\'">\n
<!--<tr>\n
<td>assertText</td>\n
<td>//*[@id="listbox_data_line_0"]/div[2]//span[1]</td>\n
<td>Title</td>\n
</tr>\n
-->\n
<tr>\n
<td>assertText</td>\n
<td>//*[@id="listbox_data_line_0"]/div[2]//span[1]</td>\n
<td>Sort Index</td>\n
</tr>\n
<tr>\n
<td>assertText</td>\n
<td>//*[@id="listbox_data_line_0"]/div[3]//span[1]</td>\n
<td>Relative URL</td>\n
</tr>\n
\n
<tr>\n
<td>clickAndWait</td>\n
<td>//input[@id="listbox_next_page"]</td>\n
<td></td>\n
</tr>\n
<tr>\n
<tal:block tal:condition="python: context.TestTool_getSkinName()!=\'Mobile\'">\n
<td>assertValue</td>\n
<td>//input[@id="listbox_set_page"]</td>\n
<td>2</td>\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
<!--<tr>\n
<td>assertText</td>\n
<td>//*[@id="listbox_data_line_0"]/div[2]//span[1]</td>\n
<td>Title</td>\n
</tr>-->\n
<tr>\n
<td>assertText</td>\n
<td>//*[@id="listbox_data_line_0"]/div[2]//span[1]</td>\n
<td>Sort Index</td>\n
</tr>\n
<tr>\n
<td>assertText</td>\n
<td>//*[@id="listbox_data_line_0"]/div[3]//span[1]</td>\n
<td>Relative URL</td>\n
</tr>\n
\n
<tr>\n
<td>type</td>\n
<td>title</td>\n
<td>%c%</td>\n
</tr>\n
<tr>\n
<td>clickAndWait</td>\n
<td>dialog_update_button</td>\n
<td></td>\n
</tr>\n
<!--\n
<tr>\n
<td>assertText</td>\n
<td>//*[@id="listbox_data_line_0"]/div[2]//span[1]</td>\n
<td>Title</td>\n
</tr>\n
-->\n
<tr>\n
<td>assertText</td>\n
<td>//*[@id="listbox_data_line_0"]/div[2]//span[1]</td>\n
<td>Sort Index</td>\n
</tr>\n
<tr>\n
<td>assertText</td>\n
<td>//*[@id="listbox_data_line_0"]/div[3]//span[1]</td>\n
<td>Relative URL</td>\n
</tr>\n
</tal:block>\n
\n
<tr>\n
<td>click</td>\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
</tr>\n
<tr>\n
......
475
\ No newline at end of file
476
\ 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