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:
Ilya Gorbunov
2016-11-21 17:27:11 +03:00
parent 60bc35b787
commit b4fbedbc9e
3 changed files with 8 additions and 3 deletions
+1 -1
View File
@@ -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);
}
}