Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test historial de preguntas #143

Closed
wants to merge 5 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Test historial de preguntas
pablouronesclavera committed Apr 18, 2024

Verified

This commit was signed with the committer’s verified signature.
lucasssvaz Lucas Saavedra Vaz
commit b3d492520c7c91760316039df6058ba0e9741b8e
3 changes: 1 addition & 2 deletions webapp/src/components/HistoricalData.test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react';
import { render, fireEvent, screen, waitFor } from '@testing-library/react';
import { render, screen, waitFor } from '@testing-library/react';
import axios from 'axios';
import MockAdapter from 'axios-mock-adapter';
import HistoricalData from './HistoricalData';
@@ -26,7 +26,6 @@ describe('HistoricalData component', () => {
<HistoricalData />
</Router>);

const element = screen.getByText(/Historial de preguntas/);
const tableElement = screen.getByRole('table');

// Verifica si el elemento se encuentra en el DOM