-
Notifications
You must be signed in to change notification settings - Fork 22
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
test: add testId hooks for E2E tests #2411
Conversation
c40eac2
to
e848026
Compare
3de36cc
to
0027520
Compare
0027520
to
a25af77
Compare
@@ -119,6 +119,7 @@ const ReceiveAmount = ({ | |||
{t('minimum')} | |||
</Caption13Up> | |||
<Money | |||
testID="Minimum" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me although these IDs should be unique across the app so maybe better to prefix with screen name "ReceiveAmountMinimum"
@@ -172,7 +175,7 @@ const ReceiveConnect = ({ | |||
<GradientView style={styles.container}> | |||
<BottomSheetNavigationHeader title={t('receive_bitcoin')} /> | |||
<View style={styles.content}> | |||
<AmountToggle amount={amount} /> | |||
<AmountToggle testID="Review" amount={amount} /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<AmountToggle testID="Review" amount={amount} /> | |
<AmountToggle testID="ReceiveReviewAmount" amount={amount} /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You're right, but I'm going with ReceiveConnectAmount
Description
Please include a summary of changes and which issues are fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Linked Issues/Tasks
Add any links to GitHub issues or Asana tasks that are relevant to this pull request.
Type of change
Tests
Screenshot / Video
Insert relevant screenshot / recording
QA Notes
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce during the Bitkit testing session. You can also leave a video of the PR in action.