File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
samples/swiftui/FirebaseSwiftUIExample
FirebaseSwiftUIExampleTests
FirebaseSwiftUIExampleUITests Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ struct FirebaseSwiftUIExampleTests {
92
92
#expect( service. signedInCredential == nil )
93
93
#expect( service. currentUser == nil )
94
94
try await service. createUser ( withEmail: createEmail ( ) , password: kPassword)
95
- try await Task . sleep ( nanoseconds: 2_000_000_000 )
95
+ try await Task . sleep ( nanoseconds: 4_000_000_000 )
96
96
#expect( service. authenticationState == . authenticated)
97
97
#expect( service. authView == . authPicker)
98
98
#expect( service. errorMessage. isEmpty)
Original file line number Diff line number Diff line change @@ -42,11 +42,12 @@ final class FirebaseSwiftUIExampleUITests: XCTestCase {
42
42
let app = XCUIApplication ( )
43
43
let email = createEmail ( )
44
44
app. launchArguments. append ( " --auth-emulator " )
45
- app. launchArguments. append ( " --create-user \( email) " )
45
+ app. launchArguments. append ( " --create-user " )
46
+ app. launchArguments. append ( " \( email) " )
46
47
app. launch ( )
47
48
48
49
let emailField = app. textFields [ " email-field " ]
49
- XCTAssertTrue ( emailField. waitForExistence ( timeout: 2 ) , " Email field should exist " )
50
+ XCTAssertTrue ( emailField. waitForExistence ( timeout: 6 ) , " Email field should exist " )
50
51
emailField. tap ( )
51
52
emailField. typeText ( email)
52
53
@@ -71,7 +72,7 @@ final class FirebaseSwiftUIExampleUITests: XCTestCase {
71
72
let app = XCUIApplication ( )
72
73
let email = createEmail ( )
73
74
let password = " qwerty321@ "
74
- app. launchArguments. append ( " --ui-test-runner " )
75
+ app. launchArguments. append ( " --auth-emulator " )
75
76
app. launch ( )
76
77
77
78
let switchFlowButton = app. buttons [ " switch-auth-flow " ]
You can’t perform that action at this time.
0 commit comments