Author: konstantin.mishin
Date: 2009-05-20 14:00:28 -0400 (Wed, 20 May 2009)
New Revision: 14255
Modified:
branches/community/3.3.X/examples/photoalbum/tests/pom.xml
branches/community/3.3.X/examples/photoalbum/tests/src/test/java/org/richfaces/photoalbum/SeleniumTestBase.java
Log:
RF-7083
Modified: branches/community/3.3.X/examples/photoalbum/tests/pom.xml
===================================================================
--- branches/community/3.3.X/examples/photoalbum/tests/pom.xml 2009-05-20 17:05:26 UTC
(rev 14254)
+++ branches/community/3.3.X/examples/photoalbum/tests/pom.xml 2009-05-20 18:00:28 UTC
(rev 14255)
@@ -14,7 +14,7 @@
<properties>
<jboss.version>4.2.3.GA</jboss.version>
<jbosshome>${project.basedir}/target/installs/jboss-${jboss.version}/jboss-${jboss.version}</jbosshome>
- <jboss.installer.url>file:F:\Distribs\jboss-${jboss.version}.zip</jboss.installer.url>
+ <jboss.installer.url>file:d:\workspace\jboss-${jboss.version}.zip</jboss.installer.url>
<jbosscontext>default</jbosscontext>
</properties>
@@ -68,22 +68,28 @@
<classifier>jdk15</classifier>
</dependency>
<dependency>
- <groupId>org.openqa.selenium.client-drivers</groupId>
+ <groupId>org.seleniumhq.selenium.core</groupId>
+ <artifactId>selenium-core</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.seleniumhq.selenium.client-drivers</groupId>
<artifactId>selenium-java-client-driver</artifactId>
<version>1.0-SNAPSHOT</version>
<scope>test</scope>
</dependency>
<dependency>
- <groupId>org.openqa.selenium.server</groupId>
+ <groupId>org.seleniumhq.selenium.server</groupId>
<artifactId>selenium-server-coreless</artifactId>
<version>1.0-SNAPSHOT</version>
<scope>test</scope>
- <exclusions>
+ <!--exclusions>
<exclusion>
<groupId>jetty</groupId>
<artifactId>org.mortbay.jetty</artifactId>
</exclusion>
- </exclusions>
+ </exclusions-->
</dependency>
<dependency>
<groupId>org.apache.xmlgraphics</groupId>
Modified:
branches/community/3.3.X/examples/photoalbum/tests/src/test/java/org/richfaces/photoalbum/SeleniumTestBase.java
===================================================================
---
branches/community/3.3.X/examples/photoalbum/tests/src/test/java/org/richfaces/photoalbum/SeleniumTestBase.java 2009-05-20
17:05:26 UTC (rev 14254)
+++
branches/community/3.3.X/examples/photoalbum/tests/src/test/java/org/richfaces/photoalbum/SeleniumTestBase.java 2009-05-20
18:00:28 UTC (rev 14255)
@@ -77,7 +77,7 @@
@BeforeSuite
public void startSeleniumServer() throws Exception {
RemoteControlConfiguration config = new RemoteControlConfiguration();
- config.setMultiWindow(false);
+ config.setSingleWindow(true);
config.setPort(seleniumServerPort);
config.setUserExtensions(new
File(getClass().getClassLoader().getResource("script/selenium/user-extensions.js").toURI()));
seleniumServer = new SeleniumServer(false, config);