tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From drobia...@apache.org
Subject svn commit: r1142182 - /tapestry/tapestry5/trunk/tapestry-core/src/test/groovy/org/apache/tapestry5/integration/app1/TreeTests.groovy
Date Sat, 02 Jul 2011 09:16:53 GMT
Author: drobiazko
Date: Sat Jul  2 09:16:53 2011
New Revision: 1142182

URL: http://svn.apache.org/viewvc?rev=1142182&view=rev
Log:
Trying out different wait conditions for ajax requests.

Modified:
    tapestry/tapestry5/trunk/tapestry-core/src/test/groovy/org/apache/tapestry5/integration/app1/TreeTests.groovy

Modified: tapestry/tapestry5/trunk/tapestry-core/src/test/groovy/org/apache/tapestry5/integration/app1/TreeTests.groovy
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/test/groovy/org/apache/tapestry5/integration/app1/TreeTests.groovy?rev=1142182&r1=1142181&r2=1142182&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/test/groovy/org/apache/tapestry5/integration/app1/TreeTests.groovy
(original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/test/groovy/org/apache/tapestry5/integration/app1/TreeTests.groovy
Sat Jul  2 09:16:53 2011
@@ -31,7 +31,7 @@ class TreeTests extends SeleniumTestCase
         //Click on Games
         click "//div[@class='t-tree-container test-hook']/ul/li[2]/span[@class='t-tree-icon']"
 
-        waitForCSSSelectedElementToAppear "span.t-tree-expanded"
+        waitForCondition "selenium.browserbot.getCurrentWindow().Ajax.activeRequestCount
== 0", PAGE_LOAD_TIMEOUT
 
         assertTextPresent "Board Games"
 



Mime
View raw message