From dee432c02eab7cb02cc2f11be5e051560b0d4121 Mon Sep 17 00:00:00 2001 From: Ethan Kaplan Date: Tue, 22 Oct 2024 11:09:15 -0700 Subject: [PATCH] MAT-6808 add check for valid execution status --- .../TestCaseTable/TestCaseTablePopover.tsx | 28 ++++++++++--------- 1 file changed, 15 insertions(+), 13 deletions(-) diff --git a/src/components/testCaseLanding/common/TestCaseTable/TestCaseTablePopover.tsx b/src/components/testCaseLanding/common/TestCaseTable/TestCaseTablePopover.tsx index ac1490bdb..936e91f96 100644 --- a/src/components/testCaseLanding/common/TestCaseTable/TestCaseTablePopover.tsx +++ b/src/components/testCaseLanding/common/TestCaseTable/TestCaseTablePopover.tsx @@ -186,19 +186,21 @@ const TestCaseTablePopover = (props: TestCaseTablePopoverProps) => { > delete - {model.startsWith("QI-Core") && ( - - )} + {model.startsWith("QI-Core") && + selectedTestCase && + selectedTestCase.executionStatus != "Invalid" && ( + + )} )}