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


still working on test failures


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

Branch: refs/heads/master
Commit: 3293db657ad8d935a331e4ba64af11ec6183af44
Parents: 0127899
Author: Jochen Kemnade <[email protected]>
Authored: Fri Nov 3 08:12:30 2017 +0100
Committer: Jochen Kemnade <[email protected]>
Committed: Fri Nov 3 08:12:30 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/3293db65/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 54d96a2..c4044b4 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
@@ -461,7 +461,9 @@ public class FormTests extends App1TestCase
         assertTextPresent("Selected department: SALES_AND_MARKETING");
 
         // not in a loop ...
-        
webDriver.findElements(By.cssSelector("label")).stream().filter(element-> 
element.getText().contains("Temp")).findFirst().get().click();
+        WebElement temp = 
webDriver.findElements(By.cssSelector("label")).stream().filter(element-> 
element.getText().contains("Temp")).findFirst().get();
+        scrollIntoView(temp);
+        temp.click();
 
         clickAndWait(update);
 

Reply via email to