Create UI/headless Textual suite.
(self)
| 267 | return suite |
| 268 | |
| 269 | def create_ui_suite(self) -> TestSuite: |
| 270 | """Create UI/headless Textual suite.""" |
| 271 | suite = TestSuite("UI Tests", "Focused Textual headless checks") |
| 272 | |
| 273 | tests = [ |
| 274 | ("tui_help_panel", "Help panel toggle", |
| 275 | "python3 -m pytest test_tui_simple.py -k help_panel_toggle -vv"), |
| 276 | ("tui_peek_flow", "Peek modal smoke test", |
| 277 | "python3 -m pytest test_tui_basic.py -k peek_functionality -vv"), |
| 278 | ] |
| 279 | |
| 280 | for name, desc, cmd in tests: |
| 281 | suite.add_test(TestCase(name, desc, cmd)) |
| 282 | |
| 283 | return suite |
| 284 | |
| 285 | def run_all(self) -> bool: |
| 286 | """Run all test suites""" |