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

gnodet pushed a commit to branch 
fix-broken-consumerstabrendertest-rendershowstable
in repository https://gitbox.apache.org/repos/asf/camel.git

commit a716ab64b59c421c20c82ff16804c4a86113d0c3
Author: Guillaume Nodet <[email protected]>
AuthorDate: Tue Jul 28 11:49:00 2026 +0200

    camel-tui: Fix ConsumersTabRenderTest for new column layout
    
    Widen the renderShowsTableHeaders virtual terminal from 120 to 160
    columns so the URI column (fill constraint) has enough room after
    the REMOTE column was added in 1c4a959e6e2. Also verify the new
    REMOTE header is present.
    
    Co-Authored-By: Claude Opus 4.6 <[email protected]>
---
 .../camel/dsl/jbang/core/commands/tui/ConsumersTabRenderTest.java      | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git 
a/dsl/camel-jbang/camel-jbang-plugin-tui/src/test/java/org/apache/camel/dsl/jbang/core/commands/tui/ConsumersTabRenderTest.java
 
b/dsl/camel-jbang/camel-jbang-plugin-tui/src/test/java/org/apache/camel/dsl/jbang/core/commands/tui/ConsumersTabRenderTest.java
index c5bfc716773a..0bf4f5897fe0 100644
--- 
a/dsl/camel-jbang/camel-jbang-plugin-tui/src/test/java/org/apache/camel/dsl/jbang/core/commands/tui/ConsumersTabRenderTest.java
+++ 
b/dsl/camel-jbang/camel-jbang-plugin-tui/src/test/java/org/apache/camel/dsl/jbang/core/commands/tui/ConsumersTabRenderTest.java
@@ -59,11 +59,12 @@ class ConsumersTabRenderTest {
         addConsumer("route1", "timer://hello", "Started", 
"org.apache.camel.component.timer.TimerConsumer");
 
         ConsumersTab tab = new ConsumersTab(ctx);
-        String rendered = TuiTestHelper.renderToString(tab, 120, 20);
+        String rendered = TuiTestHelper.renderToString(tab, 160, 20);
 
         assertTrue(rendered.contains("ROUTE"), "Should show ROUTE header");
         assertTrue(rendered.contains("STATUS"), "Should show STATUS header");
         assertTrue(rendered.contains("TYPE"), "Should show TYPE header");
+        assertTrue(rendered.contains("REMOTE"), "Should show REMOTE header");
         assertTrue(rendered.contains("URI"), "Should show URI header");
     }
 

Reply via email to