Skip to content
This repository has been archived by the owner on Dec 18, 2024. It is now read-only.

Commit

Permalink
Merge pull request #770 from MeasureAuthoringTool/MAT-7936_leftover
Browse files Browse the repository at this point in the history
MAT-7936 reset execution status when switched to another measure
  • Loading branch information
adongare authored Nov 22, 2024
2 parents a3811f7 + c9e418b commit 127a287
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/components/testCaseLanding/qdm/TestCaseList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,7 @@ const TestCaseList = (props: TestCaseListProps) => {
useState<GroupCoverageResult>();
const [createOpen, setCreateOpen] = useState<boolean>(false);
useEffect(() => {
setExecuteAllTestCases(false);
if (
!_.isNil(measure?.groups) &&
measure.groups.length > 0 &&
Expand Down
1 change: 1 addition & 0 deletions src/components/testCaseLanding/qiCore/TestCaseList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,7 @@ const TestCaseList = (props: TestCaseListProps) => {
}, [testCases]);

useEffect(() => {
setExecuteAllTestCases(false);
if (
!_.isNil(measure?.groups) &&
measure.groups.length > 0 &&
Expand Down

0 comments on commit 127a287

Please sign in to comment.