This is an automated email from the ASF dual-hosted git repository.

benw pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tapestry-5.git


The following commit(s) were added to refs/heads/master by this push:
     new 8b90a1dc1 TAP5-2816: SeleniumTestCase increase wait time on opening 
links
8b90a1dc1 is described below

commit 8b90a1dc1204f12c7dcb07000025344a9c1f6a62
Author: Ben Weidig <[email protected]>
AuthorDate: Sat Jan 31 13:56:17 2026 +0100

    TAP5-2816: SeleniumTestCase increase wait time on opening links
    
    The test run fine on my machine, but not on the Apache CI.
    As it fails with a TimeoutException, this is the only simple thing to do
    before adding more debug output for CI.
---
 .../src/main/java/org/apache/tapestry5/test/SeleniumTestCase.java       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 e64bf20da..159c6bf69 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
@@ -1730,7 +1730,7 @@ public abstract class SeleniumTestCase extends Assert 
implements Selenium
                     // TAP5-2816: Firefox Security Manager might veto 
By.linkText atoms. (NS_ERROR_XPC_SECURITY_MANAGER_VETO)
                     // Using an XPath selector does the exact same thing.
                     String xpath = "//a[normalize-space(.)=" + 
escapeXPathContent(text) + "]";
-                    
waitForCondition(ExpectedConditions.presenceOfElementLocated(By.xpath(xpath)), 
3);
+                    
waitForCondition(ExpectedConditions.presenceOfElementLocated(By.xpath(xpath)), 
10);
                 }
                 catch (Exception e)
                 {

Reply via email to