diff options
author | Arturs Artamonovs <arturs.artamonovs@protonmail.com> | 2024-06-12 08:06:30 +0100 |
---|---|---|
committer | Arturs Artamonovs <arturs.artamonovs@protonmail.com> | 2024-06-12 08:06:30 +0100 |
commit | de4f742388002e5b8307903369727300dd3e6049 (patch) | |
tree | fda333de6620849b5c12556f5022a4722da02f76 /LearnMapKitUITests/LearnMapKitUITestsLaunchTests.swift | |
parent | 86c489c3c8ab1fa46fdcae022289f414f2de04cd (diff) | |
download | ADSBDecoder-de4f742388002e5b8307903369727300dd3e6049.tar.gz ADSBDecoder-de4f742388002e5b8307903369727300dd3e6049.zip |
Add MapKit demo code
Diffstat (limited to 'LearnMapKitUITests/LearnMapKitUITestsLaunchTests.swift')
-rw-r--r-- | LearnMapKitUITests/LearnMapKitUITestsLaunchTests.swift | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/LearnMapKitUITests/LearnMapKitUITestsLaunchTests.swift b/LearnMapKitUITests/LearnMapKitUITestsLaunchTests.swift new file mode 100644 index 0000000..021d9d7 --- /dev/null +++ b/LearnMapKitUITests/LearnMapKitUITestsLaunchTests.swift @@ -0,0 +1,32 @@ +// +// LearnMapKitUITestsLaunchTests.swift +// LearnMapKitUITests +// +// Created by Jacky Jack on 05/06/2024. +// + +import XCTest + +final class LearnMapKitUITestsLaunchTests: 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) + } +} |