You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by hl...@apache.org on 2011/06/29 19:35:02 UTC

svn commit: r1141178 - /tapestry/tapestry5/trunk/tapestry-core/src/test/groovy/org/apache/tapestry5/integration/app1/TapestryJavaScriptTests.groovy

Author: hlship
Date: Wed Jun 29 17:35:02 2011
New Revision: 1141178

URL: http://svn.apache.org/viewvc?rev=1141178&view=rev
Log:
TAP5-999: Fix error in JavaScript unit tests

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

Modified: tapestry/tapestry5/trunk/tapestry-core/src/test/groovy/org/apache/tapestry5/integration/app1/TapestryJavaScriptTests.groovy
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/test/groovy/org/apache/tapestry5/integration/app1/TapestryJavaScriptTests.groovy?rev=1141178&r1=1141177&r2=1141178&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/test/groovy/org/apache/tapestry5/integration/app1/TapestryJavaScriptTests.groovy (original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/test/groovy/org/apache/tapestry5/integration/app1/TapestryJavaScriptTests.groovy Wed Jun 29 17:35:02 2011
@@ -9,7 +9,7 @@ class TapestryJavaScriptTests extends Ta
     void basic_javascript_tests() {
         openLinks "JavaScript Unit Tests"
 
-        def caption = getText("//div[@class='js-results']/p[@class='caption']")
+        def caption = getText("//div[@class='js-results']/p[contains(@class,'caption')]")
 
         def matches = caption =~ /(\d+) failed/