Initial commit

This commit is contained in:
2025-01-19 21:38:47 -05:00
commit 4dc6a71a5c
15 changed files with 926 additions and 0 deletions

View File

@@ -0,0 +1,33 @@
//
// YetiUITestsLaunchTests.swift
// YetiUITests
//
// Created by Terry Yiu on 1/19/25.
//
import XCTest
final class YetiUITestsLaunchTests: 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
let attachment = XCTAttachment(screenshot: app.screenshot())
attachment.name = "Launch Screen"
attachment.lifetime = .keepAlways
add(attachment)
}
}