import XCTest @MainActor final class LockScreenUITests: XCTestCase { override func setUpWithError() throws { continueAfterFailure = false } func testLockScreenAppearance() throws { let app = XCUIApplication() app.launchLocked() // Assert LockView is showing let lockText = app.staticTexts["Locked"] XCTAssertTrue(lockText.waitForExistence(timeout: 5), "Lock screen should be visible when forced") // We can't easily test Face ID success in simulator without manual menu interaction, // so we just verify the lock screen is presented. } }