-
Notifications
You must be signed in to change notification settings - Fork 34
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
base: main
Are you sure you want to change the base?
Conversation
|
||
// 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', () => { |
There was a problem hiding this comment.
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', () => { |
There was a problem hiding this comment.
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 | ||
}); |
There was a problem hiding this comment.
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
Also coverage is failing |
This pr is relates to #207