Add XCUITest suite with 27 test files covering unmapped P1 test cases
- Add 8 new test files: HeaderMoodLogging (TC-002), DayViewGrouping (TC-019), AllDayViewStyles (TC-021), MonthViewInteraction (TC-030), PaywallGate (TC-032/039/048), AppTheme (TC-070), IconPack (TC-072), PremiumCustomization (TC-075) - Add accessibility IDs for paywall overlays, icon packs, app theme cards, and day view section headers - Add --expire-trial launch argument to UITestMode for paywall gate testing - Update QA test plan spreadsheet with XCUITest names for 14 test cases - Include existing test infrastructure: screen objects, helpers, base class, and 19 previously written test files Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -45,6 +45,7 @@ struct NoteEditorView: View {
|
||||
.frame(maxHeight: .infinity)
|
||||
.scrollContentBackground(.hidden)
|
||||
.padding(.horizontal, 4)
|
||||
.accessibilityIdentifier(AccessibilityID.NoteEditor.textEditor)
|
||||
|
||||
// Character count
|
||||
HStack {
|
||||
@@ -63,6 +64,7 @@ struct NoteEditorView: View {
|
||||
Button("Cancel") {
|
||||
dismiss()
|
||||
}
|
||||
.accessibilityIdentifier(AccessibilityID.NoteEditor.cancelButton)
|
||||
}
|
||||
|
||||
ToolbarItem(placement: .confirmationAction) {
|
||||
@@ -71,6 +73,7 @@ struct NoteEditorView: View {
|
||||
}
|
||||
.disabled(isSaving || noteText.count > maxCharacters)
|
||||
.fontWeight(.semibold)
|
||||
.accessibilityIdentifier(AccessibilityID.NoteEditor.saveButton)
|
||||
}
|
||||
|
||||
ToolbarItemGroup(placement: .keyboard) {
|
||||
@@ -197,11 +200,13 @@ struct EntryDetailView: View {
|
||||
.background(Color(.systemGroupedBackground))
|
||||
.navigationTitle("Entry Details")
|
||||
.navigationBarTitleDisplayMode(.inline)
|
||||
.accessibilityIdentifier(AccessibilityID.EntryDetail.sheet)
|
||||
.toolbar {
|
||||
ToolbarItem(placement: .confirmationAction) {
|
||||
Button("Done") {
|
||||
dismiss()
|
||||
}
|
||||
.accessibilityIdentifier(AccessibilityID.EntryDetail.doneButton)
|
||||
}
|
||||
}
|
||||
.sheet(isPresented: $showNoteEditor) {
|
||||
@@ -345,6 +350,7 @@ struct EntryDetailView: View {
|
||||
RoundedRectangle(cornerRadius: 16)
|
||||
.fill(Color(.systemBackground))
|
||||
)
|
||||
.accessibilityIdentifier(AccessibilityID.EntryDetail.moodGrid)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -364,6 +370,7 @@ struct EntryDetailView: View {
|
||||
.font(.subheadline)
|
||||
.fontWeight(.medium)
|
||||
}
|
||||
.accessibilityIdentifier(AccessibilityID.EntryDetail.noteButton)
|
||||
}
|
||||
|
||||
Button {
|
||||
@@ -399,6 +406,7 @@ struct EntryDetailView: View {
|
||||
)
|
||||
}
|
||||
.buttonStyle(.plain)
|
||||
.accessibilityIdentifier(AccessibilityID.EntryDetail.noteArea)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -495,6 +503,7 @@ struct EntryDetailView: View {
|
||||
)
|
||||
}
|
||||
.padding(.top, 8)
|
||||
.accessibilityIdentifier(AccessibilityID.EntryDetail.deleteButton)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user