// // ReduceMotionTests.swift // Tests iOS // // TC-143: App remains functional with Reduce Motion enabled. // import XCTest final class ReduceMotionTests: BaseUITestCase { override var seedFixture: String? { "single_mood" } override var bypassSubscription: Bool { true } override var extraLaunchArguments: [String] { ["-UIReduceMotionPreference", "YES"] } /// TC-143: App is navigable with Reduce Motion enabled. func testReduceMotion_AppRemainsNavigable() { let tabBar = TabBarScreen(app: app) tabBar.assertVisible() captureScreenshot(name: "reduce_motion_day") tabBar.tapMonth() let monthGrid = app.element(UITestID.Month.grid) monthGrid.waitForExistenceOrFail( timeout: navigationTimeout, message: "Month grid should work with Reduce Motion" ) tabBar.tapYear() let heatmap = app.element(UITestID.Year.heatmap) heatmap.waitForExistenceOrFail( timeout: navigationTimeout, message: "Year heatmap should work with Reduce Motion" ) let settingsScreen = tabBar.tapSettings() settingsScreen.assertVisible() captureScreenshot(name: "reduce_motion_settings") } }