Skip to content

Commit c052fbf

Browse files
Revert "test: Fix missing calls to launch (getsentry#5555)"
This reverts commit fd5961e.
1 parent 75ff5e3 commit c052fbf

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

Samples/iOS-SwiftUI/iOS-SwiftUI-UITests/LaunchUITests.swift

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@ class LaunchUITests: XCTestCase {
88
}
99

1010
func testTransactionSpan() {
11-
let app = XCUIApplication()
12-
app.launch()
11+
let app = newAppSession()
1312

1413
let transactionName = app.staticTexts["TRANSACTION_NAME"]
1514
let transactionId = app.staticTexts["TRANSACTION_ID"]
@@ -28,8 +27,7 @@ class LaunchUITests: XCTestCase {
2827
}
2928

3029
func testNoNewTransactionForSecondCallToBody() {
31-
let app = XCUIApplication()
32-
app.launch()
30+
let app = newAppSession()
3331

3432
app.buttons["Form Screen"].tap()
3533

0 commit comments

Comments
 (0)