Skip to content

Commit

Permalink
Merge branch 'master' into selenium-upgrade
Browse files Browse the repository at this point in the history
# Conflicts (resolved):
#	core/worker/src/main/java/com/cognifide/aet/worker/drivers/FirefoxWebDriverFactory.java
  • Loading branch information
wiiitek committed Jan 27, 2018
2 parents e20525b + 23ac541 commit 4f4b7cb
Show file tree
Hide file tree
Showing 32 changed files with 36 additions and 34 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ All notable changes to AET will be documented in this file.

## Unreleased
**List of changes that are finished but not yet released in any final version.**

## Version 2.1.4
- [PR-184](https://github.com/Cognifide/aet/pull/184) Fixed xUnit generation NPE when stepResult is missing
- [PR-183](https://github.com/Cognifide/aet/pull/183) Fixed ambiguous messages from AET API ([#161](https://github.com/Cognifide/aet/issues/161) and [#165](https://github.com/Cognifide/aet/issues/161))
- [PR-202](https://github.com/Cognifide/aet/pull/202) VirtualBox version update required for Windows 10
Expand Down
2 changes: 1 addition & 1 deletion api/communication-api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<parent>
<artifactId>api</artifactId>
<groupId>com.cognifide.aet</groupId>
<version>2.1.4-SNAPSHOT</version>
<version>2.1.5-SNAPSHOT</version>
</parent>

<artifactId>communication-api</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion api/datastorage-api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<parent>
<artifactId>api</artifactId>
<groupId>com.cognifide.aet</groupId>
<version>2.1.4-SNAPSHOT</version>
<version>2.1.5-SNAPSHOT</version>
</parent>

<artifactId>datastorage-api</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion api/jobs-api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<parent>
<artifactId>api</artifactId>
<groupId>com.cognifide.aet</groupId>
<version>2.1.4-SNAPSHOT</version>
<version>2.1.5-SNAPSHOT</version>
</parent>

<artifactId>jobs-api</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<parent>
<artifactId>aet-root</artifactId>
<groupId>com.cognifide.aet</groupId>
<version>2.1.4-SNAPSHOT</version>
<version>2.1.5-SNAPSHOT</version>
</parent>

<artifactId>api</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion api/validation-api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<parent>
<artifactId>api</artifactId>
<groupId>com.cognifide.aet</groupId>
<version>2.1.4-SNAPSHOT</version>
<version>2.1.5-SNAPSHOT</version>
</parent>

<artifactId>validation-api</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion client/aet-maven-plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<parent>
<artifactId>client</artifactId>
<groupId>com.cognifide.aet</groupId>
<version>2.1.4-SNAPSHOT</version>
<version>2.1.5-SNAPSHOT</version>
</parent>

<artifactId>aet-maven-plugin</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion client/client-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<parent>
<artifactId>client</artifactId>
<groupId>com.cognifide.aet</groupId>
<version>2.1.4-SNAPSHOT</version>
<version>2.1.5-SNAPSHOT</version>
</parent>

<artifactId>client-core</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<parent>
<artifactId>aet-root</artifactId>
<groupId>com.cognifide.aet</groupId>
<version>2.1.4-SNAPSHOT</version>
<version>2.1.5-SNAPSHOT</version>
</parent>

<artifactId>client</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion core/cleaner/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<parent>
<artifactId>core</artifactId>
<groupId>com.cognifide.aet</groupId>
<version>2.1.4-SNAPSHOT</version>
<version>2.1.5-SNAPSHOT</version>
</parent>

<artifactId>cleaner</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion core/communication/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<parent>
<artifactId>core</artifactId>
<groupId>com.cognifide.aet</groupId>
<version>2.1.4-SNAPSHOT</version>
<version>2.1.5-SNAPSHOT</version>
</parent>

<artifactId>communication</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion core/datastorage/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<parent>
<artifactId>core</artifactId>
<groupId>com.cognifide.aet</groupId>
<version>2.1.4-SNAPSHOT</version>
<version>2.1.5-SNAPSHOT</version>
</parent>

<artifactId>datastorage</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion core/jobs/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<parent>
<artifactId>core</artifactId>
<groupId>com.cognifide.aet</groupId>
<version>2.1.4-SNAPSHOT</version>
<version>2.1.5-SNAPSHOT</version>
</parent>

<artifactId>jobs</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<parent>
<artifactId>aet-root</artifactId>
<groupId>com.cognifide.aet</groupId>
<version>2.1.4-SNAPSHOT</version>
<version>2.1.5-SNAPSHOT</version>
</parent>

<artifactId>core</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion core/runner/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<parent>
<artifactId>core</artifactId>
<groupId>com.cognifide.aet</groupId>
<version>2.1.4-SNAPSHOT</version>
<version>2.1.5-SNAPSHOT</version>
</parent>

<artifactId>runner</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion core/validation/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<parent>
<artifactId>core</artifactId>
<groupId>com.cognifide.aet</groupId>
<version>2.1.4-SNAPSHOT</version>
<version>2.1.5-SNAPSHOT</version>
</parent>

<artifactId>validation</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion core/worker/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<parent>
<artifactId>core</artifactId>
<groupId>com.cognifide.aet</groupId>
<version>2.1.4-SNAPSHOT</version>
<version>2.1.5-SNAPSHOT</version>
</parent>

<artifactId>worker</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public class FirefoxWebDriverFactory implements WebDriverFactory {

private static final String DEFAULT_FIREFOX_BINARY_PATH = "/usr/bin/firefox";

private static final String DEFAULT_FIREFOX_ERROR_LOG_FILE_PATH = "/content/logs/firefox/stderr.log";
private static final String DEFAULT_FIREFOX_ERROR_LOG_FILE_PATH = "/opt/aet/firefox/log/stderr.log";

private static final String LOG_FILE_PATH = "logFilePath";

Expand Down Expand Up @@ -84,6 +84,7 @@ public WebCommunicationWrapper createWebDriver(ProxyServerWrapper proxyServer)
DesiredCapabilities capabilities = new DesiredCapabilities();
capabilities.setCapability(CapabilityType.PROXY, proxy);
capabilities.setCapability(CapabilityType.ACCEPT_SSL_CERTS, true);

FirefoxProfile fp = getFirefoxProfile();
fp.setAcceptUntrustedCertificates(true);
fp.setAssumeUntrustedCertificateIssuer(false);
Expand All @@ -101,6 +102,7 @@ public WebCommunicationWrapper createWebDriver(ProxyServerWrapper proxyServer)
public WebCommunicationWrapper createWebDriver() throws WorkerException {
try {
DesiredCapabilities capabilities = new DesiredCapabilities();

FirefoxProfile fp = getFirefoxProfile();
setCommonCapabilities(capabilities, fp);

Expand Down Expand Up @@ -135,8 +137,7 @@ private void setCommonCapabilities(DesiredCapabilities capabilities, FirefoxProf
capabilities.setCapability("firefox_binary", new File(path).getAbsolutePath());
}

private WebDriver getFirefoxDriver(DesiredCapabilities capabilities)
throws IOException {
private WebDriver getFirefoxDriver(DesiredCapabilities capabilities) {
WebDriver driver = new FirefoxDriver(capabilities);
driver.manage().timeouts().pageLoadTimeout(5L, TimeUnit.MINUTES);
return driver;
Expand Down
2 changes: 1 addition & 1 deletion documentation/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<parent>
<artifactId>aet-root</artifactId>
<groupId>com.cognifide.aet</groupId>
<version>2.1.4-SNAPSHOT</version>
<version>2.1.5-SNAPSHOT</version>
</parent>

<artifactId>documentation</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion integration-tests/sample-site/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<parent>
<artifactId>aet-root</artifactId>
<groupId>com.cognifide.aet</groupId>
<version>2.1.4-SNAPSHOT</version>
<version>2.1.5-SNAPSHOT</version>
<relativePath>../..</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion integration-tests/test-suite/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<parent>
<artifactId>aet-root</artifactId>
<groupId>com.cognifide.aet</groupId>
<version>2.1.4-SNAPSHOT</version>
<version>2.1.5-SNAPSHOT</version>
<relativePath>../..</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion osgi-dependencies/configs/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<parent>
<artifactId>osgi-dependencies</artifactId>
<groupId>com.cognifide.aet</groupId>
<version>2.1.4-SNAPSHOT</version>
<version>2.1.5-SNAPSHOT</version>
</parent>

<artifactId>configs</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion osgi-dependencies/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<parent>
<artifactId>aet-root</artifactId>
<groupId>com.cognifide.aet</groupId>
<version>2.1.4-SNAPSHOT</version>
<version>2.1.5-SNAPSHOT</version>
</parent>

<artifactId>osgi-dependencies</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion osgi-dependencies/proxy/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<parent>
<artifactId>osgi-dependencies</artifactId>
<groupId>com.cognifide.aet</groupId>
<version>2.1.4-SNAPSHOT</version>
<version>2.1.5-SNAPSHOT</version>
</parent>

<artifactId>proxy</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion osgi-dependencies/selenium/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<parent>
<artifactId>osgi-dependencies</artifactId>
<groupId>com.cognifide.aet</groupId>
<version>2.1.4-SNAPSHOT</version>
<version>2.1.5-SNAPSHOT</version>
</parent>

<artifactId>selenium</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion osgi-dependencies/w3chtml5validator/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<parent>
<artifactId>osgi-dependencies</artifactId>
<groupId>com.cognifide.aet</groupId>
<version>2.1.4-SNAPSHOT</version>
<version>2.1.5-SNAPSHOT</version>
</parent>

<artifactId>w3chtml5validator</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

<groupId>com.cognifide.aet</groupId>
<artifactId>aet-root</artifactId>
<version>2.1.4-SNAPSHOT</version>
<version>2.1.5-SNAPSHOT</version>
<packaging>pom</packaging>

<name>AET</name>
Expand Down
2 changes: 1 addition & 1 deletion report/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<parent>
<artifactId>aet-root</artifactId>
<groupId>com.cognifide.aet</groupId>
<version>2.1.4-SNAPSHOT</version>
<version>2.1.5-SNAPSHOT</version>
</parent>

<artifactId>report</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion rest-endpoint/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<parent>
<artifactId>aet-root</artifactId>
<groupId>com.cognifide.aet</groupId>
<version>2.1.4-SNAPSHOT</version>
<version>2.1.5-SNAPSHOT</version>
</parent>

<artifactId>rest-endpoint</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion test-executor/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<parent>
<artifactId>aet-root</artifactId>
<groupId>com.cognifide.aet</groupId>
<version>2.1.4-SNAPSHOT</version>
<version>2.1.5-SNAPSHOT</version>
</parent>

<artifactId>test-executor</artifactId>
Expand Down
3 changes: 1 addition & 2 deletions vagrant/Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
ENV["GEM_PATH"] = nil
ENV["GEM_HOME"] = nil

AET_VERSION = '2.1.4-RC1'
AET_VERSION = '2.1.4'

VAGRANTFILE_API_VERSION = '2'

Expand Down Expand Up @@ -85,7 +85,6 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
}
},
"aet" => {
"base_link" => "https://www.kubiczak.pl/aet",
"karaf" => {
"java_max_mem" => "3072M",
"enable_debug" => true
Expand Down
2 changes: 1 addition & 1 deletion zip/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<parent>
<artifactId>aet-root</artifactId>
<groupId>com.cognifide.aet</groupId>
<version>2.1.4-SNAPSHOT</version>
<version>2.1.5-SNAPSHOT</version>
</parent>

<artifactId>zip</artifactId>
Expand Down

0 comments on commit 4f4b7cb

Please sign in to comment.