;
;
-; For both TestBench 2 and 3
+; For both TestBench 2 and 4
;
; Location of the screenshot directory.
; com.vaadin.testbench.deployment.url=http://<enter your ip here>:8888/
;
-; For only TestBench 3
+; For only TestBench 4
;
; Simulates @RunLocally with the given value on all test classes without a @RunLocally annotation.
; Use simple browser name (phantomjs, chrome, firefox, ie8, ie9, ie10, ie11)
; com.vaadin.testbench.runLocally=firefox
+; Optional override to specify the location of the Firefox/PhantomJS binary
+; firefox.path=/usr/bin/firefox
+; phantomjs.binary.path=/usr/bin/phantomjs
+
; By default using @RunLocally annotation in Framework tests is not allowed.
; Running tests locally can be done with com.vaadin.testbench.runLocally parameter above.
; Uncomment the following line if you want to be able to use @RunLocally annotation
private static final File propertiesFile = new File("work",
"eclipse-run-selected-test.properties");
private static final String FIREFOX_PATH = "firefox.path";
+ private static final String PHANTOMJS_PATH = "phantomjs.binary.path";
static {
if (propertiesFile.exists()) {
System.setProperty(FIREFOX_PATH,
properties.getProperty(FIREFOX_PATH));
}
+ if (properties.containsKey(PHANTOMJS_PATH)) {
+ System.setProperty(PHANTOMJS_PATH,
+ properties.getProperty(PHANTOMJS_PATH));
+ }
} catch (IOException e) {
throw new RuntimeException(e);
}