Skip to content

Commit

Permalink
Cambiod test MainPage
Browse files Browse the repository at this point in the history
  • Loading branch information
uo264915 committed Apr 11, 2024
1 parent 929cb52 commit 1c648a3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions webapp/src/components/MainPage.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 1c648a3

Please sign in to comment.