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 b6822a66b More test logging (attempt 5)
b6822a66b is described below

commit b6822a66be09e22882a745a1e29b98d7f02aa19c
Author: Thiago H. de Paula Figueiredo <thi...@arsmachina.com.br>
AuthorDate: Sun Jun 8 10:34:51 2025 -0300

    More test logging (attempt 5)
---
 .../src/main/java/org/apache/tapestry5/test/SeleniumTestCase.java   | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

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 64464ebf3..9a8acc2cb 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
@@ -1449,10 +1449,8 @@ public abstract class SeleniumTestCase extends Assert 
implements Selenium
             System.out.println("Continuing execution after exception above.");
         }
         catch (RuntimeException e) {
-            LOGGER.error("Exception happend: " + e.getMessage());
-            LOGGER.error("selenium.browserbot: " + 
getEval("selenium.browserbot"));
-            LOGGER.error("document.querySelector(\"body\").attributes : " + 
getEval("document.querySelector(\"body\").attributes"));
-            LOGGER.error("document.querySelector(\"body\").dataset : " + 
getEval("document.querySelector(\"body\").dataset"));
+            LOGGER.error("Exception happened: " + e.getMessage());
+            LOGGER.error("User agent: " + getEval("navigator.userAgent"));
             throw e;
         }
         

Reply via email to