Skip to content

Commit

Permalink
fix(form): story fix
Browse files Browse the repository at this point in the history
  • Loading branch information
m0ksem committed Jun 3, 2024
1 parent a03c6ff commit d8da175
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ui/src/components/va-form/VaForm.stories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ ValidateAndResetValidation.play = async ({ canvasElement, step }) => {

await step('Reset inputs validation', async () => {
await userEvent.click(resetButton)
expect(input.getAttribute('aria-invalid')).toEqual('true')
expect(input.getAttribute('aria-invalid')).toEqual('false')
expect(inputWrapper.classList.contains('va-input-wrapper--error')).toBeFalsy()
})
}
Expand Down

0 comments on commit d8da175

Please sign in to comment.