feat: expand XCUITest coverage to 54 QA scenarios with accessibility IDs and fix test failures
Add 22 new UI tests across 8 test files covering Home, Schedule, Progress, Settings, TabNavigation, TripSaving, and TripOptions. Add accessibility identifiers to 11 view files for test element discovery. Fix sport chip assertion logic (all sports start selected, tap deselects), scroll container issues on iOS 26 nested ScrollViews, toggle interaction, and delete trip flow. Update QA coverage map from 32 to 54 automated test cases. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -107,6 +107,7 @@ struct ProgressTabView: View {
|
||||
VStack(spacing: Theme.Spacing.lg) {
|
||||
// League Selector
|
||||
leagueSelector
|
||||
.accessibilityIdentifier("progress.sportSelector")
|
||||
.staggeredAnimation(index: 0)
|
||||
|
||||
// Progress Summary Card
|
||||
@@ -212,6 +213,7 @@ struct ProgressTabView: View {
|
||||
Text("Stadium Quest")
|
||||
.font(.subheadline)
|
||||
.foregroundStyle(Theme.textSecondary(colorScheme))
|
||||
.accessibilityIdentifier("progress.stadiumQuest")
|
||||
|
||||
if progress.isComplete {
|
||||
HStack(spacing: 4) {
|
||||
@@ -330,6 +332,7 @@ struct ProgressTabView: View {
|
||||
Text("Achievements")
|
||||
.font(.title2)
|
||||
.foregroundStyle(Theme.textPrimary(colorScheme))
|
||||
.accessibilityIdentifier("progress.achievementsTitle")
|
||||
|
||||
Spacer()
|
||||
|
||||
@@ -398,6 +401,7 @@ struct ProgressTabView: View {
|
||||
Text("Recent Visits")
|
||||
.font(.title2)
|
||||
.foregroundStyle(Theme.textPrimary(colorScheme))
|
||||
.accessibilityIdentifier("progress.recentVisitsTitle")
|
||||
|
||||
Spacer()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user