nalexn / ViewInspector

Runtime introspection and unit testing of SwiftUI views
MIT License
2.09k stars 145 forks source link

Testing accessibilityActions() #305

Open JOyo246 opened 1 month ago

JOyo246 commented 1 month ago

I know only accessibilityAction() is testable. But any timeline on when accessibilityActions() might be testable? If not, any tips on getting started with trying to add support myself? (would open a PR of course)

seems like it would be simple enough to keep the current .accessibilityAction() method, but modify it to also be able to find actions added via View.accessibilityActions()

nalexn commented 2 weeks ago

Thanks for the report, this is added for the next release