Skip to content

Commit 733f834

Browse files
committed
✅ Update tests
1 parent 2d092f6 commit 733f834

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

frontend/src/routes/recover-password.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ function RecoverPassword() {
9090
<FormLabel>Email</FormLabel>
9191
<FormControl>
9292
<Input
93+
data-testid="email-input"
9394
placeholder="[email protected]"
9495
type="email"
9596
{...field}

frontend/src/routes/reset-password.tsx

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,11 @@ function ResetPassword() {
108108
<FormItem>
109109
<FormLabel>New Password</FormLabel>
110110
<FormControl>
111-
<PasswordInput placeholder="New Password" {...field} />
111+
<PasswordInput
112+
data-testid="new-password-input"
113+
placeholder="New Password"
114+
{...field}
115+
/>
112116
</FormControl>
113117
<FormMessage />
114118
</FormItem>
@@ -122,7 +126,11 @@ function ResetPassword() {
122126
<FormItem>
123127
<FormLabel>Confirm Password</FormLabel>
124128
<FormControl>
125-
<PasswordInput placeholder="Confirm Password" {...field} />
129+
<PasswordInput
130+
data-testid="confirm-password-input"
131+
placeholder="Confirm Password"
132+
{...field}
133+
/>
126134
</FormControl>
127135
<FormMessage />
128136
</FormItem>

0 commit comments

Comments
 (0)