Skip to content

Expandable testids #2784

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

Merged
merged 3 commits into from
Nov 1, 2023
Merged

Expandable testids #2784

merged 3 commits into from
Nov 1, 2023

Conversation

nitzanyiz
Copy link
Collaborator

Description

Added testid prop to the expandable section component. The testid is assigned to the touchable opacity component.

Changelog

ExpandableSection - Added testing identifier prop, testID.

Additional info

WOAUILIB-3816

@nitzanyiz nitzanyiz requested a review from ethanshar October 29, 2023 13:20
@nitzanyiz nitzanyiz marked this pull request as ready for review October 29, 2023 13:22
Comment on lines 51 to 54
/**
* Testing identifier
*/
testID?: string;
Copy link
Collaborator

Choose a reason for hiding this comment

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

I don't think you don't need to define a testID prop on TouchableOpacity, it already inherit it from React Native's TouchableOpacity

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

You're right. Fixed.

@nitzanyiz nitzanyiz force-pushed the expandable-testids branch 2 times, most recently from 923a7bf to 02cdeea Compare October 30, 2023 08:55
@ethanshar ethanshar merged commit b098d46 into master Nov 1, 2023
@nitzanyiz nitzanyiz deleted the expandable-testids branch November 8, 2023 08:54
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

Successfully merging this pull request may close these issues.

2 participants