From 0027520a031cbf51c79018eb9f157b1b98f1b3ed Mon Sep 17 00:00:00 2001 From: James Browning Date: Sat, 21 Dec 2024 21:40:38 +0000 Subject: [PATCH] test: add testId hoocks for E2E tests --- src/screens/Wallets/Receive/ReceiveAmount.tsx | 1 + src/screens/Wallets/Receive/ReceiveConnect.tsx | 7 +++++-- src/screens/Wallets/Receive/ReceiveQR.tsx | 3 ++- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/src/screens/Wallets/Receive/ReceiveAmount.tsx b/src/screens/Wallets/Receive/ReceiveAmount.tsx index 0bb6927de..a2e721846 100644 --- a/src/screens/Wallets/Receive/ReceiveAmount.tsx +++ b/src/screens/Wallets/Receive/ReceiveAmount.tsx @@ -119,6 +119,7 @@ const ReceiveAmount = ({ {t('minimum')} - + - + {!isLoading && feeEstimate ? ( diff --git a/src/screens/Wallets/Receive/ReceiveQR.tsx b/src/screens/Wallets/Receive/ReceiveQR.tsx index 8453524e7..2ba63323c 100644 --- a/src/screens/Wallets/Receive/ReceiveQR.tsx +++ b/src/screens/Wallets/Receive/ReceiveQR.tsx @@ -630,7 +630,8 @@ const ReceiveQR = ({ style={styles.switchRow} color="purple" isEnabled={enableInstant} - onPress={onToggleInstant}> + onPress={onToggleInstant} + testID="ReceiveInstantSwitch"> {!enableInstant && } {t('receive_spending')}