diff options
author | Alexander Nittka <alex@nittka.de> | 2018-06-07 12:23:02 +0200 |
---|---|---|
committer | Ilia Motornyi <elmot@vaadin.com> | 2018-06-07 13:23:02 +0300 |
commit | 76230f8b1627faf2b10ffc7957a06f551ac2816c (patch) | |
tree | 36dc0d175d1130ae50ce82731af4f1765a887f97 /uitest | |
parent | 8fbf75cae8e7e7f45860c24dec6fe35feb8bd136 (diff) | |
download | vaadin-framework-76230f8b1627faf2b10ffc7957a06f551ac2816c.tar.gz vaadin-framework-76230f8b1627faf2b10ffc7957a06f551ac2816c.zip |
Remove parse error when changing from invalid to empty date text (#10771)
Fixes #10673.
Diffstat (limited to 'uitest')
-rw-r--r-- | uitest/src/test/java/com/vaadin/tests/components/datefield/DateFieldIsValidTest.java | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/uitest/src/test/java/com/vaadin/tests/components/datefield/DateFieldIsValidTest.java b/uitest/src/test/java/com/vaadin/tests/components/datefield/DateFieldIsValidTest.java index 9934013c78..3797dd98c4 100644 --- a/uitest/src/test/java/com/vaadin/tests/components/datefield/DateFieldIsValidTest.java +++ b/uitest/src/test/java/com/vaadin/tests/components/datefield/DateFieldIsValidTest.java @@ -37,10 +37,13 @@ public class DateFieldIsValidTest extends MultiBrowserTest { assertLogText("4. buttonClick: value: null, is valid: false"); dateTextbox.clear(); + button.click(); + assertLogText("5. buttonClick: value: null, is valid: true"); + dateTextbox.sendKeys("02/02/02", Keys.TAB); - assertLogText("5. valueChange: value: 02/02/02, is valid: true"); + assertLogText("6. valueChange: value: 02/02/02, is valid: true"); button.click(); - assertLogText("6. buttonClick: value: 02/02/02, is valid: true"); + assertLogText("7. buttonClick: value: 02/02/02, is valid: true"); } private void assertLogText(String expected) throws Exception { |