You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by jk...@apache.org on 2017/10/27 14:34:43 UTC
tapestry-5 git commit: fix tests
Repository: tapestry-5
Updated Branches:
refs/heads/master 906d263bd -> 8ac208194
fix tests
Project: http://git-wip-us.apache.org/repos/asf/tapestry-5/repo
Commit: http://git-wip-us.apache.org/repos/asf/tapestry-5/commit/8ac20819
Tree: http://git-wip-us.apache.org/repos/asf/tapestry-5/tree/8ac20819
Diff: http://git-wip-us.apache.org/repos/asf/tapestry-5/diff/8ac20819
Branch: refs/heads/master
Commit: 8ac208194e7adc3193c14fa909bc56905ce12b37
Parents: 906d263
Author: Jochen Kemnade <jo...@eddyson.de>
Authored: Fri Oct 27 16:34:16 2017 +0200
Committer: Jochen Kemnade <jo...@eddyson.de>
Committed: Fri Oct 27 16:34:16 2017 +0200
----------------------------------------------------------------------
.../main/java/org/apache/tapestry5/test/SeleniumTestCase.java | 4 ++++
1 file changed, 4 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/8ac20819/tapestry-test/src/main/java/org/apache/tapestry5/test/SeleniumTestCase.java
----------------------------------------------------------------------
diff --git a/tapestry-test/src/main/java/org/apache/tapestry5/test/SeleniumTestCase.java b/tapestry-test/src/main/java/org/apache/tapestry5/test/SeleniumTestCase.java
index 59d6276..5f4d696 100644
--- a/tapestry-test/src/main/java/org/apache/tapestry5/test/SeleniumTestCase.java
+++ b/tapestry-test/src/main/java/org/apache/tapestry5/test/SeleniumTestCase.java
@@ -1806,6 +1806,10 @@ public abstract class SeleniumTestCase extends Assert implements Selenium
{
return By.xpath(locator.substring(6));
}
+ else if (locator.startsWith("id="))
+ {
+ return By.id(locator.substring(3));
+ }
else if (locator.startsWith("//"))
{
return By.xpath(locator);