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

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

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

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 9a8acc2cb..be6be27e4 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
@@ -234,6 +234,7 @@ public abstract class SeleniumTestCase extends Assert 
implements Selenium
         }
         else 
         {
+            LOGGER.info("Using code-defined Firefox profile: {}", 
ffProfileTemplate);
             FirefoxProfile profile = new FirefoxProfile();
             options.setProfile(profile);
             profile.setPreference("intl.accept_languages", "en,fr,de");
@@ -1451,6 +1452,9 @@ public abstract class SeleniumTestCase extends Assert 
implements Selenium
         catch (RuntimeException e) {
             LOGGER.error("Exception happened: " + e.getMessage());
             LOGGER.error("User agent: " + getEval("navigator.userAgent"));
+            LOGGER.error("-------- HTML");
+            LOGGER.error(getHtmlSource());
+            LOGGER.error("--------------");
             throw e;
         }
         

Reply via email to