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

feat(test): extract and render tests coverage results #9657

Merged
merged 30 commits into from
Apr 10, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
4eac072
feat: add tests coverage UI
nachoaldamav Apr 2, 2025
7114d40
fix: types issues
nachoaldamav Apr 2, 2025
d7accdb
revert: comments in `ws.jsonc`
nachoaldamav Apr 2, 2025
3b75615
fix: lint issues
nachoaldamav Apr 2, 2025
e21958c
fix: remove log
nachoaldamav Apr 2, 2025
dba4972
feat: update UI
nachoaldamav Apr 3, 2025
1532208
update UI
nachoaldamav Apr 3, 2025
e26cc40
fix: lint issues
nachoaldamav Apr 3, 2025
881e832
UI updates
nachoaldamav Apr 6, 2025
7dd0aec
use CSS variables
nachoaldamav Apr 6, 2025
38db9ae
use CSS variables
nachoaldamav Apr 6, 2025
bc577d7
fix: coverage schema
nachoaldamav Apr 7, 2025
a57fce1
fix: adapt query for badge
nachoaldamav Apr 7, 2025
9463bf8
fix: queries and data structure
nachoaldamav Apr 7, 2025
e12bcb7
fix: precision in test files
nachoaldamav Apr 7, 2025
483e688
simplify columns code
nachoaldamav Apr 8, 2025
a01d5eb
fix: lint issues
nachoaldamav Apr 8, 2025
76b70d0
change yellow color
nachoaldamav Apr 8, 2025
ce3eb6e
change orange color
nachoaldamav Apr 8, 2025
ff303ce
overall progress bar
nachoaldamav Apr 8, 2025
baf8336
use theme variables
nachoaldamav Apr 8, 2025
9bcf665
fix: lint errors
nachoaldamav Apr 8, 2025
027a373
fix: lint errors
nachoaldamav Apr 8, 2025
ccf70bf
remove extra space
nachoaldamav Apr 10, 2025
a56ca38
cast types for tests results
nachoaldamav Apr 10, 2025
2d60cd3
revert: pnpm lockfile
nachoaldamav Apr 10, 2025
2e9caba
revert: extra space in ws.jsonc
nachoaldamav Apr 10, 2025
2fd89fa
Merge branch 'master' into coverage-ui-support
luvkapur Apr 10, 2025
76d7a31
checkout lockfile
nachoaldamav Apr 10, 2025
67b66e2
Merge branch 'coverage-ui-support' of github.com:teambit/bit into cov…
nachoaldamav Apr 10, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
75 changes: 75 additions & 0 deletions components/ui/test-page/tests-page.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@
margin-bottom: 24px;
font-size: var(--bit-h-xs, 26px);
}
.subtitle {
margin-bottom: 24px;
font-size: var(--bit-h-xxs, 18px);
}
.separator {
margin-bottom: 41px;
}
Expand All @@ -18,3 +22,74 @@
.testBlock {
margin-bottom: 50px;
}

th {
font-weight: bold;
}

.container {
display: flex;
gap: 20px;
margin-bottom: 30px;
}

.item {
display: flex;
align-items: center;
gap: 6px;
}

.percentage {
font-weight: bolder;
}

.label {
color: #666;
}

.badge {
background-color: var(--surface-neutral-active-color, #eeeff2);
color: #666;
padding: 2px 6px;
border-radius: 12px;
font-size: 0.85em;
}

.coverage_column {
width: 75px;
}

.filePath {
font-family: monospace;
display: flex;
align-items: center;
justify-items: center;
gap: 4px;
}

.progressBar {
width: 150px;
border-radius: 50px;
height: 6px;
display: inline-block;
margin-left: 10px;
background-color: lightgray;
overflow: hidden;
position: relative;
}

.progressBarFill {
height: 100%;
border-radius: 50px;
width: 0;
}

.summaryProgressBar {
width: 100%;
border-radius: 50px;
height: 6px;
display: inline-block;
background-color: lightgray;
overflow: hidden;
position: relative;
}
Loading