Skip to content

Commit

Permalink
Switch to using the chromedriver by default for the core self tests
Browse files Browse the repository at this point in the history
At some point, we should always use every valid browser
  • Loading branch information
shs96c committed Jul 18, 2016
1 parent 54f5be7 commit 0106900
Showing 1 changed file with 8 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
import org.junit.runners.Parameterized;
import org.openqa.selenium.Platform;
import org.openqa.selenium.environment.webserver.AppServer;
import org.openqa.selenium.os.CommandLine;

import java.io.File;
import java.io.IOException;
Expand Down Expand Up @@ -77,9 +78,13 @@ public void executeTests() throws IOException {
public static Iterable<String> parameters() {
ImmutableSortedSet.Builder<String> browsers = ImmutableSortedSet.naturalOrder();

// if (CommandLine.find("wires") != null) {
browsers.add("*firefox");
// }
if (CommandLine.find("chromedriver") != null) {
browsers.add("*googlechrome");
}

if (CommandLine.find("wires") != null) {
// browsers.add("*firefox");
}

switch (Platform.getCurrent().family()) {
case MAC:
Expand Down

0 comments on commit 0106900

Please sign in to comment.