aboutsummaryrefslogtreecommitdiffstats
path: root/uitest/src/com/vaadin/tests/components/upload/TestFileUploadTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'uitest/src/com/vaadin/tests/components/upload/TestFileUploadTest.java')
-rw-r--r--uitest/src/com/vaadin/tests/components/upload/TestFileUploadTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/uitest/src/com/vaadin/tests/components/upload/TestFileUploadTest.java b/uitest/src/com/vaadin/tests/components/upload/TestFileUploadTest.java
index 1887427a72..ae966a5b07 100644
--- a/uitest/src/com/vaadin/tests/components/upload/TestFileUploadTest.java
+++ b/uitest/src/com/vaadin/tests/components/upload/TestFileUploadTest.java
@@ -109,7 +109,7 @@ public class TestFileUploadTest extends MultiBrowserTest {
}
private void setLocalFileDetector(WebElement element) throws Exception {
- if (getClass().isAnnotationPresent(RunLocally.class)) {
+ if (getRunLocallyBrowser() != null) {
return;
}