Author: ozizka(a)redhat.com
Date: 2009-03-17 14:41:34 -0400 (Tue, 17 Mar 2009)
New Revision: 236
Modified:
trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/util/EmbJoprTestToolkit.java
Log:
EJTT: Fixed waitUntilNodeLoadedByAjax() and waitUntilLoaded() - constants replaced with
arguments.
Modified: trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/util/EmbJoprTestToolkit.java
===================================================================
---
trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/util/EmbJoprTestToolkit.java 2009-03-17
18:39:30 UTC (rev 235)
+++
trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/util/EmbJoprTestToolkit.java 2009-03-17
18:41:34 UTC (rev 236)
@@ -173,7 +173,7 @@
// If found, return true.
return null != self.findNodeByLabel("Applications");
}
- }).throwOnTimeout().waitWithTimeout(1000, 3);
+ }).throwOnTimeout().waitWithTimeout(msInterval, retries);
}
@@ -193,7 +193,7 @@
// If found, return true.
return null != self.findNodeByLabel(nodeLabel);
}
- }).throwOnTimeout().waitWithTimeout(1000, 3);
+ }).throwOnTimeout().waitWithTimeout(msInterval, retries);
}
catch( Exception ex ){
throw new EmbJoprTestException(
Show replies by date