From d26c9eaa4011a8995443faa35aab8205b50be670 Mon Sep 17 00:00:00 2001 From: Jesper Henrichsen Date: Tue, 27 Aug 2024 01:12:36 +0200 Subject: [PATCH] Report per project failing tests (#171) --- src/ResultsParser.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ResultsParser.ts b/src/ResultsParser.ts index f77bab1..3272252 100644 --- a/src/ResultsParser.ts +++ b/src/ResultsParser.ts @@ -217,7 +217,7 @@ export default class ResultsParser { if (resIndex > -1) { for (const test of data.testSuite.tests) { const testIndex = this.result[resIndex].testSuite.tests.findIndex( - (tes) => tes.name === test.name, + (tes) => `${tes.projectName}${tes.name}` === `${test.projectName}${test.name}`, ); if (testIndex > -1) { this.result[resIndex].testSuite.tests[testIndex] = test;