diff --git a/bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_page_templates_zuite/testFormDialogWorkflowWithMultipleValidationError.zpt b/bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_page_templates_zuite/testFormDialogWorkflowWithMultipleValidationError.zpt index f4dc92b50ceadc177f33801a7c45a4ec255b08e8..7a7673685a40dd51109d7194273d407e05359bf6 100644 --- a/bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_page_templates_zuite/testFormDialogWorkflowWithMultipleValidationError.zpt +++ b/bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_page_templates_zuite/testFormDialogWorkflowWithMultipleValidationError.zpt @@ -466,6 +466,11 @@ <td>field_your_tenth_failure</td> <td>ok</td> </tr> +<tr> + <td>fireEvent</td> + <td>field_your_tenth_failure</td> + <td>blur</td> +</tr> <tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/submit_dialog" /> <tr> <td>assertElementPresent</td> @@ -473,18 +478,34 @@ <td></td> </tr> <tr> - <td>assertTextPresent</td> - <td>Please include an '@' in the email address. 'ok' is missing an '@'.</td> + <td>assertElementPresent</td> + <td>//input[@name="field_your_tenth_failure" and @class="is-invalid"]</td> <td></td> </tr> +<tr> + <td>fireEvent</td> + <td>field_your_tenth_failure</td> + <td>focus</td> +</tr> +<tr> + <td>type</td> + <td>field_your_tenth_failure</td> + <td>email@email.com</td> +</tr> <tr> <td>fireEvent</td> <td>field_your_tenth_failure</td> <td>blur</td> </tr> +<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/submit_dialog" /> +<tr> + <td>assertElementPresent</td> + <td>//input[@name="field_your_tenth_failure" and @class="is-invalid"]</td> + <td></td> +</tr> <tr> <td>assertTextNotPresent</td> - <td>Please include an '@' in the email address. 'ok' is missing an '@'.</td> + <td>The input failed the external validator.</td> <td></td> </tr> <tr> @@ -492,9 +513,14 @@ <td>field_your_tenth_failure</td> <td>focus</td> </tr> +<tr> + <td>waitForTextPresent</td> + <td>The input failed the external validator.</td> + <td></td> +</tr> <tr> <td>assertTextPresent</td> - <td>Please include an '@' in the email address. 'ok' is missing an '@'.</td> + <td>The input failed the external validator.</td> <td></td> </tr> </tbody>