You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The fix implemented in #1126, helped but does not completely solve the issue that system alerts cannot be dismissed.
The fix allows ![alert isKindOfClass:[self nilElementClass]] to pass. However, [self _alertIsValidAndVisible:alert] still fails. Also, alert.buttons.count is zero, so isIndexInRange is false.
It appears [[alert valueForKeyPath:@"isVisible"] boolValue] is throwing, in _alertIsValidAndVisible. Additionally, calling [alert isVisible] returns false, but does not throw.
Related to #1125
The fix implemented in #1126, helped but does not completely solve the issue that system alerts cannot be dismissed.
The fix allows
![alert isKindOfClass:[self nilElementClass]]
to pass. However,[self _alertIsValidAndVisible:alert]
still fails. Also,alert.buttons.count
is zero, soisIndexInRange
is false.It appears
[[alert valueForKeyPath:@"isVisible"] boolValue]
is throwing, in_alertIsValidAndVisible
. Additionally, calling[alert isVisible]
returns false, but does not throw.KIF/Classes/UIAutomationHelper.m
Lines 149 to 152 in 5735ec4
KIF/Classes/UIAutomationHelper.m
Lines 204 to 207 in 5735ec4
The text was updated successfully, but these errors were encountered: