Repository: tapestry-5 Updated Branches: refs/heads/master 2e96e0179 -> 91272172c
Revert "fix clicks on wrong elements" This reverts commit 2e96e017954e25f3acb3b03fd4a2d88ed30ef3df. Project: http://git-wip-us.apache.org/repos/asf/tapestry-5/repo Commit: http://git-wip-us.apache.org/repos/asf/tapestry-5/commit/2a71ad95 Tree: http://git-wip-us.apache.org/repos/asf/tapestry-5/tree/2a71ad95 Diff: http://git-wip-us.apache.org/repos/asf/tapestry-5/diff/2a71ad95 Branch: refs/heads/master Commit: 2a71ad95b61c2acca558b094be1ab82d41bd09bb Parents: 2e96e01 Author: Jochen Kemnade <[email protected]> Authored: Mon Nov 6 13:09:26 2017 +0100 Committer: Jochen Kemnade <[email protected]> Committed: Mon Nov 6 13:09:26 2017 +0100 ---------------------------------------------------------------------- .../main/java/org/apache/tapestry5/test/SeleniumTestCase.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/2a71ad95/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 ca256a3..1214c92 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 @@ -1625,9 +1625,7 @@ public abstract class SeleniumTestCase extends Assert implements Selenium for (String text : linkText) { - WebElement link = webDriver.findElement(By.linkText(text)); - scrollIntoView(link); - link.click(); + webDriver.findElement(By.linkText(text)).click(); } }
