aboutsummaryrefslogtreecommitdiff
path: root/CapturaUITests/CapturaUITestsLaunchTests.swift
diff options
context:
space:
mode:
Diffstat (limited to 'CapturaUITests/CapturaUITestsLaunchTests.swift')
-rw-r--r--CapturaUITests/CapturaUITestsLaunchTests.swift32
1 files changed, 16 insertions, 16 deletions
diff --git a/CapturaUITests/CapturaUITestsLaunchTests.swift b/CapturaUITests/CapturaUITestsLaunchTests.swift
index 98bab31..a8d1b69 100644
--- a/CapturaUITests/CapturaUITestsLaunchTests.swift
+++ b/CapturaUITests/CapturaUITestsLaunchTests.swift
@@ -19,24 +19,24 @@ import XCTest
final class CapturaUITestsLaunchTests: XCTestCase {
- override class var runsForEachTargetApplicationUIConfiguration: Bool {
- true
- }
+ override class var runsForEachTargetApplicationUIConfiguration: Bool {
+ true
+ }
- override func setUpWithError() throws {
- continueAfterFailure = false
- }
+ override func setUpWithError() throws {
+ continueAfterFailure = false
+ }
- func testLaunch() throws {
- let app = XCUIApplication()
- app.launch()
+ 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
+ // 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)
- }
+ let attachment = XCTAttachment(screenshot: app.screenshot())
+ attachment.name = "Launch Screen"
+ attachment.lifetime = .keepAlways
+ add(attachment)
+ }
}