Skip to content

Commit 4834ad7

Browse files
committed
style: refine report table headers and column order
1 parent 2f4dcf6 commit 4834ad7

File tree

4 files changed

+6
-10
lines changed

4 files changed

+6
-10
lines changed

dist/reports/insights-table.hbs

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/reports/slowest-table.hbs

Lines changed: 2 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/reports/insights-table.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
| Average Tests per Run | Total Flaky Tests | Total Failures | Slowest Test (p95) |
1+
| Average Tests per Run | Total Flaky Tests | Total Failed | Slowest Test (p95) |
22
|----------------------|-------------------|----------------|-------------------|
33
| {{ctrf.summary.extra.averageTestsPerRun}} | {{ctrf.summary.extra.totalFlakyTests}} | {{ctrf.summary.extra.totalFailures}} | {{formatDuration 0 ctrf.summary.extra.slowestTest.duration}} |
44

src/reports/slowest-table.hbs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
1-
### ⏱️ Slowest Tests (p95)
2-
3-
| Test Name | Average Duration | Total Runs | Failures | Fail Rate |
1+
| Test 📝 | Runs 🎯 | Fail ❌ | Fail Rate % | Average Duration (p95) ⏱️ |
42
|-----------|-----------------|------------|----------|-----------|
53
{{#each ctrf.summary.extra.slowestTests}}
64
{{#if extra.avgDuration}}
7-
| {{name}} | {{formatDuration 0 extra.avgDuration}} | {{extra.totalAttempts}} | {{extra.failedCount}} | {{formatRate extra.failRate}}% |
5+
| {{name}} | {{extra.finalResults}} | {{extra.failedCount}} | {{formatRate extra.failRate}}% | {{formatDuration 0 extra.avgDuration}} |
86
{{/if}}
97
{{/each}}
108

0 commit comments

Comments
 (0)