continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From c...@apache.org
Subject svn commit: r923030 - /continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/parent/AbstractReleaseTest.java
Date Mon, 15 Mar 2010 02:08:58 GMT
Author: ctan
Date: Mon Mar 15 02:08:58 2010
New Revision: 923030

URL: http://svn.apache.org/viewvc?rev=923030&view=rev
Log:
removed document.body condition, which returns a null

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

Modified: continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/parent/AbstractReleaseTest.java
URL: http://svn.apache.org/viewvc/continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/parent/AbstractReleaseTest.java?rev=923030&r1=923029&r2=923030&view=diff
==============================================================================
--- continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/parent/AbstractReleaseTest.java
(original)
+++ continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/parent/AbstractReleaseTest.java
Mon Mar 15 02:08:58 2010
@@ -56,7 +56,7 @@ public abstract class AbstractReleaseTes
         setFieldValue( "scmTagBase", tagBase );
         setFieldValue( "goals", "clean deploy" );
         submit();
-    
+
         assertRelease( success );
     }
 
@@ -112,8 +112,7 @@ public abstract class AbstractReleaseTes
         throws Exception
     {
         // condition for release is complete; "Done" button or "Release Error" in page is
present
-        String condition = "( selenium.browserbot.getCurrentWindow().document.getElementById(
'releaseCleanup_0' ) != null || " +
-                           "selenium.browserbot.getCurrentWindow().document.body.innerHTML.search(
'Release Error' ) > 0 )";
+        String condition = "( selenium.browserbot.getCurrentWindow().document.getElementById(
'releaseCleanup_0' ) != null )";
 
         waitForCondition( condition );
 



Mime
View raw message