]>
Commit | Line | Data |
---|---|---|
4a191e80 RBR |
1 | import XCTest |
2 | ||
3 | final class JunctionUITestsLaunchTests: XCTestCase { | |
4 | ||
5 | override class var runsForEachTargetApplicationUIConfiguration: Bool { | |
6 | true | |
7 | } | |
8 | ||
9 | override func setUpWithError() throws { | |
10 | continueAfterFailure = false | |
11 | } | |
12 | ||
13 | func testLaunch() throws { | |
14 | let app = XCUIApplication() | |
15 | app.launch() | |
16 | ||
17 | // Insert steps here to perform after app launch but before taking a screenshot, | |
18 | // such as logging into a test account or navigating somewhere in the app | |
19 | ||
20 | let attachment = XCTAttachment(screenshot: app.screenshot()) | |
21 | attachment.name = "Launch Screen" | |
22 | attachment.lifetime = .keepAlways | |
23 | add(attachment) | |
24 | } | |
25 | } |