summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenis Anisimov <denis@vaadin.com>2016-12-22 16:32:36 +0200
committerHenri Sara <henri.sara@gmail.com>2017-01-03 09:47:18 +0200
commitbea033dbff647d3eb5a27630693626769af69904 (patch)
tree52de15992b7abd0cf91a3dde145bc09b563fbd2b
parentec267ae01f67b6355727acdbba1ec7e82d651ef5 (diff)
downloadvaadin-framework-bea033dbff647d3eb5a27630693626769af69904.tar.gz
vaadin-framework-bea033dbff647d3eb5a27630693626769af69904.zip
Update test to behave correctly due changes in the text components.
Correction after migration fix for (#20469).
-rw-r--r--uitest/src/test/java/com/vaadin/tests/components/textfield/TextFieldsValueChangeModeTest.java8
1 files changed, 2 insertions, 6 deletions
diff --git a/uitest/src/test/java/com/vaadin/tests/components/textfield/TextFieldsValueChangeModeTest.java b/uitest/src/test/java/com/vaadin/tests/components/textfield/TextFieldsValueChangeModeTest.java
index a9417c7d29..fcc681bc0b 100644
--- a/uitest/src/test/java/com/vaadin/tests/components/textfield/TextFieldsValueChangeModeTest.java
+++ b/uitest/src/test/java/com/vaadin/tests/components/textfield/TextFieldsValueChangeModeTest.java
@@ -96,13 +96,9 @@ public class TextFieldsValueChangeModeTest extends MultiBrowserTest {
private void testTimeout(String id) {
openTestURL();
WebElement eagerTextField = findElement(By.id(id));
- eagerTextField.sendKeys("f");
- eagerTextField.sendKeys("o");
- eagerTextField.sendKeys("o");
+ eagerTextField.sendKeys("foo");
sleep(1000); // Timer set to 1000ms
- eagerTextField.sendKeys("b");
- eagerTextField.sendKeys("a");
- eagerTextField.sendKeys("a");
+ eagerTextField.sendKeys("baa");
sleep(1000); // Timer set to 1000ms
assertLog(id, "foo", "foobaa");
}