]> source.dussan.org Git - vaadin-framework.git/commitdiff
Re-enable support for the firefox.path property
authorLeif Åstrand <leif@vaadin.com>
Sat, 14 Mar 2015 13:48:52 +0000 (15:48 +0200)
committerVaadin Code Review <review@vaadin.com>
Wed, 18 Mar 2015 14:06:44 +0000 (14:06 +0000)
Change-Id: I14d4ca1a2ef51ff77404cd6577cbe7cb35a2f75d

uitest/src/com/vaadin/tests/tb3/PrivateTB3Configuration.java

index 05ffa995118cfc5b5bab460007737691864afcbd..d0134a4feb329d8e27e77020cc1584784b7a7443 100644 (file)
@@ -53,6 +53,7 @@ public abstract class PrivateTB3Configuration extends ScreenshotTB3Test {
     private static final Properties properties = new Properties();
     private static final File propertiesFile = new File("work",
             "eclipse-run-selected-test.properties");
+    private static final String FIREFOX_PATH = "firefox.path";
 
     static {
         if (propertiesFile.exists()) {
@@ -66,6 +67,10 @@ public abstract class PrivateTB3Configuration extends ScreenshotTB3Test {
                             localBrowser.getBrowserName()
                                     + localBrowser.getVersion());
                 }
+                if (properties.containsKey(FIREFOX_PATH)) {
+                    System.setProperty(FIREFOX_PATH,
+                            properties.getProperty(FIREFOX_PATH));
+                }
             } catch (IOException e) {
                 throw new RuntimeException(e);
             }