[java] Fixing ignorance conditions to check if we run in CI environment
@@ -49,7 +49,8 @@ private boolean shouldIgnore(Stream<Ignore> ignoreList) {
return ignoreList.anyMatch(
driver -> (ignored.contains(driver.value()) || driver.value() == Browser.ALL)
&& (!driver.travis() || TestUtilities.isOnTravis())
- && (!driver.gitHubActions() || TestUtilities.isOnGitHubActions())
+ && ((!driver.travis() || TestUtilities.isOnTravis())
+ || (!driver.gitHubActions() || TestUtilities.isOnGitHubActions()))
&& isOpen(driver.issue()));
}
