Commit 5e2518c3 authored by Jérome Perrin's avatar Jérome Perrin

testViewMode: check that values are kept even if we have 2 editable fields

testSimpleCheckBoxField: updates assertTitle 



git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@12088 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 03041665
...@@ -92,7 +92,7 @@ ...@@ -92,7 +92,7 @@
</tr>\n </tr>\n
<tr>\n <tr>\n
\t<td>assertTitle</td>\n \t<td>assertTitle</td>\n
\t<td>Foo - Title 0</td>\n \t<td>*Foo - Title 0*</td> <!-- XXX not flexible -->\n
\t<td></td>\n \t<td></td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
...@@ -111,11 +111,6 @@ ...@@ -111,11 +111,6 @@
\t<td></td>\n \t<td></td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
\t<td>verifyTitle</td>\n
\t<td>Foo - Title 0</td>\n
\t<td></td>\n
</tr>\n
<tr>\n
\t<td>assertElementPresent</td>\n \t<td>assertElementPresent</td>\n
\t<td>//input[@name="field_my_frozen" and @checked]</td>\n \t<td>//input[@name="field_my_frozen" and @checked]</td>\n
\t<td></td>\n \t<td></td>\n
...@@ -132,7 +127,7 @@ ...@@ -132,7 +127,7 @@
</tr>\n </tr>\n
<tr>\n <tr>\n
\t<td>verifyTitle</td>\n \t<td>verifyTitle</td>\n
\t<td>Foo - Title 0</td>\n \t<td>*Foo - Title 0*</td> <!-- XXX not flexible -->\n
\t<td></td>\n \t<td></td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
......
...@@ -382,13 +382,28 @@ ...@@ -382,13 +382,28 @@
\t<td>//tr[@id="listbox_data_line_2"]/td[2]//input[@type="text"]</td>\n \t<td>//tr[@id="listbox_data_line_2"]/td[2]//input[@type="text"]</td>\n
\t<td></td>\n \t<td></td>\n
</tr>\n </tr>\n
<!-- Check a validation error message. -->\n <!-- Check validation error messages. -->\n
<tr>\n <tr>\n
\t<td>type</td>\n \t<td>type</td>\n
\t<td>//tr[@id="listbox_data_line_0"]/td[3]//input[@type="text"]</td>\n \t<td>//tr[@id="listbox_data_line_0"]/td[3]//input[@type="text"]</td>\n
\t<td>abc</td>\n \t<td>abc</td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
\t<td>type</td>\n
\t<td>//tr[@id=\'listbox_data_line_1\']/td[4]/input[1]</td>\n
\t<td>yyyy</td>\n
</tr>\n
<tr>\n
\t<td>type</td>\n
\t<td>//tr[@id=\'listbox_data_line_1\']/td[4]/input[2]</td>\n
\t<td>mm</td>\n
</tr>\n
<tr>\n
\t<td>type</td>\n
\t<td>//tr[@id=\'listbox_data_line_1\']/td[4]/input[3]</td>\n
\t<td>dd</td>\n
</tr>\n
<tr>\n
\t<td>clickAndWait</td>\n \t<td>clickAndWait</td>\n
\t<td>Base_edit:method</td>\n \t<td>Base_edit:method</td>\n
\t<td></td>\n \t<td></td>\n
...@@ -403,6 +418,31 @@ ...@@ -403,6 +418,31 @@
\t<td>//tr[@id="listbox_data_line_0"]/td[3]</td>\n \t<td>//tr[@id="listbox_data_line_0"]/td[3]</td>\n
\t<td>*You did not enter a floating point*</td>\n \t<td>*You did not enter a floating point*</td>\n
</tr>\n </tr>\n
<tr>\n
\t<td>verifyValue</td>\n
\t<td>//tr[@id=\'listbox_data_line_1\']/td[4]/input[1]</td>\n
\t<td>yyyy</td>\n
</tr>\n
<tr>\n
\t<td>verifyValue</td>\n
\t<td>//tr[@id=\'listbox_data_line_1\']/td[4]/input[2]</td>\n
\t<td>mm</td>\n
</tr>\n
<tr>\n
\t<td>verifyValue</td>\n
\t<td>//tr[@id=\'listbox_data_line_1\']/td[4]/input[3]</td>\n
\t<td>dd</td>\n
</tr>\n
<tr>\n
\t<td>verifyValue</td>\n
\t<td>//tr[@id=\'listbox_data_line_1\']/td[4]/input[3]</td>\n
\t<td>dd</td>\n
</tr>\n
<tr>\n
\t<td>verifyText</td>\n
\t<td>//tr[@id="listbox_data_line_1"]/td[4]</td>\n
\t<td>*You did not enter a valid date and time.*</td>\n
</tr>\n
\n \n
\n \n
<!-- More tests are required, such as sorting, searching, domain tree, etc. -->\n <!-- More tests are required, such as sorting, searching, domain tree, etc. -->\n
......
155 159
\ 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