From d3dc264fedc4e3e055ccede319a1ae2c7041f0b0 Mon Sep 17 00:00:00 2001 From: nmorasb Date: Tue, 28 May 2024 12:27:43 -0400 Subject: [PATCH] MAT-7238: fix indexing issue impacting failed stratification row coloring --- src/services/export.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/export.service.ts b/src/services/export.service.ts index 2134d3b..69e83d0 100644 --- a/src/services/export.service.ts +++ b/src/services/export.service.ts @@ -395,7 +395,6 @@ export class ExportService { groupedStratificationDto.stratificationDtos?.forEach((strat) => { headerRowData.push(strat.name); this.populateStratExpected(testCaseData, strat, index, failedIndexes); - index += 1; }); groupedStratificationDto.stratificationDtos?.forEach((strat) => { @@ -403,6 +402,7 @@ export class ExportService { this.populateStratActual(testCaseData, strat); }); + index += 1; this.populateTestCase(testCaseData, result); testCasesData.push(testCaseData); firstRow = firstRowData;