Skip to content

Commit

Permalink
chore: minor amends
Browse files Browse the repository at this point in the history
  • Loading branch information
Ma11hewThomas committed Oct 31, 2024
1 parent 3fb72ee commit cb7d9fc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,15 @@ jobs:
- name: Test failed
run: node dist/index.js failed ctrf-reports/ctrf-report.json --annotate false
- name: Test failed rate
run: node dist/index.js failed-rate ctrf-reports/ctrf-report.json --annotate false
run: node dist/index.js failed-rate ctrf-reports/ctrf-report.json --annotate false --title "Failed rate"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Test failed folded
run: node dist/index.js failed-folded ctrf-reports/ctrf-report.json --annotate false
- name: Test flaky
run: node dist/index.js flaky ctrf-reports/ctrf-report.json --annotate false
- name: Test flaky rate
run: node dist/index.js flaky-rate ctrf-reports/ctrf-report.json --annotate false
run: node dist/index.js flaky-rate ctrf-reports/ctrf-report.json --annotate false --title "Flaky rate"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Test ai
Expand Down
2 changes: 1 addition & 1 deletion src/views/flaky-rate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ export async function generateFlakyRateSummary(
const overallFlakeRate =
totalAttemptsAllTests > 0 ? (totalFlakesAllTests / totalAttemptsAllTests) * 100 : 0
const overallFlakeRateFormatted = overallFlakeRate.toFixed(2)
const overallFlakeRateMessage = `**Overall Flake Rate:** ${overallFlakeRateFormatted}%`
const overallFlakeRateMessage = `**Overall Flaky Rate:** ${overallFlakeRateFormatted}%`

const flakyTestArrayNonZero = flakyTestArray.filter(
(data) => data.flakeRate > 0
Expand Down

0 comments on commit cb7d9fc

Please sign in to comment.