Turned into a monorepo for iOS and Android
This commit is contained in:
30
ios/MagicCounterUITests/MagicCounterUITestsLaunchTests.swift
Normal file
30
ios/MagicCounterUITests/MagicCounterUITestsLaunchTests.swift
Normal file
@@ -0,0 +1,30 @@
|
||||
//
|
||||
// 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)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user