-
Notifications
You must be signed in to change notification settings - Fork 39
Expand file tree
/
Copy pathfail-rate-table.hbs
More file actions
12 lines (11 loc) · 990 Bytes
/
fail-rate-table.hbs
File metadata and controls
12 lines (11 loc) · 990 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
| Fail Rate | **{{toPercent report.insights.failRate.current 2}}%**{{#if report.insights.failRate.change}} *{{#if (gt report.insights.failRate.change 0)}}↑{{toPercent report.insights.failRate.change 2}}{{else}}↓{{toPercent (abs report.insights.failRate.change) 2}}{{/if}}*{{/if}} |
|------------|-----------|
{{#if (sortTestsByFailRate ctrf.tests)}}
| Test 📝 | Results 📊 | Passed ✅ | Failed ❌ | Fail Rate (%) 📈|
| --- | --- | --- | --- | --- |
{{#each (sortTestsByFailRate ctrf.tests)}}
| {{name}} | {{insights.extra.totalResults}} | {{insights.extra.totalResultsPassed}} | {{insights.extra.totalResultsFailed}} | **{{toPercent insights.failRate.current 2}}**{{#if insights.failRate.change}} *{{#if (gt insights.failRate.change 0)}}↑{{toPercent insights.failRate.change 2}}{{else}}↓{{toPercent (abs insights.failRate.change) 2}}{{/if}}*{{/if}} |
{{/each}}
{{else}}
No current tests have fail rates to display ✨
{{/if}}