Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for automated tests #286

Open
HungDuc13 opened this issue Nov 21, 2022 · 3 comments
Open

Support for automated tests #286

HungDuc13 opened this issue Nov 21, 2022 · 3 comments

Comments

@HungDuc13
Copy link

Is it possible to add accessibility IDs/testIDs to action sheet buttons?

@bradbyte
Copy link
Collaborator

@HungDuc13 I assume you're referring to the custom action sheet? I believe the iOS side would just forward everything to the ActionSheetIOS api.

@HungDuc13
Copy link
Author

@bradbyte I'm trying to do an automation test on action sheet buttons of the showActionSheetWithOptions, but browsing through the list of universal props, i don't see a way to add accessibility IDs/test IDs specifically to the action sheet buttons.

@bradbyte
Copy link
Collaborator

I don't think the custom action sheet supports that, though I'm sure it could be added. I'm not sure how you would test it on iOS though as I don't see anything in the ActionSheetIOS documentation for these props.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants