From 9c67761dddc6cbe7bf183e93fcd3514ce338a1e5 Mon Sep 17 00:00:00 2001 From: SHIVAM RAWAT Date: Thu, 13 Feb 2025 15:48:58 +0530 Subject: [PATCH] allow only active templates in run test --- .../apps/dashboard/pages/observe/api_collections/RunTest.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/dashboard/web/polaris_web/web/src/apps/dashboard/pages/observe/api_collections/RunTest.jsx b/apps/dashboard/web/polaris_web/web/src/apps/dashboard/pages/observe/api_collections/RunTest.jsx index 7d1458dc06..f5847f31e0 100644 --- a/apps/dashboard/web/polaris_web/web/src/apps/dashboard/pages/observe/api_collections/RunTest.jsx +++ b/apps/dashboard/web/polaris_web/web/src/apps/dashboard/pages/observe/api_collections/RunTest.jsx @@ -125,7 +125,7 @@ function RunTest({ endpoints, filtered, apiCollectionId, disabled, runTestFromOu metaDataObj = await transform.getAllSubcategoriesData(true, "runTests") } let categories = metaDataObj.categories - let businessLogicSubcategories = metaDataObj.subCategories + let businessLogicSubcategories = metaDataObj.subCategories.filter((subCategory) => {return !subCategory.inactive}) const testRolesResponse = await testingApi.fetchTestRoles() var testRoles = testRolesResponse.testRoles.map(testRole => { return {