mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
23 lines
531 B
Swift
23 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()
|
|
}
|
|
}
|
|
}
|