Skip to content

Commit 9717a54

Browse files
committed
refactor(demo): standardize multipair testIDs
1 parent 2b06ee0 commit 9717a54

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

examples/demo/src/components/modals/MultiPairInputModal.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ export default function MultiPairInputModal({
9999
onChangeText={(t) => updateRow(row.id, 'key', t)}
100100
autoFocus={idx === 0}
101101
{...AppInputProps}
102-
testID={`${keyPlaceholder}_input_${idx}`}
102+
testID={`multipair_key_${idx}`}
103103
/>
104104
<TextInput
105105
style={[AppDialogStyles.input, styles.halfInput]}
@@ -108,7 +108,7 @@ export default function MultiPairInputModal({
108108
value={row.value}
109109
onChangeText={(t) => updateRow(row.id, 'value', t)}
110110
{...AppInputProps}
111-
testID={`${valuePlaceholder}_input_${idx}`}
111+
testID={`multipair_value_${idx}`}
112112
/>
113113
{rows.length > 1 && (
114114
<TouchableOpacity

examples/demo/src/screens/HomeScreen.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ export default function HomeScreen() {
146146

147147
<TrackEventSection
148148
onTrackEvent={os.trackEvent}
149-
onInfoTap={() => showTooltipModal('trackEvent')}
149+
onInfoTap={() => showTooltipModal('customEvents')}
150150
/>
151151

152152
<LocationSection

0 commit comments

Comments
 (0)