Update selenium to 2.52.0 to fix strange behavior in one of js tests.
This selenium requires jre7 to run.
This commit is contained in:
+1
-1
@@ -46,7 +46,7 @@
|
||||
<pegdown.version>1.1.0</pegdown.version>
|
||||
<surefire-version>2.16</surefire-version>
|
||||
<exec-maven-plugin.version>1.2.1</exec-maven-plugin.version>
|
||||
<selenium.version>2.37.1</selenium.version>
|
||||
<selenium.version>2.52.0</selenium.version>
|
||||
|
||||
<kotlin-dist>${project-root}/dist</kotlin-dist>
|
||||
<kotlin-sdk>${kotlin-dist}/kotlinc</kotlin-sdk>
|
||||
|
||||
@@ -76,7 +76,12 @@
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
|
||||
<plugin>
|
||||
<artifactId>maven-surefire-plugin</artifactId>
|
||||
<configuration>
|
||||
<jvm>${env.JDK_17}/bin/java</jvm>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<artifactId>maven-deploy-plugin</artifactId>
|
||||
<configuration>
|
||||
|
||||
@@ -42,7 +42,7 @@ public class SeleniumTest {
|
||||
|
||||
protected static class HtmlUnitDriverWithExceptionOnFailingStatusCode extends HtmlUnitDriver {
|
||||
HtmlUnitDriverWithExceptionOnFailingStatusCode() {
|
||||
super(BrowserVersion.FIREFOX_17);
|
||||
super(BrowserVersion.CHROME);
|
||||
getWebClient().getOptions().setThrowExceptionOnFailingStatusCode(true);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user