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>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.seleniumhq.selenium</groupId>
|
<groupId>org.seleniumhq.selenium</groupId>
|
||||||
<artifactId>selenium-htmlunit-driver</artifactId>
|
<artifactId>htmlunit-driver</artifactId>
|
||||||
<version>${selenium.version}</version>
|
<version>${htmlunit.version}</version>
|
||||||
<scope>test</scope>
|
<scope>test</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
@@ -116,7 +116,7 @@
|
|||||||
<plugin>
|
<plugin>
|
||||||
<artifactId>maven-surefire-plugin</artifactId>
|
<artifactId>maven-surefire-plugin</artifactId>
|
||||||
<configuration>
|
<configuration>
|
||||||
<jvm>${env.JDK_17}/bin/java</jvm>
|
<jvm>${env.JDK_18}/bin/java</jvm>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
|
||||||
|
|||||||
@@ -42,8 +42,8 @@
|
|||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.seleniumhq.selenium</groupId>
|
<groupId>org.seleniumhq.selenium</groupId>
|
||||||
<artifactId>selenium-htmlunit-driver</artifactId>
|
<artifactId>htmlunit-driver</artifactId>
|
||||||
<version>${selenium.version}</version>
|
<version>${htmlunit.version}</version>
|
||||||
<scope>test</scope>
|
<scope>test</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
@@ -104,7 +104,7 @@
|
|||||||
<plugin>
|
<plugin>
|
||||||
<artifactId>maven-surefire-plugin</artifactId>
|
<artifactId>maven-surefire-plugin</artifactId>
|
||||||
<configuration>
|
<configuration>
|
||||||
<jvm>${env.JDK_17}/bin/java</jvm>
|
<jvm>${env.JDK_18}/bin/java</jvm>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
|
||||||
|
|||||||
@@ -47,6 +47,7 @@
|
|||||||
<surefire-version>2.16</surefire-version>
|
<surefire-version>2.16</surefire-version>
|
||||||
<exec-maven-plugin.version>1.2.1</exec-maven-plugin.version>
|
<exec-maven-plugin.version>1.2.1</exec-maven-plugin.version>
|
||||||
<selenium.version>2.52.0</selenium.version>
|
<selenium.version>2.52.0</selenium.version>
|
||||||
|
<htmlunit.version>2.24</htmlunit.version>
|
||||||
|
|
||||||
<kotlin-dist>${project-root}/dist</kotlin-dist>
|
<kotlin-dist>${project-root}/dist</kotlin-dist>
|
||||||
<kotlin-sdk>${kotlin-dist}/kotlinc</kotlin-sdk>
|
<kotlin-sdk>${kotlin-dist}/kotlinc</kotlin-sdk>
|
||||||
|
|||||||
@@ -44,8 +44,8 @@
|
|||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.seleniumhq.selenium</groupId>
|
<groupId>org.seleniumhq.selenium</groupId>
|
||||||
<artifactId>selenium-htmlunit-driver</artifactId>
|
<artifactId>htmlunit-driver</artifactId>
|
||||||
<version>${selenium.version}</version>
|
<version>${htmlunit.version}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
@@ -79,7 +79,7 @@
|
|||||||
<plugin>
|
<plugin>
|
||||||
<artifactId>maven-surefire-plugin</artifactId>
|
<artifactId>maven-surefire-plugin</artifactId>
|
||||||
<configuration>
|
<configuration>
|
||||||
<jvm>${env.JDK_17}/bin/java</jvm>
|
<jvm>${env.JDK_18}/bin/java</jvm>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
|
|||||||
Reference in New Issue
Block a user