Commit 8d75c55
committed
test: add offscreen smoke for Settings, TTS and History window instantiation
Extends test_smoke_launch.py with test_secondary_windows_instantiate, which
boots a BlitztextApp offscreen and verifies that all three previously uncovered
dialog/panel constructors (HistoryPanel, TtsWindow, SettingsDialog) produce live
objects without errors. SettingsDialog is instantiated directly to avoid the
exec() call in show_settings_dialog(); History and TTS use the same lazy-init
path as production code.
Completes the smoke coverage goal: MainWindow, Tray, Compose, Settings, TTS,
and History are now all exercised under WHISPER_GUI_TESTS=1.1 parent 993b976 commit 8d75c55
1 file changed
Lines changed: 40 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
91 | 131 | | |
92 | 132 | | |
93 | 133 | | |
| |||
0 commit comments