aboutsummaryrefslogtreecommitdiff
path: root/CapturaUITests/CapturaUITestsLaunchTests.swift
diff options
context:
space:
mode:
authorRuben Beltran del Rio <git@r.bdr.sh>2024-09-16 11:07:46 +0200
committerRuben Beltran del Rio <git@r.bdr.sh>2024-09-16 11:07:46 +0200
commit505c1e620497828ffb914e05dd76d9ab124f144a (patch)
tree0d93162c4228dbee9e29c35e9f97f58daa5e3eef /CapturaUITests/CapturaUITestsLaunchTests.swift
parent5802c153cae64142d84e3cd5f762939501ee7e53 (diff)
Format the code
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)
+ }
}