JBoss Rich Faces SVN: r16293 - branches/community/3.3.X/samples/richfaces-demo/functional-test.
by richfaces-svn-commits@lists.jboss.org
Author: lfryc(a)redhat.com
Date: 2010-01-14 10:27:05 -0500 (Thu, 14 Jan 2010)
New Revision: 16293
Modified:
branches/community/3.3.X/samples/richfaces-demo/functional-test/README.html
branches/community/3.3.X/samples/richfaces-demo/functional-test/pom.xml
Log:
- rf-demo ftest pom.xml - added possibility to start container / selenium-server independently on tests, updated README (RFPL-325)
Modified: branches/community/3.3.X/samples/richfaces-demo/functional-test/README.html
===================================================================
--- branches/community/3.3.X/samples/richfaces-demo/functional-test/README.html 2010-01-14 14:54:22 UTC (rev 16292)
+++ branches/community/3.3.X/samples/richfaces-demo/functional-test/README.html 2010-01-14 15:27:05 UTC (rev 16293)
@@ -85,7 +85,7 @@
<h4>Changing host and port of SeleniumServer</h4>
<p>By default build uses local selenium (<tt>localhost:8444</tt>) started in <tt>pre-integration-test</tt> phase, but you can define other host and/or port too:</p>
<p class="indent"><tt>$ mvn ... <b>-Dselenium.host=remote.host -Dselenium.port=4444</b></tt></p>
- <p>(note: despite of specifying other host for connecting remote SeleniumServer, the local instance of SeleniumServer is triggered automatically on the specified port <tt>${selenium.port}</tt> listening on <tt>0.0.0.0</tt> - but you can turn the local Selenium session off by disabling it's profile: <tt>-P!local-selenium-session</tt>)</p>
+ <p>(note: despite of specifying other host for connecting remote SeleniumServer, the local instance of SeleniumServer is triggered automatically on the specified port <tt>${selenium.port}</tt> listening on <tt>0.0.0.0</tt> - but you can turn the local Selenium session off by disabling it's profile: <tt>-P '!local-selenium-session'</tt>)</p>
<p>(note: build automatically prepares JavaScript extensions for SeleniumServer, so it is necessary to copy that extensions from <tt>target/test-classes/custom-extensions.js</tt> and start designated SeleniumServer with switch <tt>-userExtension</tt> pointed to that file - the <tt>custom-extensions.js</tt> are built in <tt>process-test-resources</tt> phase)</p>
<h3>Which richfaces-demo artifact use?</h3>
@@ -129,5 +129,20 @@
<h2>Configuration by default</h2>
<p>All of the definitions above are configured with respect of configuration by default paragidm, so it is possible to achieve different behaviours with varying combinations.</p>
<p>All default values are specified in pom.xml in properties.</p>
+
+ <h2>Special configurations</h2>
+
+ <h3>Debugging</h3>
+ <p>If you want to use the selenium server or container without running the test suite (e.g. for debugging purposes), you may find the following examples useful:</p>
+
+ <h4>Run container only</h4>
+ <p class="indent"><tt>$ mvn verify <b>-DcontainerId=tomcat6x -Dmaven.test.skip=true -P press-key-to-shutdown-server</b></tt></p>
+
+ <h4>Run Selenium server only</h4>
+ <p class="indent"<tt>$ mvn verify <b>-P 'press-key-to-shutdown-server,local-selenim-session,!integration-test,!container-demoapp-deployable-dependency'</b></tt></p>
+
+ <h4>Run integration test suite only</h4>
+ <p>If you have already running selenium server and container, you can just run a test suite:</p>
+ <p class="indent"<tt>$ mvn verify -Dbrowser="*firefox" <b>-P '!local-selenium-session,!container-demoapp-deployable-dependency'</b></tt></p>
</body>
</html>
\ No newline at end of file
Modified: branches/community/3.3.X/samples/richfaces-demo/functional-test/pom.xml
===================================================================
--- branches/community/3.3.X/samples/richfaces-demo/functional-test/pom.xml 2010-01-14 14:54:22 UTC (rev 16292)
+++ branches/community/3.3.X/samples/richfaces-demo/functional-test/pom.xml 2010-01-14 15:27:05 UTC (rev 16293)
@@ -234,6 +234,7 @@
<version>1.0</version>
<executions>
<execution>
+ <id>start-selenium-server</id>
<phase>pre-integration-test</phase>
<goals>
<goal>start-server</goal>
@@ -248,6 +249,17 @@
<debug>${selenium.debug}</debug>
</configuration>
</execution>
+ <execution>
+ <id>stop-selenium-server</id>
+ <phase>post-integration-test</phase>
+ <goals>
+ <goal>stop-server</goal>
+ </goals>
+ <configuration>
+ <background>true</background>
+ <port>${selenium.port}</port>
+ </configuration>
+ </execution>
</executions>
</plugin>
</plugins>
@@ -508,6 +520,30 @@
<container.installer.url>http://www.apache.org/dist/tomcat/tomcat-6/v${container.version}/bin/apac...</container.installer.url>
</properties>
</profile>
+ <profile>
+ <id>press-key-to-shutdown-server</id>
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>press-key-to-shutdown-server</id>
+ <phase>integration-test</phase>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ <configuration>
+ <tasks>
+ <input>Press key for shutdown server...</input>
+ </tasks>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
</profiles>
<dependencies>
<dependency>
14 years, 3 months
JBoss Rich Faces SVN: r16292 - branches/community/3.3.X/samples/richfaces-demo/functional-test.
by richfaces-svn-commits@lists.jboss.org
Author: lfryc(a)redhat.com
Date: 2010-01-14 09:54:22 -0500 (Thu, 14 Jan 2010)
New Revision: 16292
Modified:
branches/community/3.3.X/samples/richfaces-demo/functional-test/README.html
Log:
- rf-demo ftest pom.xml - split profile id:integration-test - modified README.html accordingly (RFPL-319, RFPL-325)
Modified: branches/community/3.3.X/samples/richfaces-demo/functional-test/README.html
===================================================================
--- branches/community/3.3.X/samples/richfaces-demo/functional-test/README.html 2010-01-14 14:48:18 UTC (rev 16291)
+++ branches/community/3.3.X/samples/richfaces-demo/functional-test/README.html 2010-01-14 14:54:22 UTC (rev 16292)
@@ -85,7 +85,7 @@
<h4>Changing host and port of SeleniumServer</h4>
<p>By default build uses local selenium (<tt>localhost:8444</tt>) started in <tt>pre-integration-test</tt> phase, but you can define other host and/or port too:</p>
<p class="indent"><tt>$ mvn ... <b>-Dselenium.host=remote.host -Dselenium.port=4444</b></tt></p>
- <p>(note: despite of specifying other host for connecting remote SeleniumServer, the local instance of SeleniumServer is triggered automatically on the specified port <tt>${selenium.port}</tt> listening on <tt>0.0.0.0</tt> - so give a attention what port are you using)</p>
+ <p>(note: despite of specifying other host for connecting remote SeleniumServer, the local instance of SeleniumServer is triggered automatically on the specified port <tt>${selenium.port}</tt> listening on <tt>0.0.0.0</tt> - but you can turn the local Selenium session off by disabling it's profile: <tt>-P!local-selenium-session</tt>)</p>
<p>(note: build automatically prepares JavaScript extensions for SeleniumServer, so it is necessary to copy that extensions from <tt>target/test-classes/custom-extensions.js</tt> and start designated SeleniumServer with switch <tt>-userExtension</tt> pointed to that file - the <tt>custom-extensions.js</tt> are built in <tt>process-test-resources</tt> phase)</p>
<h3>Which richfaces-demo artifact use?</h3>
14 years, 3 months
JBoss Rich Faces SVN: r16291 - branches/community/3.3.X/samples/richfaces-demo/functional-test.
by richfaces-svn-commits@lists.jboss.org
Author: lfryc(a)redhat.com
Date: 2010-01-14 09:48:18 -0500 (Thu, 14 Jan 2010)
New Revision: 16291
Modified:
branches/community/3.3.X/samples/richfaces-demo/functional-test/pom.xml
Log:
- rf-demo ftest pom.xml - split profile id:integration-test (RFPL-319, RFPL-325)
Modified: branches/community/3.3.X/samples/richfaces-demo/functional-test/pom.xml
===================================================================
--- branches/community/3.3.X/samples/richfaces-demo/functional-test/pom.xml 2010-01-14 13:18:16 UTC (rev 16290)
+++ branches/community/3.3.X/samples/richfaces-demo/functional-test/pom.xml 2010-01-14 14:48:18 UTC (rev 16291)
@@ -147,6 +147,46 @@
<build>
<plugins>
<plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <version>2.4.3</version>
+ <executions>
+ <execution>
+ <id>surefire-it</id>
+ <phase>integration-test</phase>
+ <goals>
+ <goal>test</goal>
+ </goals>
+ <configuration>
+ <skip>false</skip>
+ <suiteXmlFiles>
+ <suiteXmlFile>src/test/resources/testng.xml</suiteXmlFile>
+ </suiteXmlFiles>
+ <argLine>-Dbrowser='${browser}' -Dcontext.root='${context.root}' -Dcontext.path='${context.path}' -Dselenium.host='${selenium.host}' -Dselenium.port='${selenium.port}' -Dselenium.debug='${selenium.debug}' -Dselenium.maximize='${selenium.maximize}' -Dmaven.resources.dir='${resources.dir}' -Dmaven.project.build.directory='${project.build.directory}' -Djsf.majorVersion='${jsf.majorVersion}'</argLine>
+ <firefoxProfileTemplate>${firefoxProfileTemplate}</firefoxProfileTemplate>
+ <properties>
+ <property>
+ <name>listener</name>
+ <value>org.jboss.richfaces.integrationTest.ConsoleStatusTestListener</value>
+ </property>
+ </properties>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ <profile>
+ <id>local-selenium-session</id>
+ <activation>
+ <property>
+ <name>!maven.test.skip</name>
+ </property>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
@@ -210,34 +250,6 @@
</execution>
</executions>
</plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <version>2.4.3</version>
- <executions>
- <execution>
- <id>surefire-it</id>
- <phase>integration-test</phase>
- <goals>
- <goal>test</goal>
- </goals>
- <configuration>
- <skip>false</skip>
- <suiteXmlFiles>
- <suiteXmlFile>src/test/resources/testng.xml</suiteXmlFile>
- </suiteXmlFiles>
- <argLine>-Dbrowser='${browser}' -Dcontext.root='${context.root}' -Dcontext.path='${context.path}' -Dselenium.host='${selenium.host}' -Dselenium.port='${selenium.port}' -Dselenium.debug='${selenium.debug}' -Dselenium.maximize='${selenium.maximize}' -Dmaven.resources.dir='${resources.dir}' -Dmaven.project.build.directory='${project.build.directory}' -Djsf.majorVersion='${jsf.majorVersion}'</argLine>
- <firefoxProfileTemplate>${firefoxProfileTemplate}</firefoxProfileTemplate>
- <properties>
- <property>
- <name>listener</name>
- <value>org.jboss.richfaces.integrationTest.ConsoleStatusTestListener</value>
- </property>
- </properties>
- </configuration>
- </execution>
- </executions>
- </plugin>
</plugins>
</build>
</profile>
14 years, 3 months
JBoss Rich Faces SVN: r16290 - branches/sandbox/rf-demo-ftest-iexplore/src/test/java/org/jboss/richfaces/integrationTest/dataScroller.
by richfaces-svn-commits@lists.jboss.org
Author: lfryc(a)redhat.com
Date: 2010-01-14 08:18:16 -0500 (Thu, 14 Jan 2010)
New Revision: 16290
Modified:
branches/sandbox/rf-demo-ftest-iexplore/src/test/java/org/jboss/richfaces/integrationTest/dataScroller/DataScrollerTestCase.java
Log:
- merge of changes in branch community/3.3.X to locally - r16287 through r16289
Modified: branches/sandbox/rf-demo-ftest-iexplore/src/test/java/org/jboss/richfaces/integrationTest/dataScroller/DataScrollerTestCase.java
===================================================================
--- branches/sandbox/rf-demo-ftest-iexplore/src/test/java/org/jboss/richfaces/integrationTest/dataScroller/DataScrollerTestCase.java 2010-01-14 13:15:20 UTC (rev 16289)
+++ branches/sandbox/rf-demo-ftest-iexplore/src/test/java/org/jboss/richfaces/integrationTest/dataScroller/DataScrollerTestCase.java 2010-01-14 13:18:16 UTC (rev 16290)
@@ -25,6 +25,7 @@
import org.apache.commons.lang.StringUtils;
import org.jboss.richfaces.integrationTest.AbstractDataIterationTestCase;
+import org.jboss.test.selenium.waiting.*;
import org.testng.annotations.BeforeMethod;
import org.testng.annotations.Test;
@@ -66,19 +67,26 @@
* the second page.
*/
@Test(dependsOnMethods = "testNumberedPage")
- public void testRemembersActivePage() {
+ public void testDoesntRememberActivePage() {
gotoFirstPage();
- Integer page = 2;
+ int page = 2;
+
+ Condition firstPageIsActive = new Condition() {
+ public boolean isTrue() {
+ return 1 == getActivePage();
+ }
+ };
gotoPage(format(LOC_BUTTON_NUMBERED_PAGE_PREFORMATTED, page));
selenium.refresh();
- assertTrue(page.equals(getActivePage()));
+ Wait.until(firstPageIsActive);
+
+ gotoPage(format(LOC_BUTTON_NUMBERED_PAGE_PREFORMATTED, page));
- // TODO cannot just do openPage
- // openPage();
- // assertTrue(page.equals(getActivePage()));
+ loadPage();
+ Wait.until(firstPageIsActive);
}
/**
14 years, 3 months
JBoss Rich Faces SVN: r16289 - branches/community/3.3.X/samples/richfaces-demo/functional-test/src/test/java/org/jboss/richfaces/integrationTest/dataScroller.
by richfaces-svn-commits@lists.jboss.org
Author: lfryc(a)redhat.com
Date: 2010-01-14 08:15:20 -0500 (Thu, 14 Jan 2010)
New Revision: 16289
Modified:
branches/community/3.3.X/samples/richfaces-demo/functional-test/src/test/java/org/jboss/richfaces/integrationTest/dataScroller/DataScrollerTestCase.java
Log:
- DataScrollerTestCase - remembersActivePage modified to doesntRememberActivePage
Modified: branches/community/3.3.X/samples/richfaces-demo/functional-test/src/test/java/org/jboss/richfaces/integrationTest/dataScroller/DataScrollerTestCase.java
===================================================================
--- branches/community/3.3.X/samples/richfaces-demo/functional-test/src/test/java/org/jboss/richfaces/integrationTest/dataScroller/DataScrollerTestCase.java 2010-01-14 12:18:24 UTC (rev 16288)
+++ branches/community/3.3.X/samples/richfaces-demo/functional-test/src/test/java/org/jboss/richfaces/integrationTest/dataScroller/DataScrollerTestCase.java 2010-01-14 13:15:20 UTC (rev 16289)
@@ -25,6 +25,7 @@
import org.apache.commons.lang.StringUtils;
import org.jboss.richfaces.integrationTest.AbstractDataIterationTestCase;
+import org.jboss.test.selenium.waiting.*;
import org.testng.annotations.BeforeMethod;
import org.testng.annotations.Test;
@@ -66,19 +67,26 @@
* the second page.
*/
@Test(dependsOnMethods = "testNumberedPage")
- public void testRemembersActivePage() {
+ public void testDoesntRememberActivePage() {
gotoFirstPage();
- Integer page = 2;
+ int page = 2;
+
+ Condition firstPageIsActive = new Condition() {
+ public boolean isTrue() {
+ return 1 == getActivePage();
+ }
+ };
gotoPage(format(LOC_BUTTON_NUMBERED_PAGE_PREFORMATTED, page));
selenium.refresh();
- assertTrue(page.equals(getActivePage()));
+ Wait.until(firstPageIsActive);
+
+ gotoPage(format(LOC_BUTTON_NUMBERED_PAGE_PREFORMATTED, page));
- // TODO cannot just do openPage
- // openPage();
- // assertTrue(page.equals(getActivePage()));
+ loadPage();
+ Wait.until(firstPageIsActive);
}
/**
14 years, 3 months
JBoss Rich Faces SVN: r16288 - branches/sandbox/rf-demo-ftest-iexplore/src/test/java/org/jboss/richfaces/integrationTest/fileUpload.
by richfaces-svn-commits@lists.jboss.org
Author: lfryc(a)redhat.com
Date: 2010-01-14 07:18:24 -0500 (Thu, 14 Jan 2010)
New Revision: 16288
Modified:
branches/sandbox/rf-demo-ftest-iexplore/src/test/java/org/jboss/richfaces/integrationTest/fileUpload/FileUploadTestCase.java
Log:
- FileUploadTestCase - createImages depends on initializeBrowser (don't try to create images before we know that this method is enabled)
Modified: branches/sandbox/rf-demo-ftest-iexplore/src/test/java/org/jboss/richfaces/integrationTest/fileUpload/FileUploadTestCase.java
===================================================================
--- branches/sandbox/rf-demo-ftest-iexplore/src/test/java/org/jboss/richfaces/integrationTest/fileUpload/FileUploadTestCase.java 2010-01-14 12:14:39 UTC (rev 16287)
+++ branches/sandbox/rf-demo-ftest-iexplore/src/test/java/org/jboss/richfaces/integrationTest/fileUpload/FileUploadTestCase.java 2010-01-14 12:18:24 UTC (rev 16288)
@@ -523,16 +523,16 @@
return new Color(red, green, blue);
}
- @SuppressWarnings("unused")
- @BeforeClass
- private void createImages() {
- createImage(Color.RED, 128, 128);
- createImage(Color.BLUE, 128, 128);
- createImage(Color.CYAN, 128, 128);
- createImage(Color.YELLOW, 128, 128);
- createImage(Color.ORANGE, 128, 128);
- createImage(Color.GREEN, 2000, 3500);
- }
+ @SuppressWarnings("unused")
+ @BeforeClass(dependsOnMethods = "initializeBrowser")
+ private void createImages() {
+ createImage(Color.RED, 128, 128);
+ createImage(Color.BLUE, 128, 128);
+ createImage(Color.CYAN, 128, 128);
+ createImage(Color.YELLOW, 128, 128);
+ createImage(Color.ORANGE, 128, 128);
+ createImage(Color.GREEN, 2000, 3500);
+ }
@SuppressWarnings("unused")
@AfterClass
14 years, 3 months
JBoss Rich Faces SVN: r16287 - in branches/sandbox/rf-demo-ftest-iexplore/src/test: resources/org/jboss/richfaces/integrationTest/repeat and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: lfryc(a)redhat.com
Date: 2010-01-14 07:14:39 -0500 (Thu, 14 Jan 2010)
New Revision: 16287
Modified:
branches/sandbox/rf-demo-ftest-iexplore/src/test/java/org/jboss/richfaces/integrationTest/repeat/RepeatTestCase.java
branches/sandbox/rf-demo-ftest-iexplore/src/test/resources/org/jboss/richfaces/integrationTest/repeat/locators.properties
Log:
- merge of changes in branch community/3.3.X to locally - r16284 through r16286
Modified: branches/sandbox/rf-demo-ftest-iexplore/src/test/java/org/jboss/richfaces/integrationTest/repeat/RepeatTestCase.java
===================================================================
--- branches/sandbox/rf-demo-ftest-iexplore/src/test/java/org/jboss/richfaces/integrationTest/repeat/RepeatTestCase.java 2010-01-14 12:11:27 UTC (rev 16286)
+++ branches/sandbox/rf-demo-ftest-iexplore/src/test/java/org/jboss/richfaces/integrationTest/repeat/RepeatTestCase.java 2010-01-14 12:14:39 UTC (rev 16287)
@@ -86,7 +86,7 @@
}
// select some option in reason
- int options = getJQueryCount(locSelectReason + "/*[@value]");
+ int options = getJQueryCount(locSelectReason + " *[value]");
assertTrue(options > 0);
selenium.select(locSelectReason, format("index={0}", row % options));
Modified: branches/sandbox/rf-demo-ftest-iexplore/src/test/resources/org/jboss/richfaces/integrationTest/repeat/locators.properties
===================================================================
--- branches/sandbox/rf-demo-ftest-iexplore/src/test/resources/org/jboss/richfaces/integrationTest/repeat/locators.properties 2010-01-14 12:11:27 UTC (rev 16286)
+++ branches/sandbox/rf-demo-ftest-iexplore/src/test/resources/org/jboss/richfaces/integrationTest/repeat/locators.properties 2010-01-14 12:14:39 UTC (rev 16287)
@@ -1,5 +1,5 @@
FIELDSET_HEADER=jquery=legend
-INPUT_PROPOSED_PRICE_PREFORMATTED=jquery\=table.rich-table tr{0,choice,0\#|1\#\:nth-child({0})} td\:eq(1) input
-SELECT_REASON_PREFORMATTED=jquery\=table.rich-table tr{0,choice,0\#|1\#\:nth-child({0})} td\:eq(3) select
-OUTPUT_SALES_COST_PREFORMATTED=jquery\=table.rich-table tr{0,choice,0\#|1\#\:nth-child({0})} td\:eq(2)
-OUTPUT_GROSS_MARGIN_PREFORMATTED=jquery\=table.rich-table tr{0,choice,0\#|1\#\:nth-child({0})} td\:eq(4)
+INPUT_PROPOSED_PRICE_PREFORMATTED=jquery\=table.rich-table tr{0,choice,0\#|1\#\:nth-child({0})} td\:nth-child(2) input
+SELECT_REASON_PREFORMATTED=jquery\=table.rich-table tr{0,choice,0\#|1\#\:nth-child({0})} td\:nth-child(4) select
+OUTPUT_SALES_COST_PREFORMATTED=jquery\=table.rich-table tr{0,choice,0\#|1\#\:nth-child({0})} td\:nth-child(3)
+OUTPUT_GROSS_MARGIN_PREFORMATTED=jquery\=table.rich-table tr{0,choice,0\#|1\#\:nth-child({0})} td\:nth-child(5)
14 years, 3 months
JBoss Rich Faces SVN: r16286 - in branches/community/3.3.X/samples/richfaces-demo/functional-test/src/test: resources/org/jboss/richfaces/integrationTest/repeat and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: lfryc(a)redhat.com
Date: 2010-01-14 07:11:27 -0500 (Thu, 14 Jan 2010)
New Revision: 16286
Modified:
branches/community/3.3.X/samples/richfaces-demo/functional-test/src/test/java/org/jboss/richfaces/integrationTest/repeat/RepeatTestCase.java
branches/community/3.3.X/samples/richfaces-demo/functional-test/src/test/resources/org/jboss/richfaces/integrationTest/repeat/locators.properties
Log:
- RepeatTestCase - fixed jQuery to use proper nature of test
Modified: branches/community/3.3.X/samples/richfaces-demo/functional-test/src/test/java/org/jboss/richfaces/integrationTest/repeat/RepeatTestCase.java
===================================================================
--- branches/community/3.3.X/samples/richfaces-demo/functional-test/src/test/java/org/jboss/richfaces/integrationTest/repeat/RepeatTestCase.java 2010-01-14 11:35:58 UTC (rev 16285)
+++ branches/community/3.3.X/samples/richfaces-demo/functional-test/src/test/java/org/jboss/richfaces/integrationTest/repeat/RepeatTestCase.java 2010-01-14 12:11:27 UTC (rev 16286)
@@ -86,7 +86,7 @@
}
// select some option in reason
- int options = getJQueryCount(locSelectReason + "/*[@value]");
+ int options = getJQueryCount(locSelectReason + " *[value]");
assertTrue(options > 0);
selenium.select(locSelectReason, format("index={0}", row % options));
Modified: branches/community/3.3.X/samples/richfaces-demo/functional-test/src/test/resources/org/jboss/richfaces/integrationTest/repeat/locators.properties
===================================================================
--- branches/community/3.3.X/samples/richfaces-demo/functional-test/src/test/resources/org/jboss/richfaces/integrationTest/repeat/locators.properties 2010-01-14 11:35:58 UTC (rev 16285)
+++ branches/community/3.3.X/samples/richfaces-demo/functional-test/src/test/resources/org/jboss/richfaces/integrationTest/repeat/locators.properties 2010-01-14 12:11:27 UTC (rev 16286)
@@ -1,5 +1,5 @@
FIELDSET_HEADER=jquery=legend
-INPUT_PROPOSED_PRICE_PREFORMATTED=jquery\=table.rich-table tr{0,choice,0\#|1\#\:nth-child({0})} td\:eq(1) input
-SELECT_REASON_PREFORMATTED=jquery\=table.rich-table tr{0,choice,0\#|1\#\:nth-child({0})} td\:eq(3) select
-OUTPUT_SALES_COST_PREFORMATTED=jquery\=table.rich-table tr{0,choice,0\#|1\#\:nth-child({0})} td\:eq(2)
-OUTPUT_GROSS_MARGIN_PREFORMATTED=jquery\=table.rich-table tr{0,choice,0\#|1\#\:nth-child({0})} td\:eq(4)
+INPUT_PROPOSED_PRICE_PREFORMATTED=jquery\=table.rich-table tr{0,choice,0\#|1\#\:nth-child({0})} td\:nth-child(2) input
+SELECT_REASON_PREFORMATTED=jquery\=table.rich-table tr{0,choice,0\#|1\#\:nth-child({0})} td\:nth-child(4) select
+OUTPUT_SALES_COST_PREFORMATTED=jquery\=table.rich-table tr{0,choice,0\#|1\#\:nth-child({0})} td\:nth-child(3)
+OUTPUT_GROSS_MARGIN_PREFORMATTED=jquery\=table.rich-table tr{0,choice,0\#|1\#\:nth-child({0})} td\:nth-child(5)
14 years, 3 months
JBoss Rich Faces SVN: r16285 - branches/sandbox/rf-demo-ftest-iexplore/src/test/resources.
by richfaces-svn-commits@lists.jboss.org
Author: lfryc(a)redhat.com
Date: 2010-01-14 06:35:58 -0500 (Thu, 14 Jan 2010)
New Revision: 16285
Modified:
branches/sandbox/rf-demo-ftest-iexplore/src/test/resources/testng.xml
Log:
- switch TooltipTestCase as internet-explorer-enabled=true
Modified: branches/sandbox/rf-demo-ftest-iexplore/src/test/resources/testng.xml
===================================================================
--- branches/sandbox/rf-demo-ftest-iexplore/src/test/resources/testng.xml 2010-01-14 11:24:52 UTC (rev 16284)
+++ branches/sandbox/rf-demo-ftest-iexplore/src/test/resources/testng.xml 2010-01-14 11:35:58 UTC (rev 16285)
@@ -577,6 +577,7 @@
</test>
<test name="org.jboss.richfaces.integrationTest.tooltip.TooltipTestCase">
+ <parameter name="internet-explorer-enabled" value="false"></parameter>
<classes>
<class name="org.jboss.richfaces.integrationTest.tooltip.TooltipTestCase" />
</classes>
14 years, 3 months
JBoss Rich Faces SVN: r16284 - in branches/sandbox/rf-demo-ftest-iexplore: src/test/java/org/jboss/richfaces/integrationTest and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: lfryc(a)redhat.com
Date: 2010-01-14 06:24:52 -0500 (Thu, 14 Jan 2010)
New Revision: 16284
Modified:
branches/sandbox/rf-demo-ftest-iexplore/pom.xml
branches/sandbox/rf-demo-ftest-iexplore/src/test/java/org/jboss/richfaces/integrationTest/AbstractSeleniumRichfacesTestCase.java
Log:
- merge of changes in branch community/3.3.X to locally - r16273 through r16283
Modified: branches/sandbox/rf-demo-ftest-iexplore/pom.xml
===================================================================
--- branches/sandbox/rf-demo-ftest-iexplore/pom.xml 2010-01-14 11:21:12 UTC (rev 16283)
+++ branches/sandbox/rf-demo-ftest-iexplore/pom.xml 2010-01-14 11:24:52 UTC (rev 16284)
@@ -157,7 +157,7 @@
</goals>
<configuration>
<includeGroupIds>org.jboss.test</includeGroupIds>
- <includeArtifactIds>selenium</includeArtifactIds>
+ <includeArtifactIds>richfaces-selenium</includeArtifactIds>
<includes>jbossqa-extensions.js</includes>
<outputDirectory>${extensions.dir}</outputDirectory>
<overWriteReleases>true</overWriteReleases>
@@ -525,7 +525,7 @@
</dependency>
<dependency>
<groupId>org.jboss.test</groupId>
- <artifactId>selenium</artifactId>
+ <artifactId>richfaces-selenium</artifactId>
<version>1.0-SNAPSHOT</version>
<scope>test</scope>
</dependency>
Modified: branches/sandbox/rf-demo-ftest-iexplore/src/test/java/org/jboss/richfaces/integrationTest/AbstractSeleniumRichfacesTestCase.java
===================================================================
--- branches/sandbox/rf-demo-ftest-iexplore/src/test/java/org/jboss/richfaces/integrationTest/AbstractSeleniumRichfacesTestCase.java 2010-01-14 11:21:12 UTC (rev 16283)
+++ branches/sandbox/rf-demo-ftest-iexplore/src/test/java/org/jboss/richfaces/integrationTest/AbstractSeleniumRichfacesTestCase.java 2010-01-14 11:24:52 UTC (rev 16284)
@@ -134,7 +134,7 @@
allowInitialXpath();
loadCustomLocationStrategies();
loggingTestListener.setSelenium(selenium);
-
+
if (Boolean.valueOf(seleniumMaximize)) {
// focus and maximaze tested window
selenium.windowFocus();
14 years, 3 months