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

Feature request: support end to end testing by adding testID #159

Open
boxabirds opened this issue Nov 29, 2022 · 0 comments
Open

Feature request: support end to end testing by adding testID #159

boxabirds opened this issue Nov 29, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@boxabirds
Copy link

When doing end to end testing (such as with detox), the more reliable way to identify when a toast has popped up is by looking for the id. In React Native this is exposed as testID. Simply accepting testID as an optional attribute of a toast that then propagates down through to the <View> in toast.tsx (line 326) this would do the trick.

@boxabirds boxabirds added the bug Something isn't working label Nov 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant