Skip to content

Commit 43b7613

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 7496336 commit 43b7613

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
@@ -115,6 +115,7 @@ const SignMessageSceneComponent: React.FC<Props> = props => {
115115
multiline
116116
numberOfLines={4}
117117
placeholder={lstrings.sign_message_input_placeholder}
118+
testID="signMessageInput"
118119
value={message}
119120
onChangeText={handleChangeMessage}
120121
/>
@@ -138,7 +139,8 @@ const SignMessageSceneComponent: React.FC<Props> = props => {
138139
label: lstrings.sign_message_sign_button,
139140
onPress: handleSign,
140141
disabled: message === '' || publicAddress == null,
141-
spinner: isSigning
142+
spinner: isSigning,
143+
testID: 'signMessageButton'
142144
}}
143145
/>
144146
</View>

0 commit comments

Comments
 (0)