Skip to content

Commit

Permalink
fix navbar test
Browse files Browse the repository at this point in the history
  • Loading branch information
uo288543 committed Apr 27, 2024
1 parent 66ee8db commit b6896b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webapp/src/__tests__/components/NavBar.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ describe('NavBar component', () => {
);

// Checks select menu is in the nav
const selectLang = screen.getByText("English");
const selectLang = screen.getAllByText("English")[0];
await expect(selectLang).toBeInTheDocument();

// Click on it and check both options are there
Expand Down

0 comments on commit b6896b2

Please sign in to comment.