Commit e8295c22 authored by Jérome Perrin's avatar Jérome Perrin

Update tests, checking one line is enough to remove reference on the group.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@20118 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent ec9837b7
......@@ -270,7 +270,7 @@ Grouping from account transaction view\n
<td></td>\n
</tr>\n
\n
<!-- now try to ungroup with only one, it should be refused -->\n
<!-- now try to ungroup with only one, it will ungroup all related lines -->\n
<tr>\n
<td>click</td>\n
<td>//tr[@id=\'listbox_data_line_1\']/td[1]/input</td>\n
......@@ -281,23 +281,6 @@ Grouping from account transaction view\n
<td>//input[@id="dialog_submit_button"]</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>assertPortalStatusMessage</td>\n
<td>Ungrouping refused. Check your selection</td>\n
<td></td>\n
</tr>\n
\n
<!-- check all and try to ungroup again -->\n
<tr>\n
<td>click</td>\n
<td>//tr[@id=\'listbox_data_line_0\']/td[1]/input</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>clickAndWait</td>\n
<td>//input[@id="dialog_submit_button"]</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>assertPortalStatusMessage</td>\n
<td>2 Lines Ungrouped</td>\n
......
......@@ -253,7 +253,8 @@ Grouping from entity transaction view\n
<td></td>\n
</tr>\n
\n
<!-- now try to ungroup with only one, it should be refused -->\n
<!-- now try to ungroup with only one, it will remove references on all grouped\n
lines -->\n
<tr>\n
<td>click</td>\n
<td>//tr[@id=\'listbox_data_line_1\']/td[1]/input</td>\n
......@@ -264,23 +265,6 @@ Grouping from entity transaction view\n
<td>//input[@id="dialog_submit_button"]</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>assertPortalStatusMessage</td>\n
<td>Ungrouping refused. Check your selection</td>\n
<td></td>\n
</tr>\n
\n
<!-- check all and try to ungroup again -->\n
<tr>\n
<td>click</td>\n
<td>//tr[@id=\'listbox_data_line_0\']/td[1]/input</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>clickAndWait</td>\n
<td>//input[@id="dialog_submit_button"]</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>assertPortalStatusMessage</td>\n
<td>2 Lines Ungrouped</td>\n
......
87
\ No newline at end of file
88
\ 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