Skip to content

Commit

Permalink
Fixed tests to test with new home
Browse files Browse the repository at this point in the history
  • Loading branch information
Mister-Mario committed Apr 24, 2024
1 parent eecfb76 commit 8479e47
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions webapp/src/components/Home/Home.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ describe('Home component', () => {
// Click toggle open button
fireEvent.click(screen.getByTitle("home.clickOpen"));

// Icons of instructions, login and signup must be shown
expect(screen.getByAltText('Instructions')).toBeVisible();
// Icons of play as guest, login and signup must be shown
expect(screen.getByAltText('Game')).toBeVisible();
expect(screen.getByAltText('Login')).toBeVisible();
expect(screen.getByAltText('Add user')).toBeVisible();

Expand Down

0 comments on commit 8479e47

Please sign in to comment.