Skip to content

Commit

Permalink
chore: adjust flaky view
Browse files Browse the repository at this point in the history
  • Loading branch information
Ma11hewThomas committed Oct 31, 2024
1 parent 908d7ef commit 2dfa30c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/views/detailed.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export function generateTestDetailsTable(tests: CtrfTest[], useSuiteName: boolea
{ data: 'Name', header: true },
{ data: 'Status', header: true },
{ data: 'ms', header: true },
{ data: 'Flaky 🍂', header: true },
{ data: 'Flaky', header: true },
]

const rows = limitedTests.map((test) => [
Expand All @@ -28,7 +28,7 @@ export function generateTestDetailsTable(tests: CtrfTest[], useSuiteName: boolea
header: false,
},
{ data: test.duration.toString(), header: false },
{ data: test.flaky ? 'Yes' : '', header: false },
{ data: test.flaky ? '🍂' : '', header: false },
])

core.summary.addTable([headers, ...rows])
Expand Down
2 changes: 1 addition & 1 deletion src/views/flaky.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export function generateFlakyTestsDetailsTable(tests: CtrfTest[], useSuiteName:
{ data: 'Name', header: true },
{ data: 'Status', header: true },
{ data: 'Retries', header: true },
{ data: 'Flaky 🍂', header: true },
{ data: 'Flaky', header: true },
]

const rows = flakyTests.map((test) => [
Expand Down

0 comments on commit 2dfa30c

Please sign in to comment.