Skip to content

Commit

Permalink
Update flaky-reporter.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
t3chguy authored Jan 13, 2025
1 parent 5405805 commit 41944e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion playwright/flaky-reporter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ class FlakyReporter implements Reporter {
const headers = { Authorization: `Bearer ${GITHUB_TOKEN}` };
const body = `${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}/actions/runs/${GITHUB_RUN_ID}`;

const labels = [LABEL, ...results.map((test) => test.parent.project()?.name).filter(Boolean)];
const labels = [LABEL, ...results.map((test) => `${LABEL}-${test.parent.project()?.name}`)];

if (existingIssue) {
console.log(`Found issue ${existingIssue.number} for ${flake}, adding comment...`);
Expand Down

0 comments on commit 41944e5

Please sign in to comment.