Run all initial display tests
()
| 135 | |
| 136 | |
| 137 | async def main(): |
| 138 | """Run all initial display tests""" |
| 139 | print("=" * 60) |
| 140 | print("Column Modal Initial Display Tests") |
| 141 | print("=" * 60) |
| 142 | |
| 143 | try: |
| 144 | # Test GroupingMenuScreen initial display |
| 145 | result1 = await test_grouping_modal_initial_display() |
| 146 | |
| 147 | # Test LatencyColumnsScreen initial display |
| 148 | result2 = await test_latency_modal_initial_display() |
| 149 | |
| 150 | if result1 and result2: |
| 151 | print("\n" + "=" * 60) |
| 152 | print("✅ All initial display tests passed!") |
| 153 | print("Modals correctly show all columns when first opened.") |
| 154 | print("=" * 60) |
| 155 | return 0 |
| 156 | else: |
| 157 | print("\n❌ Some tests failed") |
| 158 | return 1 |
| 159 | |
| 160 | except Exception as e: |
| 161 | print(f"\n❌ Test failed with error: {e}") |
| 162 | import traceback |
| 163 | traceback.print_exc() |
| 164 | return 1 |
| 165 | |
| 166 | |
| 167 | if __name__ == "__main__": |
no test coverage detected