Author: lfryc(a)redhat.com
Date: 2009-09-09 05:00:11 -0400 (Wed, 09 Sep 2009)
New Revision: 15503
Modified:
branches/community/3.3.X/samples/richfaces-demo/functional-test/src/test/java/org/jboss/richfaces/integrationTest/extendedDataTable/AbstractExtendedDataTableTestCase.java
Log:
* AbstractExtendedDataTableTestCase - modified waitForSplashScreen - longer wait timeout
when waiting for splash screen disappears
Modified:
branches/community/3.3.X/samples/richfaces-demo/functional-test/src/test/java/org/jboss/richfaces/integrationTest/extendedDataTable/AbstractExtendedDataTableTestCase.java
===================================================================
---
branches/community/3.3.X/samples/richfaces-demo/functional-test/src/test/java/org/jboss/richfaces/integrationTest/extendedDataTable/AbstractExtendedDataTableTestCase.java 2009-09-09
08:46:24 UTC (rev 15502)
+++
branches/community/3.3.X/samples/richfaces-demo/functional-test/src/test/java/org/jboss/richfaces/integrationTest/extendedDataTable/AbstractExtendedDataTableTestCase.java 2009-09-09
09:00:11 UTC (rev 15503)
@@ -52,12 +52,12 @@
* Wait for splash screen indicating request of table rerendering disappears
*/
protected void waitForSplash() {
- Wait.dontFail().interval(1).timeout(2000).until(new Condition() {
+ Wait.dontFail().interval(5).timeout(2000).until(new Condition() {
public boolean isTrue() {
return selenium.isElementPresent(LOC_DIV_SPLASH_SCREEN);
}
});
- Wait.interval(1).timeout(2000).until(new Condition() {
+ waitModelUpdate.until(new Condition() {
public boolean isTrue() {
return !selenium.isElementPresent(LOC_DIV_SPLASH_SCREEN);
}