-
Notifications
You must be signed in to change notification settings - Fork 14.5k
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(explore): Certificate icon not displaying for certified metrics #13133
Conversation
Codecov Report
@@ Coverage Diff @@
## master #13133 +/- ##
==========================================
+ Coverage 53.06% 61.82% +8.76%
==========================================
Files 489 553 +64
Lines 17314 20252 +2938
Branches 4482 5300 +818
==========================================
+ Hits 9187 12521 +3334
+ Misses 8127 7517 -610
- Partials 0 214 +214
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
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.
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. Still have some getting used to with RTL (I still kind of prefer the enzyme way of checking for child components).
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.
a couple nits, otherwise lgtm. And thanks so much for adding tests!
SUMMARY
Certificate icon was not displayed for certified saved metrics in metrics panel and in select options in metrics popover. This PR fixes it and adds some basic tests for OptionControls using react-testing-library.
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
Before: see #13078
![image](https://user-images.githubusercontent.com/15073128/107954164-6a10cf80-6f9c-11eb-817b-4e1feebeea53.png)
After:
TEST PLAN
ADDITIONAL INFORMATION
CC: @junlincc @villebro @nikolagigic @etr2460