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

thiagohp pushed a commit to branch feature/coffeescript-to-typescript
in repository https://gitbox.apache.org/repos/asf/tapestry-5.git


The following commit(s) were added to 
refs/heads/feature/coffeescript-to-typescript by this push:
     new 11670a228 Attempt #3
11670a228 is described below

commit 11670a22891469cb536e7317908aa6f86d498022
Author: Thiago H. de Paula Figueiredo <thi...@arsmachina.com.br>
AuthorDate: Tue Apr 22 15:30:36 2025 -0300

    Attempt #3
---
 .../src/main/java/org/apache/tapestry5/test/SeleniumTestCase.java    | 5 ++++-
 1 file changed, 4 insertions(+), 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 9853ca794..cdc4763ac 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
@@ -1704,10 +1704,13 @@ public abstract class SeleniumTestCase extends Assert 
implements Selenium
             {
                 
waitForCondition(ExpectedConditions.presenceOfElementLocated(By.linkText(text)),
 3);
             }
-            catch (org.openqa.selenium.TimeoutException | 
NoSuchElementException e)
+            catch (Exception e)
             {
+                LOGGER.warn("Page URL: {}", getBaseURL());
                 LOGGER.warn("Page content: {}", getHtmlSource());
+                System.out.println("Page URL: " + getBaseURL());
                 System.out.println("Page content: " + getHtmlSource());
+                
                 throw e;
             }
             clickAndWait("link=" + text);

Reply via email to