Skip to content

Commit

Permalink
Tests: add testid for pk input
Browse files Browse the repository at this point in the history
  • Loading branch information
katspaugh committed Jun 14, 2024
1 parent 010d629 commit ed75771
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/services/private-key-module/PkModulePopup.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,15 @@ const PkModulePopup = () => {
</Typography>

<form onSubmit={onSubmit} action="#" method="post">
<TextField type="password" label="Private key" fullWidth required name="private-key" sx={{ mb: 3 }} />
<TextField
type="password"
label="Private key"
fullWidth
required
name="private-key"
sx={{ mb: 3 }}
data-testid="private-key-input"
/>

<Button variant="contained" color="primary" fullWidth type="submit">
Connect
Expand Down

0 comments on commit ed75771

Please sign in to comment.