1import XCTest23final class LaunchUITests: XCTestCase {4 @MainActor5 func testAppLaunchesAndShowsWindow() {6 let app = XCUIApplication()7 app.launchArguments = ["-NEXTERMUITest", "1"]8 app.launch()9 XCTAssertTrue(app.windows.firstMatch.waitForExistence(timeout: 10))10 }11}12