2 // CapturaUITestsLaunchTests.swift
5 // Created by Ruben Beltran del Rio on 7/24/23.
10 final class CapturaUITestsLaunchTests: XCTestCase {
12 override class var runsForEachTargetApplicationUIConfiguration: Bool {
16 override func setUpWithError() throws {
17 continueAfterFailure = false
20 func testLaunch() throws {
21 let app = XCUIApplication()
24 // Insert steps here to perform after app launch but before taking a screenshot,
25 // such as logging into a test account or navigating somewhere in the app
27 let attachment = XCTAttachment(screenshot: app.screenshot())
28 attachment.name = "Launch Screen"
29 attachment.lifetime = .keepAlways