selenium upgraded to 3.8.1, guava upgraded to 23.6-jre#209
Conversation
|
This pull request require update for AET cookbook (folder for Firefox log) |
| return companyMatches(dbKey) && projectMatches(dbKey); | ||
| } | ||
|
|
||
| @Override |
There was a problem hiding this comment.
WE could use default implementation from the Predicate interface providing we change the JAVA level to 1.8 in root pom XML file: dbecf17
What do you think?
There was a problem hiding this comment.
good point, fixed
| } | ||
|
|
||
| private AetFirefoxDriver getFirefoxDriver(FirefoxProfile fp, DesiredCapabilities capabilities) | ||
| private RemoteWebDriver getFirefoxDriver(DesiredCapabilities capabilities) |
There was a problem hiding this comment.
We are declaring RemoteWebDriver, but are returning FirefoxWebDriver.
Could we return WebDriver interface here?
| } | ||
| } | ||
|
|
||
| private void setCommonCapabilities(DesiredCapabilities capabilities, FirefoxProfile fp) { |
There was a problem hiding this comment.
Could we move this private method down after the two public methods that use it?
| import org.openqa.selenium.firefox.FirefoxProfile; | ||
| import org.openqa.selenium.remote.CapabilityType; | ||
| import org.openqa.selenium.remote.DesiredCapabilities; | ||
| import org.openqa.selenium.remote.RemoteWebDriver; |
There was a problem hiding this comment.
It looks like unused import.
There was a problem hiding this comment.
Indeed, removed.
| <groupId>org.seleniumhq.selenium</groupId> | ||
| <artifactId>selenium-htmlunit-driver</artifactId> | ||
| <version>${selenium.version}</version> | ||
| <version>2.52.0</version> |
There was a problem hiding this comment.
I've seen that selenium htmlunit package was separated from the selenium itself some time ago. And I believe this version has connection with all ignored unit tests?
Is there any way to make those ignored unit tests working? If not, maybe we should just remove them?
Or maybe we should add ignore comment like:
@Ignore("Not working because of selenium-htmlunit-driver broken compatibility. Consider to remove in the future.")
There was a problem hiding this comment.
We are irrespectively working on fixing or even rewriting failing tests. Probably soon there will be additional pull request for junit changes.
|
Could you please update PR description and/or remove unnecessary sections? |
| <groupId>com.google.guava</groupId> | ||
| <artifactId>guava</artifactId> | ||
| <version>15.0</version> | ||
| <version>23.6-jre</version> |
There was a problem hiding this comment.
Let's upgrade guava also in aet-features.xml file.
There was a problem hiding this comment.
/osgi-dependencies/aet-features.xml is recently added to gitignore. Is this expected? That's why my change is not in this PR.
4f4b7cb to
4e9df39
Compare
Description
I've upgraded Selenium version to 3.8.1 and additionally Guava to 23.6-jre.
Motivation and Context
This upgrade is required for further AET's migration to newest versions of Chrome (and potentially Firefox) browsers.
Checklist:
I hereby agree to the terms of the AET Contributor License Agreement.