continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject svn commit: r1597005 - /continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/parent/AbstractContinuumTest.java
Date Fri, 23 May 2014 03:04:43 GMT
Author: brett
Date: Fri May 23 03:04:43 2014
New Revision: 1597005

URL: http://svn.apache.org/r1597005
Log:
wait a shorter amount of time for refresh and use a sane number of iterations

Modified:
    continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/parent/AbstractContinuumTest.java

Modified: continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/parent/AbstractContinuumTest.java
URL: http://svn.apache.org/viewvc/continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/parent/AbstractContinuumTest.java?rev=1597005&r1=1597004&r2=1597005&view=diff
==============================================================================
--- continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/parent/AbstractContinuumTest.java
(original)
+++ continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/parent/AbstractContinuumTest.java
Fri May 23 03:04:43 2014
@@ -780,11 +780,11 @@ public abstract class AbstractContinuumT
         // the "adding project" interstitial page has an empty title, so we wait for a real
title to appear
 
         int currentIt = 1;
-        int maxIt = 20;
+        int maxIt = 12;
 
         while ( getTitle().equals( "" ) && currentIt <= maxIt )
         {
-            waitPage();
+            getSelenium().waitForPageToLoad( "10000" ); // 10s
             currentIt++;
         }
 



Mime
View raw message