Commit 505f14c9 authored by Jérome Perrin's avatar Jérome Perrin

knowledge_pad_ui_test: fix a flaky test

Pause to make sure the server has time to process the request.
This is of course not a good fix, but the future of this code is really
uncertain, so this should at least fix the failing test.
parent 2bc72c20
...@@ -175,6 +175,11 @@ ...@@ -175,6 +175,11 @@
<td>//button[@id="rename_tab_dialog_rename_button"]</td> <td>//button[@id="rename_tab_dialog_rename_button"]</td>
<td></td> <td></td>
</tr> </tr>
<tr>
<td>pause</td>
<td>1000</td>
<td></td>
</tr>
<span metal:use-macro="container/Zuite_CommonTemplate/macros/wait_for_activities"> Wait for activities</span> <span metal:use-macro="container/Zuite_CommonTemplate/macros/wait_for_activities"> Wait for activities</span>
<!-- Test removing pad --> <!-- Test removing pad -->
...@@ -193,6 +198,11 @@ ...@@ -193,6 +198,11 @@
<td>Are you sure you want to remove this pad from your home?</td> <td>Are you sure you want to remove this pad from your home?</td>
<td></td> <td></td>
</tr> </tr>
<tr>
<td>pause</td>
<td>1000</td>
<td></td>
</tr>
<span metal:use-macro="container/Zuite_CommonTemplate/macros/wait_for_activities"> Wait for activities</span> <span metal:use-macro="container/Zuite_CommonTemplate/macros/wait_for_activities"> Wait for activities</span>
<tr> <tr>
<td>openAndWait</td> <td>openAndWait</td>
......
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