ctrf-io / slack-ctrf

Send Slack notifications with test results from popular testing frameworks using a single command in your CI/CD
https://ctrf.io
MIT License
4 stars 0 forks source link

Doesn't send flaky tests when using Playwright sharding #1

Closed marhyn closed 1 week ago

marhyn commented 1 month ago

Description

I am using sharding for playwright tests with the blob reporter. Then I merge those blob reports with playwright-ctrf-json-reporter reporter and try to send the merged report, which is now ctrf compliable. But only the results call works, not the flaky one. I am using the report merger according to the Playwright docs.

Commands

Playwright report merge: npx playwright merge-reports --reporter playwright-ctrf-json-reporter ./all-blob-reports

Slack-ctrf send flaky tests: SLACK_WEBHOOK_URL=WEBHOOK_URL npx slack-ctrf flaky ctrf/ctrf-report.json

Versions

Generated ctrf report

ctrf-report.json

Ma11hewThomas commented 1 month ago

Thanks, fixed in v0.0.10