diff options
author | Henri Sara <hesara@vaadin.com> | 2013-04-29 13:44:18 +0300 |
---|---|---|
committer | Henri Sara <hesara@vaadin.com> | 2013-04-29 13:44:18 +0300 |
commit | 7d9f544d584edb90b1c9231987e356dfaf0b7b35 (patch) | |
tree | fe68e84ca04edddcfa9427ac573ccdaaf77dc7da | |
parent | d214efa39a011002eb88e683676508e438842fe4 (diff) | |
download | vaadin-framework-7d9f544d584edb90b1c9231987e356dfaf0b7b35.tar.gz vaadin-framework-7d9f544d584edb90b1c9231987e356dfaf0b7b35.zip |
Test for #11396 (merged from 6.8 branch).
Depends on a blur event so cannot be autotested with TB.
svn changeset:25882/svn branch:6.8
Change-Id: I2db788e60397162a29f7802f772609e65a832d3f
-rw-r--r-- | uitest/src/com/vaadin/tests/components/textarea/TextDisappearsOnBlur.java | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/uitest/src/com/vaadin/tests/components/textarea/TextDisappearsOnBlur.java b/uitest/src/com/vaadin/tests/components/textarea/TextDisappearsOnBlur.java new file mode 100644 index 0000000000..2d2cf29e9e --- /dev/null +++ b/uitest/src/com/vaadin/tests/components/textarea/TextDisappearsOnBlur.java @@ -0,0 +1,29 @@ +package com.vaadin.tests.components.textarea; + +import com.vaadin.tests.components.TestBase; +import com.vaadin.ui.TextArea; + +public class TextDisappearsOnBlur extends TestBase { + + @Override + protected void setup() { + TextArea ta = new TextArea(); + addComponent(ta); + + // All three are required for the bug to manifest + ta.setMaxLength(50); + ta.setImmediate(true); + ta.setRequired(true); + } + + @Override + protected String getDescription() { + return "Text disappears from TextArea in IE 6-8 when focus changes"; + } + + @Override + protected Integer getTicketNumber() { + return 11396; + } + +} |