-
Notifications
You must be signed in to change notification settings - Fork 39
Expand file tree
/
Copy pathsuite-folded.hbs
More file actions
30 lines (30 loc) · 1.18 KB
/
suite-folded.hbs
File metadata and controls
30 lines (30 loc) · 1.18 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<p><strong>{{ctrf.summary.passed}} passed</strong>, <strong>{{ctrf.summary.failed}} failed</strong>, and <strong>{{addAll ctrf.summary.skipped ctrf.summary.pending ctrf.summary.other}} other</strong></p>
<table>
<thead>
<tr>
<th>Suite</th>
<th>Passed</th>
<th>Failed</th>
<th>Other</th>
<th>Duration</th>
</tr>
</thead>
<tbody>
{{#each ctrf.extra.suites}}
<tr>
<td>
<details>
<summary>{{#gt this.results.summary.failed 0}}{{getCtrfEmoji "failed"}}{{else}}{{getCtrfEmoji "passed"}}{{/gt}} {{this.results.extra.groupKey}}</summary>
{{#each this.results.tests}}
<div> {{getCtrfEmoji this.status}} {{this.name}}</div>
{{/each}}
</details>
</td>
<td>{{getCtrfEmoji "passed"}} {{this.results.summary.passed}}</td>
<td>{{getCtrfEmoji "failed"}} {{this.results.summary.failed}}</td>
<td>{{getCtrfEmoji "skipped"}} {{addAll this.results.summary.skipped this.results.summary.pending this.results.summary.other}}</td>
<td>{{formatDurationFromTimes 0 this.results.summary.extra.duration}}</td>
</tr>
{{/each}}
</tbody>
</table>