Files
Gas-Tank-AR-App/GasTankARUITests/GasTankARUITestsLaunchTests.swift
Dennis Nemec 3d9f1ab6bc Initial Commit
2026-08-19 16:14:26 +02:00

36 lines
932 B
Swift

//
// GasTankARUITestsLaunchTests.swift
// GasTankARUITests
//
// Created by Dennis Nemec on 19.08.26.
//
import XCTest
final class GasTankARUITestsLaunchTests: XCTestCase {
override class var runsForEachTargetApplicationUIConfiguration: Bool {
true
}
override func setUpWithError() throws {
continueAfterFailure = false
}
@MainActor
func testLaunch() throws {
let app = XCUIApplication()
app.launch()
// Insert steps here to perform after app launch but before taking a screenshot,
// such as logging into a test account or navigating somewhere in the app
// XCUIAutomation Documentation
// https://developer.apple.com/documentation/xcuiautomation
let attachment = XCTAttachment(screenshot: app.screenshot())
attachment.name = "Launch Screen"
attachment.lifetime = .keepAlways
add(attachment)
}
}