Skip to content

Commit

Permalink
Fix homepage test
Browse files Browse the repository at this point in the history
  • Loading branch information
uo288543 committed Apr 8, 2024
1 parent 8884751 commit 4035269
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webapp/src/__tests__/pages/Homepage.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ describe('Homepage component', () => {

await waitFor(() => screen.getByText(/Play/i));

const playLink = screen.getByRole('button', { name: /Play/i });
const playLink = screen.getByRole('link', { name: /PLAY/i });
await expect(playLink).toBeInTheDocument();

const game1 = screen.getByRole('button', { name: /Wise men stack/i});
Expand Down

0 comments on commit 4035269

Please sign in to comment.