Commit 18e072c8 authored by Gabriel Monnerat's avatar Gabriel Monnerat

add assert to validate if state of object is changed correclty

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@44372 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent c83eab31
...@@ -129,6 +129,12 @@ ...@@ -129,6 +129,12 @@
<td>//a[@class="tree-open"]</td>\n <td>//a[@class="tree-open"]</td>\n
<td>All Documents</td>\n <td>All Documents</td>\n
</tr>\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 <tr>\n
<td>type</td>\n <td>type</td>\n
<td>//input[@name="field_your_search_text"]</td>\n <td>//input[@name="field_your_search_text"]</td>\n
...@@ -179,6 +185,16 @@ ...@@ -179,6 +185,16 @@
<td>//a[@name="document_title"]</td>\n <td>//a[@name="document_title"]</td>\n
<td>Web Page</td>\n <td>Web Page</td>\n
</tr>\n </tr>\n
<tr>\n
<td>clickAndWait</td>\n
<td>//div[@class="action_menu"]/li/ul/li[1]/a</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//a[@name="document_state"]</td>\n
<td>Cancelled</td>\n
</tr>\n
<tr>\n <tr>\n
<td>clickAndWait</td>\n <td>clickAndWait</td>\n
<td>//a[@class="ung_docs"]</td>\n <td>//a[@class="ung_docs"]</td>\n
...@@ -209,9 +225,10 @@ ...@@ -209,9 +225,10 @@
<td>//button[@class="delete"]</td>\n <td>//button[@class="delete"]</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
<tal:block metal:use-macro="here/Zuite_CommonTemplate/macros/wait_for_activities"/>\n
<tr>\n <tr>\n
<td>setTimeout</td>\n <td>openAndWait</td>\n
<td>30000</td>\n <td>${ung_url}</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
......
18 19
\ 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