Skip to content

Commit

Permalink
Correctly ignore Marionette tests
Browse files Browse the repository at this point in the history
We default to marionette these days. Handle that a
little more cleanly.
  • Loading branch information
shs96c committed Apr 21, 2017
1 parent 8298121 commit 9d3ea5a
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,8 @@ private void addIgnoresForBrowser(Browser browser, IgnoreComparator comparator)
break;

case ff:
if (Boolean.getBoolean("webdriver.firefox.marionette")) {
if (System.getProperty("webdriver.firefox.marionette") == null ||
Boolean.getBoolean("webdriver.firefox.marionette")) {
comparator.addDriver(MARIONETTE);
} else {
comparator.addDriver(FIREFOX);
Expand Down

0 comments on commit 9d3ea5a

Please sign in to comment.