feat: add XCUITest suite with 10 critical flow tests and QA test plan
Add comprehensive UI test infrastructure with Page Object pattern, accessibility identifiers, UI test mode (--ui-testing, --reset-state, --disable-animations), and 10 passing tests covering app launch, tab navigation, trip wizard, trip saving, settings, schedule, and accessibility at XXXL Dynamic Type. Also adds a 229-case QA test plan Excel workbook for manual QA handoff. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
24
SportsTimeUITests/Tests/ScheduleTests.swift
Normal file
24
SportsTimeUITests/Tests/ScheduleTests.swift
Normal file
@@ -0,0 +1,24 @@
|
||||
//
|
||||
// ScheduleTests.swift
|
||||
// SportsTimeUITests
|
||||
//
|
||||
// Verifies the Schedule tab loads and displays content.
|
||||
//
|
||||
|
||||
import XCTest
|
||||
|
||||
final class ScheduleTests: BaseUITestCase {
|
||||
|
||||
/// Verifies the schedule tab loads and shows content.
|
||||
@MainActor
|
||||
func testScheduleTabLoads() {
|
||||
let home = HomeScreen(app: app)
|
||||
home.waitForLoad()
|
||||
home.switchToTab(home.scheduleTab)
|
||||
|
||||
let schedule = ScheduleScreen(app: app)
|
||||
schedule.assertLoaded()
|
||||
|
||||
captureScreenshot(named: "Schedule-Loaded")
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user