Change-Id: I4173dbdb7bb83376177fc680562eca1725d48e36
super.setup();
}
- private static DesiredCapabilities getRunLocallyCapabilities() {
+ protected static DesiredCapabilities getRunLocallyCapabilities() {
VaadinBrowserFactory factory = new VaadinBrowserFactory();
try {
return factory.create(Browser.valueOf(properties.getProperty(
return getConfiguredDeploymentHostname();
}
- private boolean isRunLocally() {
+ protected boolean isRunLocally() {
if (properties.containsKey(RUN_LOCALLY_PROPERTY)) {
return true;
}
public abstract class SingleBrowserTest extends PrivateTB3Configuration {
@Override
public List<DesiredCapabilities> getBrowsersToTest() {
+ if (isRunLocally()) {
+ return Collections.singletonList(getRunLocallyCapabilities());
+ }
return Collections.singletonList(Browser.PHANTOMJS
.getDesiredCapabilities());
}