Update HtmlUnit driver to version 2.24; run tests using JDK 1.8
The old version had very limited TypedArray support, which lead to browser-example crashes. The new version of HtmlUnit needs JDK 1.8 to run.
This commit is contained in:
@@ -47,8 +47,8 @@
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.seleniumhq.selenium</groupId>
|
||||
<artifactId>selenium-htmlunit-driver</artifactId>
|
||||
<version>${selenium.version}</version>
|
||||
<artifactId>htmlunit-driver</artifactId>
|
||||
<version>${htmlunit.version}</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
@@ -116,7 +116,7 @@
|
||||
<plugin>
|
||||
<artifactId>maven-surefire-plugin</artifactId>
|
||||
<configuration>
|
||||
<jvm>${env.JDK_17}/bin/java</jvm>
|
||||
<jvm>${env.JDK_18}/bin/java</jvm>
|
||||
</configuration>
|
||||
</plugin>
|
||||
|
||||
|
||||
@@ -42,8 +42,8 @@
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.seleniumhq.selenium</groupId>
|
||||
<artifactId>selenium-htmlunit-driver</artifactId>
|
||||
<version>${selenium.version}</version>
|
||||
<artifactId>htmlunit-driver</artifactId>
|
||||
<version>${htmlunit.version}</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
@@ -104,7 +104,7 @@
|
||||
<plugin>
|
||||
<artifactId>maven-surefire-plugin</artifactId>
|
||||
<configuration>
|
||||
<jvm>${env.JDK_17}/bin/java</jvm>
|
||||
<jvm>${env.JDK_18}/bin/java</jvm>
|
||||
</configuration>
|
||||
</plugin>
|
||||
|
||||
|
||||
@@ -47,6 +47,7 @@
|
||||
<surefire-version>2.16</surefire-version>
|
||||
<exec-maven-plugin.version>1.2.1</exec-maven-plugin.version>
|
||||
<selenium.version>2.52.0</selenium.version>
|
||||
<htmlunit.version>2.24</htmlunit.version>
|
||||
|
||||
<kotlin-dist>${project-root}/dist</kotlin-dist>
|
||||
<kotlin-sdk>${kotlin-dist}/kotlinc</kotlin-sdk>
|
||||
|
||||
@@ -44,8 +44,8 @@
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.seleniumhq.selenium</groupId>
|
||||
<artifactId>selenium-htmlunit-driver</artifactId>
|
||||
<version>${selenium.version}</version>
|
||||
<artifactId>htmlunit-driver</artifactId>
|
||||
<version>${htmlunit.version}</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
@@ -79,7 +79,7 @@
|
||||
<plugin>
|
||||
<artifactId>maven-surefire-plugin</artifactId>
|
||||
<configuration>
|
||||
<jvm>${env.JDK_17}/bin/java</jvm>
|
||||
<jvm>${env.JDK_18}/bin/java</jvm>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
|
||||
Reference in New Issue
Block a user