Commit f4825819 authored by Gabriel Monnerat's avatar Gabriel Monnerat

fixup! erp5_web_renderjs_ui_test: cover case of orange highlight not displayed...

fixup! erp5_web_renderjs_ui_test: cover case of orange highlight not displayed in rjs_gadget_erp5_emailfield_js with test
parent d28fed8a
......@@ -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>
......
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