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

feat: Add cancelButtonTestID and confirmButtonTestID props for e2e te… #582

Merged
merged 4 commits into from
Jul 13, 2021

Conversation

kanelloc
Copy link
Contributor

@kanelloc kanelloc commented Jul 13, 2021

Added support with e2e testing for 'submit' and 'cancel' buttons.

@mmazzarolo
Copy link
Owner

Thank you @kanelloc , could you also update the README?

@kanelloc
Copy link
Contributor Author

Thank you @kanelloc , could you also update the README?

Sure!!

@kanelloc
Copy link
Contributor Author

@mmazzarolo I updated README with both props.

Copy link
Owner

@mmazzarolo mmazzarolo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍 Thanks!

@mmazzarolo mmazzarolo merged commit 73a4874 into mmazzarolo:master Jul 13, 2021
github-actions bot pushed a commit that referenced this pull request Jul 13, 2021
# [10.1.0](v10.0.0...v10.1.0) (2021-07-13)

### Features

* Add `cancelButtonTestID` and `confirmButtonTestID` props ([#582](#582)) ([73a4874](73a4874))
@github-actions
Copy link

🎉 This PR is included in version 10.1.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@dooleyb1
Copy link

dooleyb1 commented Aug 4, 2021

@kanelloc Am I right in saying it is not currently possible to attach a testID to the confirm / cancel button of the DateTimePicker component for Android?

@kanelloc
Copy link
Contributor Author

kanelloc commented Aug 4, 2021

@kanelloc Am I right in saying it is not currently possible to attach a testID to the confirm / cancel button of the DateTimePicker component for Android?

The above implementation is only for iOS.
I think you should go with a custom solution. For example pick the confirm/cancel buttons by text and then tap them.

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

Successfully merging this pull request may close these issues.

None yet

3 participants