Files
honeyDueKMP/iosApp/CaseraUITests/Tests/Rebuild/Suite0_OnboardingRebuildTests.swift

32 lines
1.3 KiB
Swift

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")
}
}