File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed
samples/swiftui/FirebaseSwiftUIExample
FirebaseSwiftUIExampleUITests Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -70,6 +70,9 @@ struct TestView: View {
7070 }
7171
7272 var body : some View {
73- AuthPickerView ( ) . environment ( authService)
73+ AuthPickerView ( ) {
74+ Text ( " Hello, world! " )
75+ }
76+ . environment ( authService)
7477 }
7578}
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ func createEmail() -> String {
1212// MARK: - App Configuration
1313
1414/// Creates and configures an XCUIApplication with default test launch arguments
15- func createTestApp( mfaEnabled: Bool = false ) -> XCUIApplication {
15+ @ MainActor func createTestApp( mfaEnabled: Bool = false ) -> XCUIApplication {
1616 let app = XCUIApplication ( )
1717 app. launchArguments. append ( " --test-view-enabled " )
1818 if mfaEnabled {
@@ -23,7 +23,7 @@ func createTestApp(mfaEnabled: Bool = false) -> XCUIApplication {
2323
2424// MARK: - Alert Handling
2525
26- func dismissAlert( app: XCUIApplication ) {
26+ @ MainActor func dismissAlert( app: XCUIApplication ) {
2727 if app. scrollViews. otherElements. buttons [ " Not Now " ] . waitForExistence ( timeout: 2 ) {
2828 app. scrollViews. otherElements. buttons [ " Not Now " ] . tap ( )
2929 }
You can’t perform that action at this time.
0 commit comments