Commit f6c7065b authored by Romain Courteaud's avatar Romain Courteaud

erp5_web_renderjs_ui_test: use assert

parent 4725f835
...@@ -42,8 +42,13 @@ ...@@ -42,8 +42,13 @@
</tr> </tr>
<!-- Save Button is disabled --> <!-- Save Button is disabled -->
<tr> <tr>
<td>verifyElementPresent</td> <td>waitForElementPresent</td>
<td>//button[@data-i18n="Save"][contains(@class, "ui-disabled")]</td> <td>//div[@data-gadget-scope='header']//button[@data-i18n="Save"][contains(@class, "ui-disabled")]</td>
<td></td>
</tr>
<tr>
<td>assertElementPresent</td>
<td>//div[@data-gadget-scope='header']//button[@data-i18n="Save"][contains(@class, "ui-disabled")]</td>
<td></td> <td></td>
</tr> </tr>
<!-- First loader while calling Base_edit --> <!-- First loader while calling Base_edit -->
...@@ -53,8 +58,8 @@ ...@@ -53,8 +58,8 @@
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_notification" /> <tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_notification" />
</tal:block> </tal:block>
<tr> <tr>
<td>verifyElementPresent</td> <td>assertElementPresent</td>
<td>//button[@data-i18n="Save"][contains(@class, "ui-icon-check")]</td> <td>//div[@data-gadget-scope='header']//button[@data-i18n="Save"][contains(@class, "ui-icon-check")]</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
......
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