-
Notifications
You must be signed in to change notification settings - Fork 1
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
Re-enable TraceDetail tests and update test IDs #189
Conversation
|
); | ||
expect(body).toBeVisible(); | ||
expect(body.getAttribute('data-content-type')).toBe(contentType); | ||
}); |
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.
We now use the same component for all code display, so this test is modified so that it checks that the correct content type was passed to the component instead of checking for the specific content components (which no longer exist)
|
||
expect(body).not.toBeInTheDocument(); | ||
expect(tab).toHaveAttribute('disabled'); |
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.
We no longer remove the content from the DOM, we disable the Tab so it can not be selected
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.
In a previous PR, Trace Detail Tests were incorrectly skipped. This PR restores those tests and updates the test IDs.
Current Coverage
Closes #188