More test fixing.
authorThiago H. de Paula Figueiredo <thiago@arsmachina.com.br>
Sat, 24 Nov 2018 19:11:58 +0000 (17:11 -0200)
committerThiago H. de Paula Figueiredo <thiago@arsmachina.com.br>
Sat, 24 Nov 2018 19:11:58 +0000 (17:11 -0200)
tapestry-core/src/test/groovy/org/apache/tapestry5/integration/app1/AlertsTests.groovy
tapestry-core/src/test/groovy/org/apache/tapestry5/integration/app1/TreeTests.groovy

index de1df6c..3ebadcb 100644 (file)
@@ -154,7 +154,7 @@ class AlertsTests extends App1TestCase {
 
         waitForAjaxRequestsToComplete()
 
-        waitForCSSSelectedElementToAppear "div.t-error"
+        waitForCssSelectorToAppear "div.t-error"
 
         assertText "css=div.t-error div.t-message-container", "ajax error single"
 
index 78c9a8f..5301a60 100644 (file)
@@ -52,7 +52,7 @@ class TreeTests extends App1TestCase {
         sleep 250
 
         // Since there's no simple way to build the CSS select we need.
-        // waitForCSSSelectedElementToAppear "li.leaf-node > span"
+        // waitForCssSelectorToAppear "li.leaf-node > span"
 
         assertTextPresent "Oscar", "Gromit", "Max", "Roger", "Cooper"
 
@@ -60,12 +60,12 @@ class TreeTests extends App1TestCase {
 
         click "css=[data-tree-node-selection-enabled] li.leaf-node > span.tree-label"
 
-        waitForCSSSelectedElementToAppear "span.selected-leaf-node"
+        waitForCssSelectorToAppear "span.selected-leaf-node"
 
         clickAndWait "link=Redraw"
 
         // Make sure it is still there after a redraw
 
-        waitForCSSSelectedElementToAppear "span.selected-leaf-node"
+        waitForCssSelectorToAppear "span.selected-leaf-node"
     }
 }