24 lines
544 B
Swift
24 lines
544 B
Swift
import XCTest
|
|
|
|
final class ImageViewerUITestsLaunchTests: XCTestCase {
|
|
|
|
override class var runsForEachTargetApplicationUIConfiguration: Bool {
|
|
true
|
|
}
|
|
|
|
override func setUpWithError() throws {
|
|
continueAfterFailure = false
|
|
}
|
|
|
|
@MainActor
|
|
func testLaunch() throws {
|
|
let app = XCUIApplication()
|
|
app.launch()
|
|
|
|
let attachment = XCTAttachment(screenshot: app.screenshot())
|
|
attachment.name = "Launch Screen"
|
|
attachment.lifetime = .keepAlways
|
|
add(attachment)
|
|
}
|
|
}
|