Skip to content
Browse files

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...
1 parent ebd7ee3 commit 605dd4a9d4f4cfe8e70ec7109849dd62fb1cbc72 dfabulich committed Apr 16, 2007
Showing with 72 additions and 0 deletions.
  1. +72 −0 pom.xml
View
72 pom.xml
@@ -58,6 +58,8 @@
<filter token="REVISION" value="${svn-revision}"/>
</filterset>
</copy>
+
+ <copy file="target/classes/core/TestRunner.html" tofile="target/classes/core/TestRunner.hta" />
<mkdir dir="target/classes/core"/>
<java jar="${maven.dependency.rhino.js.jar.path}" output="target/classes/core/iedoc.xml" failonerror="true" fork="true">
@@ -183,6 +185,71 @@
</plugins>
</build>
</profile>
+
+ <profile>
+ <id>integration-test-firefox</id>
+ <activation>
+ <property>
+ <name>!notest</name>
+ </property>
+ </activation>
+ <properties>
+ <slowResources>false</slowResources>
+ <multiWindow>true</multiWindow>
+ <browser>*firefox</browser>
+ </properties>
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <version>1.2-SNAPSHOT</version>
+ <executions>
+ <execution>
+ <id>integration-test</id>
+ <phase>integration-test</phase>
+ <configuration>
+ <tasks>
+ <taskdef resource="selenium-ant.properties">
+ <classpath refid="maven.dependency.classpath" />
+ </taskdef>
+ <selenese
+ browser="${browser}"
+ suite="src/main/resources/tests/TestSuite.html"
+ port="4444"
+ slowResources="${slowResources}"
+ multiWindow="${multiWindow}"
+ startURL="http://localhost:4444" />
+ </tasks>
+ </configuration>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ </execution>
+ </executions>
+ <dependencies>
+ <dependency>
+ <groupId>ant</groupId>
+ <artifactId>ant-trax</artifactId>
+ <version>1.6.5</version>
+ </dependency>
+ <dependency>
+ <groupId>ant</groupId>
+ <artifactId>ant-junit</artifactId>
+ <version>1.6.5</version>
+ </dependency>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <version>3.8.1</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+
+
+
</profiles>
<pluginRepositories>
<pluginRepository>
@@ -247,6 +314,11 @@
</dependency>
-->
<dependency>
+ <groupId>org.openqa.selenium.server</groupId>
+ <artifactId>selenium-server-coreless</artifactId>
+ <version>0.9.2-SNAPSHOT</version>
+ </dependency>
+ <dependency>
<groupId>rhino</groupId>
<artifactId>js</artifactId>
<version>1.6R5</version>

0 comments on commit 605dd4a

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