Commit 0e92b6cd authored by Gabriel Monnerat's avatar Gabriel Monnerat

erp5_trade_renderjs_ui_test: Trigger focus and blur to test renderjs functions properly

parent 85138622
...@@ -24,11 +24,26 @@ ...@@ -24,11 +24,26 @@
'text': 'Input data has errors.'}"> 'text': 'Input data has errors.'}">
<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>
<td>fireEvent</td>
<td>//input[@name="field_your_dialog_updated"]</td>
<td>focus</td>
</tr>
<tr> <tr>
<td>assertTextPresent</td> <td>assertTextPresent</td>
<td>Dialog is not updated.</td> <td>Dialog is not updated.</td>
<td></td> <td></td>
</tr> </tr>
<tr>
<td>fireEvent</td>
<td>//input[@name="field_your_dialog_updated"]</td>
<td>blur</td>
</tr>
<tr>
<td>assertTextNotPresent</td>
<td>Dialog is not updated.</td>
<td></td>
</tr>
<tr> <tr>
<td colspan="3"><b>Select the solver</b></td> <td colspan="3"><b>Select the solver</b></td>
...@@ -67,12 +82,6 @@ ...@@ -67,12 +82,6 @@
<td>Dialog is not updated.</td> <td>Dialog is not updated.</td>
<td></td> <td></td>
</tr> </tr>
<tr>
<td>assertTextPresent</td>
<td>Input is required but no input given.</td>
<td></td>
</tr>
<tr> <tr>
<td colspan="3"><b>Resolve the divergency</b></td> <td colspan="3"><b>Resolve the divergency</b></td>
</tr> </tr>
...@@ -81,6 +90,17 @@ ...@@ -81,6 +90,17 @@
<td>//input[@value="FIFO Delivery Solver"]</td> <td>//input[@value="FIFO Delivery Solver"]</td>
<td></td> <td></td>
</tr> </tr>
<tr>
<td>waitForTextPresent</td>
<td>Input is required but no input given.</td>
<td></td>
</tr>
<tr>
<td>assertTextPresent</td>
<td>Input is required but no input given.</td>
<td></td>
</tr>
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/submit_dialog" /> <tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/submit_dialog" />
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded" /> <tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded" />
......
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