Files
Brewer/BrewerUITests/BrewerUITestsLaunchTests.swift
cdricms 6f651f7cad Release of version v0.1.1-beta
Better reactivity and functionality

Formatting

Formatting

Added quit button, and fixed WindowGroup showing up
2024-07-09 22:26:01 +02:00

33 lines
723 B
Swift

//
// BrewerUITestsLaunchTests.swift
// BrewerUITests
//
// Created by Cédric MAS on 08/07/2024.
//
import XCTest
final class BrewerUITestsLaunchTests: XCTestCase {
override class var runsForEachTargetApplicationUIConfiguration: Bool {
true
}
override func setUpWithError() throws {
continueAfterFailure = false
}
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
let attachment = XCTAttachment(screenshot: app.screenshot())
attachment.name = "Launch Screen"
attachment.lifetime = .keepAlways
add(attachment)
}
}