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

Testing summary.js frontend solves #207 #236

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

sachinprasad1998mav
Copy link
Contributor

@sachinprasad1998mav sachinprasad1998mav commented May 10, 2023

This pr is relates to #207


// Test if the tables are shown and the chart is hidden when the 'Table' button is clicked
test('shows tables and hides chart when table button is clicked', () => {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This Test failing


// Test if the chart is shown and the tables are hidden when the 'Chart' button is clicked
test('shows chart and hides tables when chart button is clicked', () => {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Test failing

render(<Summary />);
const SoontoExpire = screen.getByText('Soon to Expire');
expect(SoontoExpire).toBeInTheDocument(); // assert that the button is in the document
});
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Didn't have to remove these tests they were working fine

@DevangRaval1
Copy link
Contributor

Also coverage is failing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants