We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 61f8f70 commit 06cbb86Copy full SHA for 06cbb86
community-reports/cobra-report/cobra-report.hbs
@@ -0,0 +1,32 @@
1
+| **Tests 📝** | **Passed ✅** | **Failed ❌** | **Skipped ⏭️** |
2
+| --- | --- | --- | --- |
3
+| {{ctrf.summary.tests}} | {{ctrf.summary.passed}} | {{ctrf.summary.failed}} | {{ctrf.summary.skipped}} |
4
+
5
+{{#if (anyFailedTests ctrf.tests)}}
6
+<table>
7
+ <thead>
8
+ <tr>
9
+ <th>Failed Tests {{getCtrfEmoji "failed"}}</th>
10
+ <th>Fail Message</th>
11
+ </tr>
12
+ </thead>
13
+ <tbody>
14
+ {{#each ctrf.tests}}
15
+ {{#if (eq status "failed")}}
16
17
+ <td>{{getCtrfEmoji "failed"}} {{name}}</td>
18
+ <td>
19
+ {{#if message}}
20
+ {{~{formatMessage message}}}
21
+ {{else}}
22
+ No failure message
23
+ {{/if}}
24
+ </td>
25
26
27
+ {{/each}}
28
+ </tbody>
29
+</table>
30
+{{else}}
31
+<p>No failed tests ✨</p>
32
+{{/if}}
0 commit comments