-
Notifications
You must be signed in to change notification settings - Fork 102
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
fix(RHINENG-9046): report details remove Usechrome hook #1992
fix(RHINENG-9046): report details remove Usechrome hook #1992
Conversation
0ce5ed9
to
176039a
Compare
8c2c503
to
9878370
Compare
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.
lgtm! just one note on the tests, but overall looks good
@@ -65,6 +65,7 @@ describe('report details: kba loaded', () => { | |||
}); | |||
|
|||
it('renders a loaded kba link', () => { | |||
cy.mount(<ReportDetails {...{ ...props, kbaLoading: true, isProd: true }} />); |
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.
You are calling cy.mount twice (one in beforeEach, and one in it
). It's not healthy for the test, and we better keep only one mount command. Can we just add this prop in cy.mount in beforeEach above?
:soon::shipit::octocat: |
🌱 🌸 🌷 🌻 🌟 New version of package has been released 🌟 🌻 🌷 🌸 🌱 The release is available on: :package:@redhat-cloud-services/frontend-components-advisor-components/v/1.0.19📦 :boom:This feature is brought to you by probot🚀 |
https://issues.redhat.com/browse/RHINENG-9046