The app is starting to look good

This commit is contained in:
cdricms
2024-07-09 15:00:09 +02:00
parent fc4a3569c2
commit bd9c351b7c
17 changed files with 1493 additions and 0 deletions

View File

@@ -0,0 +1,32 @@
//
// 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)
}
}