Skip to content

Commit 41944e5

Browse files
authored
Update flaky-reporter.ts
1 parent 5405805 commit 41944e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

playwright/flaky-reporter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ class FlakyReporter implements Reporter {
106106
const headers = { Authorization: `Bearer ${GITHUB_TOKEN}` };
107107
const body = `${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}/actions/runs/${GITHUB_RUN_ID}`;
108108

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

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

0 commit comments

Comments
 (0)