Refactor iOS UI tests to blueprint architecture

This commit is contained in:
treyt
2026-02-20 10:38:15 -06:00
parent 710a8bd1d6
commit fe28034f3d
28 changed files with 7354 additions and 83 deletions

View File

@@ -0,0 +1,31 @@
import XCTest
/// Rebuild plan for legacy: Suite0_OnboardingTests.test_onboarding
/// Split into smaller tests to isolate focus/input/navigation failures.
final class Suite0_OnboardingRebuildTests: BaseUITestCase {
func testR001_onboardingWelcomeLoadsAndCanNavigateToLoginEntry() {
let welcome = OnboardingWelcomeScreen(app: app)
welcome.waitForLoad(timeout: defaultTimeout)
welcome.tapAlreadyHaveAccount()
let login = LoginScreen(app: app)
login.waitForLoad(timeout: defaultTimeout)
}
func testR002_startFreshFlowReachesCreateAccount() {
let createAccount = TestFlows.navigateStartFreshToCreateAccount(app: app, residenceName: "Rebuild Home")
createAccount.waitForLoad(timeout: defaultTimeout)
}
func testR003_createAccountExpandedFormFieldsAreInteractable() throws {
throw XCTSkip("Skeleton: implement deterministic focus assertions for username/email/password fields")
}
func testR004_emailFieldCanFocusAndAcceptTyping() throws {
throw XCTSkip("Skeleton: implement replacement for legacy email focus failure")
}
func testR005_createAccountContinueOnlyAfterValidInputs() throws {
throw XCTSkip("Skeleton: validate disabled/enabled state transition for Create Account")
}
}