@@ -63,6 +63,7 @@ - (void)testSuccessSignIn {
63
63
[tablesQuery.secureTextFields[@" Enter your password" ] tap ];
64
64
[[[tablesQuery.cells containingType: XCUIElementTypeStaticText identifier: @" Password" ] childrenMatchingType: XCUIElementTypeSecureTextField].element typeText: @" test" ];
65
65
[self .app.navigationBars[@" Sign in" ].buttons[@" Sign in" ] tap ];
66
+ [self .app.toolbars.buttons[@" Sign In" ] isHittable ];
66
67
}
67
68
68
69
- (void )testSuccessSignUp {
@@ -81,6 +82,7 @@ - (void)testSuccessSignUp {
81
82
[tablesQuery.buttons[@" ic visibility" ] tap ];
82
83
[tablesQuery.buttons[@" ic visibility off" ] tap ];
83
84
[self .app.navigationBars[@" Create account" ].buttons[@" SaveButtonAccessibilityID" ] tap ];
85
+ [self .app.toolbars.buttons[@" Sign In" ] isHittable ];
84
86
}
85
87
86
88
- (void )testSeveralIDPs {
@@ -98,6 +100,8 @@ - (void)testSeveralIDPs {
98
100
[[[[signInWithEmailNavigationBar childrenMatchingType: XCUIElementTypeButton] matchingIdentifier: @" Back" ] elementBoundByIndex: 0 ] tap ];
99
101
[self .app.navigationBars[@" Welcome" ].buttons[@" Cancel" ] tap ];
100
102
[self .app.alerts[@" Error" ].buttons[@" Close" ] tap ];
103
+
104
+ [self .app.toolbars.buttons[@" Sign In" ] isHittable ];
101
105
}
102
106
103
107
- (void )testEmailRecovery {
@@ -124,6 +128,7 @@ - (void)testEmailRecovery {
124
128
[signInWithEmailNavigationBar.buttons[@" Cancel" ] tap ];
125
129
[self .app.alerts[@" Error" ].buttons[@" Close" ] tap ];
126
130
131
+ [self .app.toolbars.buttons[@" Sign In" ] isHittable ];
127
132
}
128
133
129
134
- (void )testPhoneAuthCountryPicker {
@@ -146,6 +151,8 @@ - (void)testPhoneAuthCountryPicker {
146
151
[self .app.navigationBars[@" Enter phone number" ].buttons[@" Cancel" ] tap ];
147
152
[self .app.navigationBars[@" Welcome" ].buttons[@" Cancel" ] tap ];
148
153
[self .app.alerts[@" Error" ].buttons[@" Close" ] tap ];
154
+
155
+ [self .app.toolbars.buttons[@" Sign In" ] isHittable ];
149
156
}
150
157
151
158
- (void )testPhoneAuthFlow {
@@ -171,6 +178,8 @@ - (void)testPhoneAuthFlow {
171
178
[nextbuttonaccessibilityidButton tap ];
172
179
[self .app.keyboards.keys[@" 6" ] tap ];
173
180
[nextbuttonaccessibilityidButton tap ];
181
+
182
+ [self .app.toolbars.buttons[@" Sign In" ] isHittable ];
174
183
}
175
184
176
185
- (void )testDirectPhoneAuthSignIn {
@@ -202,7 +211,8 @@ - (void)testDirectPhoneAuthSignIn {
202
211
[self .app.keyboards.keys[@" 5" ] tap ];
203
212
[self .app.keyboards.keys[@" 6" ] tap ];
204
213
[self .app.navigationBars[@" Verify phone number" ].buttons[@" NextButtonAccessibilityID" ] tap ];
205
- [signInButton tap ];
214
+
215
+ [self .app.toolbars.buttons[@" Sign In" ] isHittable ];
206
216
}
207
217
208
218
@end
0 commit comments