Commit e4c5f28d authored by Gabriel Monnerat's avatar Gabriel Monnerat

Add macro to remove all documents created by the tests using the UNG interface

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@45671 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent c036b370
...@@ -179,6 +179,44 @@ ...@@ -179,6 +179,44 @@
<td></td>\n <td></td>\n
</tr>\n </tr>\n
</tal:block>\n </tal:block>\n
<tal:block metal:define-macro="delete-all-documents">\n
<tr>\n
<td>openAndWait</td>\n
<td>${ung_url}</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>click</td>\n
<td>//th[@class="listbox-table-select-cell"]/input[1]</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>clickAndWait</td>\n
<td>//button[@class="delete"]</td>\n
<td></td>\n
</tr>\n
<tal:block metal:use-macro="here/Zuite_CommonTemplate/macros/wait_for_activities"/>\n
<tr>\n
<td>openAndWait</td>\n
<td>${ung_url}</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>clickAndWait</td>\n
<td>//table[@class="your_listbox-table-domain-tree"]/tbody/tr[11]/td/a</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>click</td>\n
<td>//th[@class="listbox-table-select-cell"]/input[1]</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>clickAndWait</td>\n
<td>//button[@class="delete"]</td>\n
<td></td>\n
</tr>\n
</tal:block>\n
</tal:block> </tal:block>
]]></unicode> </value> ]]></unicode> </value>
......
55 56
\ 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