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

Check that listbox for delete confirmation uses the same columns as the...

Check that listbox for delete confirmation uses the same columns as the previous listbox, and a column to list the count of related objects

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19757 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 5965fb9d
...@@ -3,11 +3,8 @@ ...@@ -3,11 +3,8 @@
<record id="1" aka="AAAAAAAAAAE="> <record id="1" aka="AAAAAAAAAAE=">
<pickle> <pickle>
<tuple> <tuple>
<tuple> <global name="ZopePageTemplate" module="Products.PageTemplates.ZopePageTemplate"/>
<string>Products.PageTemplates.ZopePageTemplate</string> <tuple/>
<string>ZopePageTemplate</string>
</tuple>
<none/>
</tuple> </tuple>
</pickle> </pickle>
<pickle> <pickle>
...@@ -106,6 +103,35 @@ ...@@ -106,6 +103,35 @@
\t<td></td>\n \t<td></td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
\t<td>verifyText</td>\n
\t<td>listbox_record_number</td>\n
\t<td>1 record(s)</td>\n
</tr>\n
<!-- The listbox used to confirm deletion is a proxy to the previous listbox.\n
It contains the same columns\n
-->\n
<tr>\n
\t<td>assertText</td>\n
\t<td>//tr[@id=\'listbox_label_line\']/td[1]</td>\n
\t<td>ID</td>\n
</tr>\n
<tr>\n
\t<td>assertText</td>\n
\t<td>//tr[@id=\'listbox_label_line\']/td[2]</td>\n
\t<td>Title</td>\n
</tr>\n
<tr>\n
\t<td>assertText</td>\n
\t<td>//tr[@id=\'listbox_label_line\']/td[3]</td>\n
\t<td>Quantity</td>\n
</tr>\n
<!-- And an extra column to display the number of related objects. -->\n
<tr>\n
\t<td>assertText</td>\n
\t<td>//tr[@id=\'listbox_label_line\']/td[4]</td>\n
\t<td>No. Related Objects</td>\n
</tr>\n
<tr>\n
\t<td>clickAndWait</td>\n \t<td>clickAndWait</td>\n
\t<td>Base_callDialogMethod:method</td>\n \t<td>Base_callDialogMethod:method</td>\n
\t<td></td>\n \t<td></td>\n
......
326 327
\ 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