31 lines
665 B
Swift
31 lines
665 B
Swift
//
|
|
// MagicCounterUITestsLaunchTests.swift
|
|
// MagicCounterUITests
|
|
//
|
|
// Created by Atridad Lahiji on 2025-12-06.
|
|
//
|
|
|
|
import XCTest
|
|
|
|
final class MagicCounterUITestsLaunchTests: 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)
|
|
}
|
|
}
|