tapestry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hls...@apache.org
Subject [28/50] git commit: Fix remaining broken tests in ZoneTests suite
Date Sun, 16 Dec 2012 01:17:33 GMT
Fix remaining broken tests in ZoneTests suite


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

Branch: refs/heads/master
Commit: 85145fb98cb4b84de326b04fa9c3e6cfff20770d
Parents: a506b2f
Author: Howard M. Lewis Ship <hlship@apache.org>
Authored: Wed Dec 5 15:06:41 2012 -0800
Committer: Howard M. Lewis Ship <hlship@apache.org>
Committed: Wed Dec 5 15:06:41 2012 -0800

----------------------------------------------------------------------
 .../tapestry5/integration/app1/ZoneTests.java      |   10 +++-------
 1 files changed, 3 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/85145fb9/tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/ZoneTests.java
----------------------------------------------------------------------
diff --git a/tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/ZoneTests.java
b/tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/ZoneTests.java
index aea3146..2cc205f 100644
--- a/tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/ZoneTests.java
+++ b/tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/ZoneTests.java
@@ -78,15 +78,11 @@ public class ZoneTests extends TapestryCoreTestCase
 
         assertTextPresent("No name has been selected.");
 
-        // Hate doing this, but selecting by the text isn't working, perhaps
-        // because of the
-        // HTML entities.
-        click("select_0");
+        click("link=Select \"Mr. <Roboto>\"");
 
-        // And that's as far as we can go currently, because
-        // of limitations in Selenium 0.8.3 and bugs in Selenium 0.9.2.
+        sleep(100);
 
-        // assertTextPresent("Selected: Mr. &lt;Roboto&gt;");
+        assertTextPresent("Selected: Mr. <Roboto>");
 
         click("link=Direct JSON response");
     }


Mime
View raw message