Skip to content

Commit

Permalink
fix(odyssey-react-mui): fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
AnirudhMani-okta committed Sep 21, 2023
1 parent 405fd71 commit 2be6755
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ export const Default: StoryObj<PasswordFieldProps> = {
expect(fieldElement.type).toBe("password");

const buttonElement = canvasElement.querySelector(
'[aria-label="toggle password visibility"]'
'[aria-label="Show password"]'
);
if (buttonElement) {
userEvent.type(fieldElement, "qwerty");
Expand Down

0 comments on commit 2be6755

Please sign in to comment.