Execute this test case in the TUI
(self, pilot, mapper: TUITestMapper)
| 114 | self.peek = peek |
| 115 | |
| 116 | async def execute_in_tui(self, pilot, mapper: TUITestMapper): |
| 117 | """Execute this test case in the TUI""" |
| 118 | # Apply group columns |
| 119 | await mapper.apply_group_columns(self.group_cols) |
| 120 | |
| 121 | # Apply latency columns |
| 122 | await mapper.apply_latency_columns(self.latency_cols) |
| 123 | |
| 124 | # Apply filter |
| 125 | await mapper.apply_filter(self.where_clause) |
| 126 | |
| 127 | # Peek if requested |
| 128 | if self.peek and self.latency_cols: |
| 129 | # Peek at first histogram column |
| 130 | for col in self.latency_cols: |
| 131 | if 'HISTOGRAM' in col: |
| 132 | await mapper.peek_column(col) |
| 133 | break |
| 134 | |
| 135 | def validate_result(self, app) -> bool: |
| 136 | """Validate that the TUI shows expected columns""" |
no test coverage detected