Skip to content

Commit 7624da7

Browse files
committed
test: add missing testIDs for maestro selectors
Add signMessageInput and signMessageButton testIDs to the Sign Message scene so UI automation can drive the message field and sign action by a stable selector.
1 parent 6a9dcea commit 7624da7

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/components/scenes/SignMessageScene.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ const SignMessageSceneComponent: React.FC<Props> = props => {
112112
multiline
113113
numberOfLines={4}
114114
placeholder={lstrings.sign_message_input_placeholder}
115+
testID="signMessageInput"
115116
value={message}
116117
onChangeText={handleChangeMessage}
117118
/>
@@ -135,7 +136,8 @@ const SignMessageSceneComponent: React.FC<Props> = props => {
135136
label: lstrings.sign_message_sign_button,
136137
onPress: handleSign,
137138
disabled: message === '' || publicAddress == null,
138-
spinner: isSigning
139+
spinner: isSigning,
140+
testID: 'signMessageButton'
139141
}}
140142
/>
141143
</View>

0 commit comments

Comments
 (0)