From 8479e47853f00ea187848265c1c019fefe8ec98c Mon Sep 17 00:00:00 2001 From: Mister-Mario Date: Wed, 24 Apr 2024 20:57:18 +0200 Subject: [PATCH] Fixed tests to test with new home --- webapp/src/components/Home/Home.test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/webapp/src/components/Home/Home.test.js b/webapp/src/components/Home/Home.test.js index 0d16902b..78b36338 100644 --- a/webapp/src/components/Home/Home.test.js +++ b/webapp/src/components/Home/Home.test.js @@ -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();