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

Test quality metrics and DetailsCard #577

Merged
merged 9 commits into from
May 19, 2020

Conversation

everett980
Copy link
Collaborator

Which problem is this PR solving?

  • QualityMetrics view and DetailsCard lacked tests

Short description of the changes

  • Add tests to components/QualityMetrics
  • Move DetailsCard, ExamplesLink, and TraceTimelineResizer to components/common, and test.
  • Split DetailsCard into smaller, easier to maintain files.

@codecov
Copy link

codecov bot commented May 14, 2020

Codecov Report

Merging #577 into master will increase coverage by 3.42%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #577      +/-   ##
==========================================
+ Coverage   89.99%   93.41%   +3.42%     
==========================================
  Files         214      216       +2     
  Lines        5225     5227       +2     
  Branches     1338     1337       -1     
==========================================
+ Hits         4702     4883     +181     
+ Misses        480      303     -177     
+ Partials       43       41       -2     
Impacted Files Coverage Δ
...ger-ui/src/components/QualityMetrics/CountCard.tsx 100.00% <ø> (+100.00%) ⬆️
...er-ui/src/components/QualityMetrics/MetricCard.tsx 100.00% <ø> (+90.00%) ⬆️
...es/jaeger-ui/src/components/QualityMetrics/url.tsx 100.00% <ø> (+78.57%) ⬆️
...lineViewer/TimelineHeaderRow/TimelineHeaderRow.tsx 100.00% <ø> (ø)
...s/jaeger-ui/src/components/common/ExamplesLink.tsx 100.00% <ø> (ø)
packages/jaeger-ui/src/api/jaeger.js 100.00% <100.00%> (+4.44%) ⬆️
...onents/DeepDependencies/SidePanel/DetailsPanel.tsx 100.00% <100.00%> (ø)
.../jaeger-ui/src/components/QualityMetrics/index.tsx 91.42% <100.00%> (+91.42%) ⬆️
...i/src/components/common/DetailsCard/DetailList.tsx 100.00% <100.00%> (ø)
.../src/components/common/DetailsCard/DetailTable.tsx 100.00% <100.00%> (ø)
... and 18 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a477b09...394b5d3. Read the comment docs.

@everett980 everett980 merged commit bff253e into jaegertracing:master May 19, 2020
vvvprabhakar pushed a commit to vvvprabhakar/jaeger-ui that referenced this pull request Jul 5, 2021
* Test existing files + CircularProgressbar
* Test QualityMetrics/!index, move & rename Resizer
* Add key to metric details, test QualityMetrics
* Move ExamplesLink&DetailsCard, split&test DC
* Clean up types files
* Clean up types files
* Clean up tests

Signed-off-by: Everett Ross <[email protected]>
Signed-off-by: vvvprabhakar <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants