Fix the code that accesses the alert to use explict css matching

Project: http://git-wip-us.apache.org/repos/asf/tapestry-5/repo
Commit: http://git-wip-us.apache.org/repos/asf/tapestry-5/commit/762d453e
Tree: http://git-wip-us.apache.org/repos/asf/tapestry-5/tree/762d453e
Diff: http://git-wip-us.apache.org/repos/asf/tapestry-5/diff/762d453e

Branch: refs/heads/5.4-js-rewrite
Commit: 762d453e709f6d39c8bea7a1982cd99a7f46908a
Parents: 989f961
Author: Howard M. Lewis Ship <hls...@apache.org>
Authored: Mon Nov 26 10:56:47 2012 -0800
Committer: Howard M. Lewis Ship <hls...@apache.org>
Committed: Mon Nov 26 10:56:47 2012 -0800

----------------------------------------------------------------------
 .../integration/TapestryCoreTestCase.java          |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/762d453e/tapestry-core/src/test/java/org/apache/tapestry5/integration/TapestryCoreTestCase.java
----------------------------------------------------------------------
diff --git 
a/tapestry-core/src/test/java/org/apache/tapestry5/integration/TapestryCoreTestCase.java
 
b/tapestry-core/src/test/java/org/apache/tapestry5/integration/TapestryCoreTestCase.java
index 51a5673..55b379f 100644
--- 
a/tapestry-core/src/test/java/org/apache/tapestry5/integration/TapestryCoreTestCase.java
+++ 
b/tapestry-core/src/test/java/org/apache/tapestry5/integration/TapestryCoreTestCase.java
@@ -63,6 +63,6 @@ public abstract class TapestryCoreTestCase extends 
SeleniumTestCase
         waitForCSSSelectedElementToAppear("[data-container-type=alerts] 
.alert");
 
         // Add the special "x" for the close button to the text.
-        assertText("[data-container-type=alerts] .alert", "\u00d7" + text);
+        assertText("css=[data-container-type=alerts] .alert", "\u00d7" + text);
     }
 }

Reply via email to