Commit 46a79817 authored by Jérome Perrin's avatar Jérome Perrin

don't leave without saving

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@28579 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent a3ac4ba4
...@@ -467,6 +467,7 @@ ...@@ -467,6 +467,7 @@
<td>//*[@id="listbox_data_line_2"]//input[@type="text"][2]</td>\n <td>//*[@id="listbox_data_line_2"]//input[@type="text"][2]</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
\n
<!-- Check validation error messages. -->\n <!-- Check validation error messages. -->\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
...@@ -549,7 +550,30 @@ ...@@ -549,7 +550,30 @@
<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
<!-- cleanup and save not to trigger unbefore unload -->\n
<tr>\n
<td>type</td>\n
<td>//tr[@id="listbox_data_line_0"]/td[3]//input[@type="text"]</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>type</td>\n
<td>//tr[@id="listbox_data_line_1"]/td[4]/input[1]</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>type</td>\n
<td>//tr[@id="listbox_data_line_1"]/td[4]/input[2]</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>type</td>\n
<td>//*[@id="listbox_data_line_1"]/td[4]/input[3]</td>\n
<td></td>\n
</tr>\n
</tal:block>\n </tal:block>\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
<td>verifyValue</td>\n <td>verifyValue</td>\n
...@@ -581,8 +605,39 @@ ...@@ -581,8 +605,39 @@
<td>//*[@id=\'listbox_data_line_1\']//div[@id="listbox_1data3"]//span[@class="error"]</td>\n <td>//*[@id=\'listbox_data_line_1\']//div[@id="listbox_1data3"]//span[@class="error"]</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
<!-- cleanup and save not to trigger unbefore unload -->\n
<tr>\n
<td>type</td>\n
<td>//*[@id="listbox_data_line_0"]//div[@id="listbox_0data2"]//input[@type="text"]</td>\n
<td></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></td>\n
</tr>\n
<tr>\n
<td>type</td>\n
<td>//*[@id=\'listbox_data_line_1\']//div[@id="listbox_1data3"]//input[2]</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>type</td>\n
<td>//*[@id=\'listbox_data_line_1\']//div[@id="listbox_1data3"]//input[3]</td>\n
<td></td>\n
</tr>\n
</tal:block>\n </tal:block>\n
<!-- More tests are required, such as sorting, searching, domain tree, etc. -->\n \n
<tr>\n
<td>clickAndWait</td>\n
<td>Base_edit:method</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>assertPortalStatusMessage</td>\n
<td>Data updated.</td>\n
<td></td>\n
</tr>\n
\n \n
</tbody></table>\n </tbody></table>\n
</body>\n </body>\n
......
473 474
\ 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