Repository: tapestry-5
Updated Branches:
  refs/heads/master 3293db657 -> 2433746b6


and another fix


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

Branch: refs/heads/master
Commit: 2433746b6e4bc25aeafdec912772238cdca0afec
Parents: 3293db6
Author: Jochen Kemnade <[email protected]>
Authored: Fri Nov 3 08:35:40 2017 +0100
Committer: Jochen Kemnade <[email protected]>
Committed: Fri Nov 3 08:35:40 2017 +0100

----------------------------------------------------------------------
 .../java/org/apache/tapestry5/integration/app1/FormTests.java    | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/2433746b/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 c4044b4..fa792b6 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
@@ -469,7 +469,9 @@ public class FormTests extends App1TestCase
 
         assertTextPresent("Selected position: TEMP");
 
-        
webDriver.findElements(By.cssSelector("label")).stream().filter(element-> 
element.getText().contains("Lifer")).findFirst().get().click();
+        WebElement lifer = 
webDriver.findElements(By.cssSelector("label")).stream().filter(element-> 
element.getText().contains("Lifer")).findFirst().get();
+        scrollIntoView(lifer);
+        lifer.click();
 
         clickAndWait(update);
 

Reply via email to