Commit 7e2877e4 authored by Romain Courteaud's avatar Romain Courteaud

[erp5_web_renderjs_ui_test] Wait for the page to be updated when saving

parent 701dc548
...@@ -211,6 +211,11 @@ ...@@ -211,6 +211,11 @@
<td>//input[@name="field_my_successor_title"]</td> <td>//input[@name="field_my_successor_title"]</td>
<td>TEST</td> <td>TEST</td>
</tr> </tr>
<tr>
<td>verifyValue</td>
<td>//input[@name="field_my_title"]</td>
<td>TEST</td>
</tr>
</tbody></table> </tbody></table>
</body> </body>
......
...@@ -14,6 +14,20 @@ ...@@ -14,6 +14,20 @@
<td></td> <td></td>
</tr> </tr>
<!-- First loader while calling Base_edit -->
<tr>
<td>waitForElementPresent</td>
<td>//button[@class="responsive ui-btn ui-icon-spinner ui-btn-icon-left ui-first-child ui-last-child ui-disabled ui-icon-spin"]</td>
<td></td>
</tr>
<tr>
<td>waitForTextPresent</td>
<td>Data updated.</td>
<td></td>
</tr>
<!-- Second loader while updating the page -->
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>//button[@class="responsive ui-btn ui-icon-spinner ui-btn-icon-left ui-first-child ui-last-child ui-disabled ui-icon-spin"]</td> <td>//button[@class="responsive ui-btn ui-icon-spinner ui-btn-icon-left ui-first-child ui-last-child ui-disabled ui-icon-spin"]</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