You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
tl.debug("No respone while fetching Test cases List for test suite id: "+testSuiteId+" and test plan id: "+testPlanInputId
101
+
+" and test configuration id: "+testPlanConfigInputId+" with continuation token: "+token);
102
+
break;
103
+
}
97
104
98
-
for(letkeyintestCasesResponse){
99
-
if(testCasesResponse.hasOwnProperty(key)){
100
-
testCasesData.push(testCasesResponse[key]);
101
-
}
105
+
token=testCasesResponse.continuationToken;
106
+
107
+
for(letkeyintestCasesResponse){
108
+
if(testCasesResponse.hasOwnProperty(key)){
109
+
testCasesData.push(testCasesResponse[key]);
102
110
}
111
+
}
103
112
104
113
}catch(error){
105
-
tl.error("Error fetching test cases list:"+error);
114
+
tl.debug("Error fetching test cases list:"+error);
106
115
token=undefined;
107
116
}
108
-
}while((token!==undefined)&&(token!==null));
117
+
}while(token);
109
118
110
119
if(testCasesData.length===0){
111
-
console.log(`No test cases for test suite ${testSuiteId}`);
120
+
console.log(`No test cases for test suite:${testSuiteId} and test plan: ${testPlanInputId}`);
112
121
continue;
113
122
}
114
123
@@ -171,12 +180,13 @@ export async function getTestPlanDataPoints(testPlanInputId: number, testSuitesI
171
180
}
172
181
}
173
182
});
183
+
tl.debug("Number of Automated Test point ids :"+testPlanData.listOfAutomatedTestPoints.length+" after fetching test cases for test suite id: "+testSuiteId);
184
+
tl.debug("Number of Manual Test point ids :"+testPlanData.listOfManualTestPoints.length+" after fetching test cases for test suite id: "+testSuiteId);
174
185
175
186
}
176
187
177
-
console.log("Number of Automated Test point ids :",testPlanData.listOfAutomatedTestPoints.length);
178
-
console.log("Number of Manual Test point ids :",testPlanData.listOfManualTestPoints.length);
179
-
188
+
console.log("Total number of Automated Test point ids :"+testPlanData.listOfAutomatedTestPoints.length);
189
+
console.log("Total number of Manual Test point ids :"+testPlanData.listOfManualTestPoints.length);
0 commit comments