aboutsummaryrefslogtreecommitdiff
path: root/pom.xml
diff options
context:
space:
mode:
authorJosh Rosen <joshrosen@apache.org>2014-10-26 11:29:27 -0700
committerJosh Rosen <joshrosen@databricks.com>2014-10-26 11:29:27 -0700
commitbf589fc717c842d1998e3c3a523bc8775cb30269 (patch)
tree10b5f7de8c1170354f64b8838d60a0e849bb9183 /pom.xml
parentb75954015fba8041ff25ab6d1a53b22b8f868526 (diff)
downloadspark-bf589fc717c842d1998e3c3a523bc8775cb30269.tar.gz
spark-bf589fc717c842d1998e3c3a523bc8775cb30269.tar.bz2
spark-bf589fc717c842d1998e3c3a523bc8775cb30269.zip
[SPARK-3616] Add basic Selenium tests to WebUISuite
This patch adds Selenium tests for Spark's web UI. To avoid adding extra dependencies to the test environment, the tests use Selenium's HtmlUnitDriver, which is pure-Java, instead of, say, ChromeDriver. I added new tests to try to reproduce a few UI bugs reported on JIRA, namely SPARK-3021, SPARK-2105, and SPARK-2527. I wasn't able to reproduce these bugs; I suspect that the older ones might have been fixed by other patches. In order to use HtmlUnitDriver, I added an explicit dependency on the org.apache.httpcomponents version of httpclient in order to prevent jets3t's older version from taking precedence on the classpath. I also upgraded ScalaTest to 2.2.1. Author: Josh Rosen <joshrosen@apache.org> Author: Josh Rosen <joshrosen@databricks.com> Closes #2474 from JoshRosen/webui-selenium-tests and squashes the following commits: fcc9e83 [Josh Rosen] scalautils -> scalactic package rename 510e54a [Josh Rosen] [SPARK-3616] Add basic Selenium tests to WebUISuite.
Diffstat (limited to 'pom.xml')
-rw-r--r--pom.xml8
1 files changed, 7 insertions, 1 deletions
diff --git a/pom.xml b/pom.xml
index 2faf0c7dcf..2ebe1b8da5 100644
--- a/pom.xml
+++ b/pom.xml
@@ -313,6 +313,12 @@
<version>1.3.9</version>
</dependency>
<dependency>
+ <groupId>org.seleniumhq.selenium</groupId>
+ <artifactId>selenium-java</artifactId>
+ <version>2.42.2</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>${slf4j.version}</version>
@@ -520,7 +526,7 @@
<dependency>
<groupId>org.scalatest</groupId>
<artifactId>scalatest_${scala.binary.version}</artifactId>
- <version>2.1.5</version>
+ <version>2.2.1</version>
<scope>test</scope>
</dependency>
<dependency>