Skip to content

Commit ae897e3

Browse files
committed
test: add missing testIDs for maestro selectors
1 parent 1c1839d commit ae897e3

4 files changed

Lines changed: 10 additions & 0 deletions

File tree

src/__tests__/components/__snapshots__/CreateWalletSelectCryptoRow.test.tsx.snap

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ exports[`WalletListRow should render with loading props 1`] = `
4040
"paddingHorizontal": 11,
4141
}
4242
}
43+
testID="createWalletRow.bitcoin"
4344
>
4445
<View
4546
style={

src/__tests__/scenes/__snapshots__/CreateWalletEditNameScene.test.tsx.snap

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -431,6 +431,7 @@ exports[`CreateWalletEditNameComponent should render with loading props 1`] = `
431431
"paddingHorizontal": 11,
432432
}
433433
}
434+
testID="createWalletRow.bitcoin"
434435
>
435436
<View
436437
style={
@@ -633,6 +634,7 @@ exports[`CreateWalletEditNameComponent should render with loading props 1`] = `
633634
"paddingHorizontal": 11,
634635
}
635636
}
637+
testID="createWalletRow.ethereum"
636638
>
637639
<View
638640
style={
@@ -835,6 +837,7 @@ exports[`CreateWalletEditNameComponent should render with loading props 1`] = `
835837
"paddingHorizontal": 11,
836838
}
837839
}
840+
testID="createWalletRow.ethereum"
838841
>
839842
<View
840843
style={

src/__tests__/scenes/__snapshots__/CreateWalletSelectCryptoScene.test.tsx.snap

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -968,6 +968,7 @@ exports[`CreateWalletSelectCrypto should render with loading props 1`] = `
968968
"paddingHorizontal": 11,
969969
}
970970
}
971+
testID="createWalletRow.ethereum"
971972
>
972973
<View
973974
style={
@@ -1169,6 +1170,7 @@ exports[`CreateWalletSelectCrypto should render with loading props 1`] = `
11691170
"paddingHorizontal": 11,
11701171
}
11711172
}
1173+
testID="createWalletRow.ethereum"
11721174
>
11731175
<View
11741176
style={
@@ -1406,6 +1408,7 @@ exports[`CreateWalletSelectCrypto should render with loading props 1`] = `
14061408
"paddingHorizontal": 11,
14071409
}
14081410
}
1411+
testID="createWalletRow.ethereum"
14091412
>
14101413
<View
14111414
style={
@@ -1643,6 +1646,7 @@ exports[`CreateWalletSelectCrypto should render with loading props 1`] = `
16431646
"paddingHorizontal": 11,
16441647
}
16451648
}
1649+
testID="createWalletRow.ethereum"
16461650
>
16471651
<View
16481652
style={
@@ -1880,6 +1884,7 @@ exports[`CreateWalletSelectCrypto should render with loading props 1`] = `
18801884
"paddingHorizontal": 11,
18811885
}
18821886
}
1887+
testID="createWalletRow.ethereum"
18831888
>
18841889
<View
18851890
style={

src/components/themed/CreateWalletSelectCryptoRow.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ export const CreateWalletSelectCryptoRowComponent: React.FC<Props> = props => {
5959

6060
return (
6161
<EdgeTouchableOpacity
62+
testID={`createWalletRow.${pluginId}`}
6263
style={styles.container}
6364
disabled={onPress == null}
6465
onPress={handlePress}

0 commit comments

Comments
 (0)