Skip to content

Commit 6e847d7

Browse files
committed
feat: enable suite-folded report option in workflow configuration
1 parent 3ae772c commit 6e847d7

File tree

4 files changed

+25
-8
lines changed

4 files changed

+25
-8
lines changed

.github/workflows/build-and-test.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ jobs:
2626
report-path: './ctrf/*.json'
2727
summary-report: true
2828
test-report: true
29+
suite-folded-report: true
2930
upload-artifact: true
3031
env:
3132
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

dist/reports/suite-folded.hbs

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/reports/test-table.hbs

+22-6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/reports/suite-folded.hbs

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
{{#each ctrf.extra.suites}}
1414
<tr>
1515
<td>
16-
<details>
16+
<details {{#if (eq ctrf.extra.inputs.folded false)}}open{{/if}}>
1717
<summary>{{getCtrfEmoji this.results.summary.extra.result}} {{this.results.extra.groupKey}}</summary>
1818
{{#each this.results.tests}}
1919
<div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{{getCtrfEmoji this.status}} {{this.name}}</div>

0 commit comments

Comments
 (0)