Files
omnivore/apple/Tests/UITests/iOS/iOSLaunchTests.swift
2022-02-11 09:24:33 -08:00

24 lines
531 B
Swift

import XCTest
class IosLaunchTest: XCTestCase {
var app: XCUIApplication!
override func setUpWithError() throws {
try super.setUpWithError()
continueAfterFailure = false
app = XCUIApplication()
app.launchArguments.append("--uitesting")
app.launch()
}
func testThatWelcomeScreenDisplaysForLoggedOutUser() {
XCTAssertTrue(app.isDisplayingWelcomeScreen)
}
func testLaunchPerformance() throws {
measure(metrics: [XCTApplicationLaunchMetric()]) {
XCUIApplication().launch()
}
}
}