tapestry-5 git commit: fix test
Repository: tapestry-5 Updated Branches: refs/heads/master 8ac208194 -> 88aad2673 fix test Project: http://git-wip-us.apache.org/repos/asf/tapestry-5/repo Commit: http://git-wip-us.apache.org/repos/asf/tapestry-5/commit/88aad267 Tree: http://git-wip-us.apache.org/repos/asf/tapestry-5/tree/88aad267 Diff: http://git-wip-us.apache.org/repos/asf/tapestry-5/diff/88aad267 Branch: refs/heads/master Commit: 88aad2673a7e5c85bb4f3d949ecc74978238950c Parents: 8ac2081 Author: Jochen Kemnade Authored: Mon Oct 30 08:43:22 2017 +0100 Committer: Jochen Kemnade Committed: Mon Oct 30 08:43:22 2017 +0100 -- .../src/main/java/org/apache/tapestry5/test/SeleniumTestCase.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/88aad267/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 5f4d696..204145a 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 @@ -1312,7 +1312,8 @@ public abstract class SeleniumTestCase extends Assert implements Selenium @Override public void type(String locator, String value) { -selenium.type(locator, value); +WebElement element = webDriver.findElement(convertLocator(locator)); +element.sendKeys(value); } @Override
tapestry-5 git commit: fix test
Repository: tapestry-5 Updated Branches: refs/heads/master 0f000e6ab -> b993e79eb fix test Project: http://git-wip-us.apache.org/repos/asf/tapestry-5/repo Commit: http://git-wip-us.apache.org/repos/asf/tapestry-5/commit/b993e79e Tree: http://git-wip-us.apache.org/repos/asf/tapestry-5/tree/b993e79e Diff: http://git-wip-us.apache.org/repos/asf/tapestry-5/diff/b993e79e Branch: refs/heads/master Commit: b993e79ebe493a97ecc21301a89e13d738cb9d3c Parents: 0f000e6 Author: Jochen Kemnade Authored: Tue Oct 10 07:26:52 2017 +0200 Committer: Jochen Kemnade Committed: Tue Oct 10 07:26:52 2017 +0200 -- .../test/java/org/apache/tapestry5/integration/app1/FormTests.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/b993e79e/tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/FormTests.java -- diff --git a/tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/FormTests.java b/tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/FormTests.java index 85a3690..2f6588a 100644 --- a/tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/FormTests.java +++ b/tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/FormTests.java @@ -331,7 +331,7 @@ public class FormTests extends App1TestCase assertFieldValue("asteroidImpact", ""); -click(noneButton); +click("css=.x-impact .btn"); waitForCSSSelectedElementToAppear("div.datePicker"); assertFalse(isElementPresent("css=td.selected"));
tapestry-5 git commit: fix test
Repository: tapestry-5 Updated Branches: refs/heads/master c859076d2 -> 4147af5f3 fix test Project: http://git-wip-us.apache.org/repos/asf/tapestry-5/repo Commit: http://git-wip-us.apache.org/repos/asf/tapestry-5/commit/4147af5f Tree: http://git-wip-us.apache.org/repos/asf/tapestry-5/tree/4147af5f Diff: http://git-wip-us.apache.org/repos/asf/tapestry-5/diff/4147af5f Branch: refs/heads/master Commit: 4147af5f33ef272dd63d0686b15bb0094a899f58 Parents: c859076 Author: Jochen Kemnade Authored: Fri Jul 24 18:29:32 2015 +0200 Committer: Jochen Kemnade Committed: Fri Jul 24 18:29:32 2015 +0200 -- .../apache/tapestry5/integration/app5/ProductionModeTests.groovy | 2 ++ 1 file changed, 2 insertions(+) -- http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/4147af5f/tapestry-core/src/test/groovy/org/apache/tapestry5/integration/app5/ProductionModeTests.groovy -- diff --git a/tapestry-core/src/test/groovy/org/apache/tapestry5/integration/app5/ProductionModeTests.groovy b/tapestry-core/src/test/groovy/org/apache/tapestry5/integration/app5/ProductionModeTests.groovy index 484a39d..cc811a8 100644 --- a/tapestry-core/src/test/groovy/org/apache/tapestry5/integration/app5/ProductionModeTests.groovy +++ b/tapestry-core/src/test/groovy/org/apache/tapestry5/integration/app5/ProductionModeTests.groovy @@ -12,6 +12,8 @@ class ProductionModeTests extends TapestryCoreTestCase { void invalid_component_id_is_404() { openBaseURL() +openLinks "reset session" + assertTitle "Default Layout" open "${baseURL}index.missing"