Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Resume generating HTA file, and running firefox integration tests

git-svn-id: https://svn.openqa.org/svn/selenium/trunk@1757 0891141a-5dea-0310-ad27-ebc607f31677
  • Loading branch information...
commit 605dd4a9d4f4cfe8e70ec7109849dd62fb1cbc72 1 parent ebd7ee3
dfabulich authored

Showing 1 changed file with 72 additions and 0 deletions. Show diff stats Hide diff stats

  1. +72 0 pom.xml
72 pom.xml
@@ -58,6 +58,8 @@
58 58 <filter token="REVISION" value="${svn-revision}"/>
59 59 </filterset>
60 60 </copy>
  61 +
  62 + <copy file="target/classes/core/TestRunner.html" tofile="target/classes/core/TestRunner.hta" />
61 63
62 64 <mkdir dir="target/classes/core"/>
63 65 <java jar="${maven.dependency.rhino.js.jar.path}" output="target/classes/core/iedoc.xml" failonerror="true" fork="true">
@@ -183,6 +185,71 @@
183 185 </plugins>
184 186 </build>
185 187 </profile>
  188 +
  189 + <profile>
  190 + <id>integration-test-firefox</id>
  191 + <activation>
  192 + <property>
  193 + <name>!notest</name>
  194 + </property>
  195 + </activation>
  196 + <properties>
  197 + <slowResources>false</slowResources>
  198 + <multiWindow>true</multiWindow>
  199 + <browser>*firefox</browser>
  200 + </properties>
  201 + <build>
  202 + <plugins>
  203 + <plugin>
  204 + <artifactId>maven-antrun-plugin</artifactId>
  205 + <version>1.2-SNAPSHOT</version>
  206 + <executions>
  207 + <execution>
  208 + <id>integration-test</id>
  209 + <phase>integration-test</phase>
  210 + <configuration>
  211 + <tasks>
  212 + <taskdef resource="selenium-ant.properties">
  213 + <classpath refid="maven.dependency.classpath" />
  214 + </taskdef>
  215 + <selenese
  216 + browser="${browser}"
  217 + suite="src/main/resources/tests/TestSuite.html"
  218 + port="4444"
  219 + slowResources="${slowResources}"
  220 + multiWindow="${multiWindow}"
  221 + startURL="http://localhost:4444" />
  222 + </tasks>
  223 + </configuration>
  224 + <goals>
  225 + <goal>run</goal>
  226 + </goals>
  227 + </execution>
  228 + </executions>
  229 + <dependencies>
  230 + <dependency>
  231 + <groupId>ant</groupId>
  232 + <artifactId>ant-trax</artifactId>
  233 + <version>1.6.5</version>
  234 + </dependency>
  235 + <dependency>
  236 + <groupId>ant</groupId>
  237 + <artifactId>ant-junit</artifactId>
  238 + <version>1.6.5</version>
  239 + </dependency>
  240 + <dependency>
  241 + <groupId>junit</groupId>
  242 + <artifactId>junit</artifactId>
  243 + <version>3.8.1</version>
  244 + </dependency>
  245 + </dependencies>
  246 + </plugin>
  247 + </plugins>
  248 + </build>
  249 + </profile>
  250 +
  251 +
  252 +
186 253 </profiles>
187 254 <pluginRepositories>
188 255 <pluginRepository>
@@ -247,6 +314,11 @@
247 314 </dependency>
248 315 -->
249 316 <dependency>
  317 + <groupId>org.openqa.selenium.server</groupId>
  318 + <artifactId>selenium-server-coreless</artifactId>
  319 + <version>0.9.2-SNAPSHOT</version>
  320 + </dependency>
  321 + <dependency>
250 322 <groupId>rhino</groupId>
251 323 <artifactId>js</artifactId>
252 324 <version>1.6R5</version>

0 comments on commit 605dd4a

Please sign in to comment.
Something went wrong with that request. Please try again.