cashapp / AccessibilitySnapshot

Easy regression testing for iOS accessibility
Apache License 2.0
534 stars 65 forks source link

Handle nil user input labels #158

Closed NickEntin closed 9 months ago

NickEntin commented 9 months ago

The accessibilityUserInputLabels property is an implicitly-unwrapped optional ([String]!). This wasn't causing any issues in our current test suite, but in iOS 16 SwiftUI returns nil for the user input labels, which revealed this crash.