// // InsightsEmptyStateTests.swift // Tests iOS // // TC-043: Insights with no data shows empty state message. // import XCTest final class InsightsEmptyStateTests: BaseUITestCase { override var seedFixture: String? { "empty" } /// TC-043: Navigate to Insights with no data -- header loads and no crash. func testInsights_EmptyState_ShowsNoDataMessage() { let tabBar = TabBarScreen(app: app) tabBar.tapInsights() let insightsHeader = app.element(UITestID.Insights.header) insightsHeader.waitForExistenceOrFail( timeout: navigationTimeout, message: "Insights header should be visible even with no data" ) captureScreenshot(name: "insights_empty_state") } }