From 1c648a3d64294833cec3c004617b896160241e70 Mon Sep 17 00:00:00 2001 From: uo264915 Date: Thu, 11 Apr 2024 11:43:06 +0200 Subject: [PATCH] Cambiod test MainPage --- webapp/src/components/MainPage.test.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/webapp/src/components/MainPage.test.js b/webapp/src/components/MainPage.test.js index e971f071..48ed4ba8 100644 --- a/webapp/src/components/MainPage.test.js +++ b/webapp/src/components/MainPage.test.js @@ -21,9 +21,9 @@ describe('MainPage component', () => { const element1 = screen.getByText(/¡Bienvenido a/); const element2 = screen.getByText(/WIQ 2024!/); const newGameButton = screen.getByRole('button', { name: 'Nuevo juego' }); - const historicalQuestionsButton = screen.getByRole('button', { name: 'Historial de preguntas' }); - const historialUserDataButton = screen.getByRole('button', { name: 'Historial del usuario' }); - const registerUsersButton = screen.getByRole('button', { name: 'Usuarios Registrados' }); + const historicalQuestionsButton = screen.getByRole('button', { name: 'Histórico de preguntas' }); + const historialUserDataButton = screen.getByRole('button', { name: 'Histórico del usuario' }); + const registerUsersButton = screen.getByRole('button', { name: 'Usuarios registrados' }); // Verifica si el elemento se encuentra en el DOM expect(element1).toBeInTheDocument();