From eea52bb2a28b003322e58b158e0a26799024dfdf Mon Sep 17 00:00:00 2001 From: Wilson Neto Date: Mon, 16 Sep 2024 14:58:19 -0300 Subject: [PATCH] fix(commit-history-graph): fix test counts Test counts on commit history graph was wrong, this fix it Closes #307 --- .../src/pages/TreeDetails/Tabs/CommitNavigationGraph.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dashboard/src/pages/TreeDetails/Tabs/CommitNavigationGraph.tsx b/dashboard/src/pages/TreeDetails/Tabs/CommitNavigationGraph.tsx index 2e81ceb2..ad80d95c 100644 --- a/dashboard/src/pages/TreeDetails/Tabs/CommitNavigationGraph.tsx +++ b/dashboard/src/pages/TreeDetails/Tabs/CommitNavigationGraph.tsx @@ -136,8 +136,8 @@ const CommitNavigationGraph = (): JSX.Element => { item.non_boots_tests.skip_count + item.non_boots_tests.error_count + item.non_boots_tests.done_count; - series[0].data?.unshift(item.boots_tests.pass_count); - series[1].data?.unshift(item.boots_tests.fail_count); + series[0].data?.unshift(item.non_boots_tests.pass_count); + series[1].data?.unshift(item.non_boots_tests.fail_count); series[2].data?.unshift(inconclusiveCount); } commitData.unshift({