summaryrefslogtreecommitdiffstats
path: root/uitest
diff options
context:
space:
mode:
authorDenis <denis@vaadin.com>2016-12-19 13:56:48 +0200
committerHenri Sara <henri.sara@gmail.com>2016-12-19 13:56:48 +0200
commit2f3f4170ee03ac07a8d66fb572fb29d54dfb1046 (patch)
tree6ff588d2cea27e3dcb6d176a2eceea3dcdd8a633 /uitest
parentf9241d9054bb070afe8fc92160aab0cd18dd943c (diff)
downloadvaadin-framework-2f3f4170ee03ac07a8d66fb572fb29d54dfb1046.tar.gz
vaadin-framework-2f3f4170ee03ac07a8d66fb572fb29d54dfb1046.zip
Fix the upload test for IE11 (at least). (#8035)
The upload test should use an Upload in non-immediate mode because the file name is written in-line into the Upload text input and the button is used to upload a file without showing a file chooser dialog. The test for upload in immediate mode works for Chrome (no file chooser window issue) but it doesn't work for IE11 (at least, may be the same issue for FF). So the test UI is just updated to use non-immediate mode.
Diffstat (limited to 'uitest')
-rw-r--r--uitest/src/main/java/com/vaadin/tests/components/upload/TestFileUpload.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/uitest/src/main/java/com/vaadin/tests/components/upload/TestFileUpload.java b/uitest/src/main/java/com/vaadin/tests/components/upload/TestFileUpload.java
index 621141ce31..e400dcb0be 100644
--- a/uitest/src/main/java/com/vaadin/tests/components/upload/TestFileUpload.java
+++ b/uitest/src/main/java/com/vaadin/tests/components/upload/TestFileUpload.java
@@ -53,6 +53,7 @@ public class TestFileUpload extends TestBase implements Receiver {
baos.reset();
}
});
+ u.setImmediateMode(false);
addComponent(log);
addComponent(u);