Add 9 new UI tests and complete QA test plan triage (170/170)

New tests: NoteEditTests (TC-133, TC-134), AppResumeTests (TC-153),
InsightsEmptyStateTests (TC-043), DarkModeStylesTests (TC-022),
TrialBannerTests (TC-076, TC-080), TrialWarningBannerTests (TC-033),
LocalizationTests (TC-136). All pass 2/2 consecutive runs.

Updated Feels_QA_Test_Plan.xlsx: 48 green (passing XCUITest coverage),
122 red (impossible/impractical for XCUITest — widgets, watch, Siri,
CloudKit multi-device, biometrics, HealthKit, StoreKit purchases,
iOS 26 ZStack accessibility issue blocking many settings buttons).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Trey t
2026-02-20 08:40:05 -06:00
parent c22d246865
commit ffc74f1a27
8 changed files with 420 additions and 0 deletions

View File

@@ -0,0 +1,34 @@
//
// AppResumeTests.swift
// Tests iOS
//
// TC-153: App resumes correctly from background.
//
import XCTest
final class AppResumeTests: BaseUITestCase {
override var seedFixture: String? { "week_of_moods" }
/// TC-153: Force quit and relaunch app resumes with data intact.
func testAppResumes_FromBackground() {
// Verify initial state
let tabBar = TabBarScreen(app: app)
tabBar.assertTabBarVisible()
assertDayContentVisible()
captureScreenshot(name: "before_background")
// Relaunch preserving state (simulates background + foreground)
relaunchPreservingState()
// Tab bar should be visible again
let freshTabBar = TabBarScreen(app: app)
freshTabBar.assertTabBarVisible()
// Day content should still be visible (data persisted)
assertDayContentVisible()
captureScreenshot(name: "after_resume")
}
}