continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject svn commit: r925056 - in /continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/parent: AbstractConfigurationTest.java AbstractContinuumTest.java
Date Fri, 19 Mar 2010 00:44:48 GMT
Author: brett
Date: Fri Mar 19 00:44:47 2010
New Revision: 925056

URL: http://svn.apache.org/viewvc?rev=925056&view=rev
Log:
remove superfluous waits

Modified:
    continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/parent/AbstractConfigurationTest.java
    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/AbstractConfigurationTest.java
URL: http://svn.apache.org/viewvc/continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/parent/AbstractConfigurationTest.java?rev=925056&r1=925055&r2=925056&view=diff
==============================================================================
--- continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/parent/AbstractConfigurationTest.java
(original)
+++ continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/parent/AbstractConfigurationTest.java
Fri Mar 19 00:44:47 2010
@@ -29,7 +29,6 @@ public abstract class AbstractConfigurat
     public void goToConfigurationPage()
     {
         clickLinkWithText( "Configuration" );
-        waitPage();
         assertEditConfigurationPage();
     }
 

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=925056&r1=925055&r2=925056&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 Mar 19 00:44:47 2010
@@ -380,27 +380,18 @@ public abstract class AbstractContinuumT
         // wait for project to finish building
         waitForProjectBuild();
         
-        getSelenium().refresh();
-        waitPage();
-        
         // wait for the success status of project
         if ( !isElementPresent( "//a/img[@alt='Success']" ) )
         {
             waitForElementPresent( "//a/img[@alt='Success']" );
         }
         
-        getSelenium().refresh();
-        waitPage();
-        
         // wait for the projectName link
         if ( !isLinkPresent( projectName ) )
         {
             waitForElementPresent( "link=" + projectName );
         }
 
-        getSelenium().refresh();
-        waitPage();
-
         clickLinkWithText( projectName );
         clickLinkWithText( "Builds" );
         clickLinkWithText( "Result" );
@@ -897,9 +888,6 @@ public abstract class AbstractContinuumT
     public void waitForProjectCheckout()
         throws Exception
     {
-        getSelenium().refresh();
-        waitPage();
-        
         // wait for project to finish checking out
         waitForElementPresent( "//img[@alt='Checking Out']", false );
     }
@@ -907,17 +895,11 @@ public abstract class AbstractContinuumT
     public void waitForProjectUpdate()
         throws Exception
     {
-        getSelenium().refresh();
-        waitPage();
-        
         if ( isElementPresent( "//img[@alt='Checking Out']" ) )
         {
             waitForProjectCheckout();
         }
         
-        getSelenium().refresh();
-        waitPage();
-        
         // wait for project to finish updating
         waitForElementPresent( "//img[@alt='Updating']", false );
     }
@@ -925,17 +907,11 @@ public abstract class AbstractContinuumT
     public void waitForProjectBuild()
         throws Exception
     {
-        getSelenium().refresh();
-        waitPage();
-        
         if ( isElementPresent( "//img[@alt='Checking Out']" ) || isElementPresent( "//img[@alt='Updating']"
) )
         {
             waitForProjectUpdate();
         }
         
-        getSelenium().refresh();
-        waitPage();
-        
         // wait for project to finish building
         waitForElementPresent( "//img[@alt='Building']", false );
     }



Mime
View raw message