Skip to content

Commit

Permalink
fixed some tests
Browse files Browse the repository at this point in the history
  • Loading branch information
markgol777 committed Nov 24, 2024
1 parent bb4b021 commit 36bef14
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ describe('ResetPassword test', () => {
)
const button = screen.getByText('login.savePassword')

fireEvent.change(passwordInput, { target: { value: '12345qwertY' } })
fireEvent.change(confirmPasswordInput, { target: { value: '12345qwertY' } })
fireEvent.change(passwordInput, { target: { value: '12345qwertY$' } })
fireEvent.change(confirmPasswordInput, { target: { value: '12345qwertY$' } })

await waitFor(() => {
fireEvent.click(button)
Expand Down Expand Up @@ -59,8 +59,8 @@ describe('ResetPassword test', () => {
)
const button = screen.getByText('login.savePassword')

fireEvent.change(passwordInput, { target: { value: '12345qwertY' } })
fireEvent.change(confirmPasswordInput, { target: { value: '12345qwertY' } })
fireEvent.change(passwordInput, { target: { value: '12345qwertY$' } })
fireEvent.change(confirmPasswordInput, { target: { value: '12345qwertY$' } })
fireEvent.click(button)

const snackbar = await screen.findByText('errors.BAD_RESET_TOKEN')
Expand Down

0 comments on commit 36bef14

Please sign in to comment.