Skip to content

Commit fc11b21

Browse files
committed
[java] Fixing ignorance conditions to check if we run in CI environment
1 parent b551e0c commit fc11b21

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

java/client/test/org/openqa/selenium/testing/IgnoreComparator.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,8 @@ private boolean shouldIgnore(Stream<Ignore> ignoreList) {
4949
return ignoreList.anyMatch(
5050
driver -> (ignored.contains(driver.value()) || driver.value() == Browser.ALL)
5151
&& (!driver.travis() || TestUtilities.isOnTravis())
52-
&& (!driver.gitHubActions() || TestUtilities.isOnGitHubActions())
52+
&& ((!driver.travis() || TestUtilities.isOnTravis())
53+
|| (!driver.gitHubActions() || TestUtilities.isOnGitHubActions()))
5354
&& isOpen(driver.issue()));
5455
}
5556

0 commit comments

Comments
 (0)