Skip to content

Commit 9744917

Browse files
test: fix tests with MainActor annotation
1 parent a0a1435 commit 9744917

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

samples/swiftui/FirebaseSwiftUIExample/FirebaseSwiftUIExampleUITests/MFAEnrolmentUITests.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@ final class MFAEnrollmentUITests: XCTestCase {
400400
}
401401

402402
// MARK: - Helper Methods
403-
403+
@MainActor
404404
private func signInToApp(app: XCUIApplication, email: String) throws {
405405
let password = "123456"
406406

@@ -436,7 +436,7 @@ final class MFAEnrollmentUITests: XCTestCase {
436436
XCTAssertTrue(signedInText.waitForExistence(timeout: 30), "SignedInView should be visible after login")
437437
XCTAssertTrue(signedInText.exists, "SignedInView should be visible after login")
438438
}
439-
439+
@MainActor
440440
private func navigateToMFAEnrollment(app: XCUIApplication) throws {
441441
// Navigate to MFA management
442442
app.buttons["mfa-management-button"].tap()

0 commit comments

Comments
 (0)