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 @@ ...@@ -466,6 +466,11 @@
<td>field_your_tenth_failure</td> <td>field_your_tenth_failure</td>
<td>ok</td> <td>ok</td>
</tr> </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" /> <tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/submit_dialog" />
<tr> <tr>
<td>assertElementPresent</td> <td>assertElementPresent</td>
...@@ -473,18 +478,34 @@ ...@@ -473,18 +478,34 @@
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>assertTextPresent</td> <td>assertElementPresent</td>
<td>Please include an '@' in the email address. 'ok' is missing an '@'.</td> <td>//input[@name="field_your_tenth_failure" and @class="is-invalid"]</td>
<td></td> <td></td>
</tr> </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> <tr>
<td>fireEvent</td> <td>fireEvent</td>
<td>field_your_tenth_failure</td> <td>field_your_tenth_failure</td>
<td>blur</td> <td>blur</td>
</tr> </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> <tr>
<td>assertTextNotPresent</td> <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> <td></td>
</tr> </tr>
<tr> <tr>
...@@ -492,9 +513,14 @@ ...@@ -492,9 +513,14 @@
<td>field_your_tenth_failure</td> <td>field_your_tenth_failure</td>
<td>focus</td> <td>focus</td>
</tr> </tr>
<tr>
<td>waitForTextPresent</td>
<td>The input failed the external validator.</td>
<td></td>
</tr>
<tr> <tr>
<td>assertTextPresent</td> <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> <td></td>
</tr> </tr>
</tbody> </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