Refactor iOS UI tests to blueprint architecture and migrate legacy suites

This commit is contained in:
treyt
2026-02-19 17:30:58 -06:00
parent 09be5fa444
commit 710a8bd1d6
36 changed files with 835 additions and 6263 deletions

View File

@@ -0,0 +1,19 @@
import XCTest
final class AppLaunchTests: BaseUITestCase {
func testF001_ColdLaunchShowsOnboardingWelcome() {
RootScreen(app: app).waitForReady(timeout: defaultTimeout)
let welcome = OnboardingWelcomeScreen(app: app)
welcome.waitForLoad(timeout: defaultTimeout)
}
func testF002_ColdLaunchShowsPrimaryOnboardingActions() {
let welcome = OnboardingWelcomeScreen(app: app)
welcome.waitForLoad()
XCTAssertTrue(app.buttons[UITestID.Onboarding.startFreshButton].exists)
XCTAssertTrue(app.buttons[UITestID.Onboarding.joinExistingButton].exists)
XCTAssertTrue(app.buttons[UITestID.Onboarding.loginButton].exists)
}
}