Author: lfryc(a)redhat.com
Date: 2010-01-19 08:41:53 -0500 (Tue, 19 Jan 2010)
New Revision: 16333
Modified:
branches/community/3.3.X/samples/richfaces-demo/functional-test/src/test/java/org/jboss/richfaces/integrationTest/AbstractDataIterationTestCase.java
Log:
- RFPL-342 rf-demo ftest - DataScrollerTestCase - active page indicator wasn't found
Modified:
branches/community/3.3.X/samples/richfaces-demo/functional-test/src/test/java/org/jboss/richfaces/integrationTest/AbstractDataIterationTestCase.java
===================================================================
---
branches/community/3.3.X/samples/richfaces-demo/functional-test/src/test/java/org/jboss/richfaces/integrationTest/AbstractDataIterationTestCase.java 2010-01-19
13:30:49 UTC (rev 16332)
+++
branches/community/3.3.X/samples/richfaces-demo/functional-test/src/test/java/org/jboss/richfaces/integrationTest/AbstractDataIterationTestCase.java 2010-01-19
13:41:53 UTC (rev 16333)
@@ -120,6 +120,7 @@
* @return number of active page
*/
protected Integer getActivePage() {
+ selenium.waitForCondition(format("selenium.isElementPresent('{0}')",
LOC_OUTPUT_ACTIVE_PAGE), "5000");
return Integer.valueOf(selenium.getText(LOC_OUTPUT_ACTIVE_PAGE));
}
Show replies by date