Skip to content

Commit

Permalink
Fixed LogIn Test
Browse files Browse the repository at this point in the history
  • Loading branch information
AmazingBrandonL committed May 1, 2024
1 parent a76b4a9 commit bf3dd0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/logIn.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ describe('LogIn Component Test', () => {
});

it('should open and close the About modal', async () => {
const aboutButton = screen.getByRole('button', { name: 'About' });
const aboutButton = screen.getAllByRole('button', { name: 'About' })[0];
fireEvent.click(aboutButton);

// Assert that modal is open
Expand Down

0 comments on commit bf3dd0c

Please sign in to comment.