You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by ul...@apache.org on 2010/03/14 21:22:33 UTC

svn commit: r922945 - /tapestry/tapestry5/branches/5.1.0.x-dev/tapestry-core/src/test/java/org/apache/tapestry5/integration/IntegrationTests.java

Author: uli
Date: Sun Mar 14 20:22:33 2010
New Revision: 922945

URL: http://svn.apache.org/viewvc?rev=922945&view=rev
Log:
Stop failing me stupid test...

Modified:
    tapestry/tapestry5/branches/5.1.0.x-dev/tapestry-core/src/test/java/org/apache/tapestry5/integration/IntegrationTests.java

Modified: tapestry/tapestry5/branches/5.1.0.x-dev/tapestry-core/src/test/java/org/apache/tapestry5/integration/IntegrationTests.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/branches/5.1.0.x-dev/tapestry-core/src/test/java/org/apache/tapestry5/integration/IntegrationTests.java?rev=922945&r1=922944&r2=922945&view=diff
==============================================================================
--- tapestry/tapestry5/branches/5.1.0.x-dev/tapestry-core/src/test/java/org/apache/tapestry5/integration/IntegrationTests.java (original)
+++ tapestry/tapestry5/branches/5.1.0.x-dev/tapestry-core/src/test/java/org/apache/tapestry5/integration/IntegrationTests.java Sun Mar 14 20:22:33 2010
@@ -1138,6 +1138,8 @@ public class IntegrationTests extends Ab
         type("zipCode", "abc");
 
         click(update); // but don't wait
+        
+        waitForCondition("selenium.browserbot.getCurrentWindow().document.getElementById('zipCode:errorpopup')", "5000");
 
         assertTextPresent("A zip code consists of five or nine digits, eg: 02134 or 90125-4472.");