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

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

    More test logging (attempt 4)
---
 .../src/main/java/org/apache/tapestry5/test/SeleniumTestCase.java   | 6 +++---
 1 file changed, 3 insertions(+), 3 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 350978c9d..64464ebf3 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,10 @@ 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("selenium.browserbot.getCurrentWindow(): " + 
getEval("selenium.browserbot.getCurrentWindow()"));
-            
LOGGER.error("selenium.browserbot.getCurrentWindow().document.querySelector(\"body\").attributes
 : " + 
getEval("selenium.browserbot.getCurrentWindow().document.querySelector(\"body\").attributes"));
-            
LOGGER.error("selenium.browserbot.getCurrentWindow().document.querySelector(\"body\").dataset
 : " + 
getEval("selenium.browserbot.getCurrentWindow().document.querySelector(\"body\").dataset"));
+            LOGGER.error("document.querySelector(\"body\").attributes : " + 
getEval("document.querySelector(\"body\").attributes"));
+            LOGGER.error("document.querySelector(\"body\").dataset : " + 
getEval("document.querySelector(\"body\").dataset"));
             throw e;
         }
         

Reply via email to