24 lines
748 B
Swift
24 lines
748 B
Swift
// SmokeUITests.swift
|
|
// Minimal smoke test — verifies the UI-testing target is wired correctly.
|
|
// Real feature coverage lives in dedicated UITest files (see PairingUITests,
|
|
// SessionSwitcherUITests, etc.).
|
|
|
|
import XCTest
|
|
|
|
@MainActor
|
|
final class SmokeUITests: XCTestCase {
|
|
|
|
override func setUpWithError() throws {
|
|
continueAfterFailure = false
|
|
}
|
|
|
|
/// Launch the app and verify it shows *some* UI within a reasonable
|
|
/// timeout. This is just a wiring check — feature tests assert specifics.
|
|
func testAppLaunchesWithoutCrashing() throws {
|
|
let app = XCUIApplication()
|
|
app.launch()
|
|
// Wait for any window to appear.
|
|
XCTAssertTrue(app.wait(for: .runningForeground, timeout: 10))
|
|
}
|
|
}
|