azure-devops-extension-api 1.158.0 → 2.220.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Accounts/AccountsClient.d.ts +1 -1
- package/Accounts/AccountsClient.js +4 -4
- package/Accounts/AccountsClient.min.js +1 -1
- package/Build/Build.d.ts +205 -3
- package/Build/Build.js +6 -2
- package/Build/Build.min.js +1 -1
- package/Build/BuildClient.d.ts +121 -13
- package/Build/BuildClient.js +468 -101
- package/Build/BuildClient.min.js +1 -1
- package/Contributions/Contributions.d.ts +1 -1
- package/Contributions/ContributionsClient.js +4 -4
- package/Contributions/ContributionsClient.min.js +1 -1
- package/Core/CoreClient.d.ts +2 -2
- package/Core/CoreClient.js +49 -36
- package/Core/CoreClient.min.js +1 -1
- package/Dashboard/Dashboard.d.ts +79 -2
- package/Dashboard/Dashboard.js +10 -0
- package/Dashboard/Dashboard.min.js +1 -1
- package/Dashboard/DashboardClient.d.ts +2 -2
- package/Dashboard/DashboardClient.js +15 -15
- package/Dashboard/DashboardClient.min.js +1 -1
- package/ExtensionManagement/ExtensionManagement.d.ts +2 -2
- package/ExtensionManagement/ExtensionManagementClient.d.ts +2 -2
- package/ExtensionManagement/ExtensionManagementClient.js +27 -27
- package/ExtensionManagement/ExtensionManagementClient.min.js +1 -1
- package/Favorite/Favorite.d.ts +124 -0
- package/Favorite/Favorite.js +9 -0
- package/Favorite/Favorite.min.js +1 -0
- package/Favorite/FavoriteClient.d.ts +78 -0
- package/Favorite/FavoriteClient.js +314 -0
- package/Favorite/FavoriteClient.min.js +1 -0
- package/FeatureAvailability/FeatureAvailabilityClient.js +5 -5
- package/FeatureAvailability/FeatureAvailabilityClient.min.js +1 -1
- package/FeatureManagement/FeatureManagementClient.js +9 -9
- package/FeatureManagement/FeatureManagementClient.min.js +1 -1
- package/FileContainer/FileContainer.d.ts +22 -0
- package/FileContainer/FileContainer.js +8 -0
- package/FileContainer/FileContainer.min.js +1 -1
- package/FileContainer/FileContainerClient.d.ts +5 -2
- package/FileContainer/FileContainerClient.js +13 -7
- package/FileContainer/FileContainerClient.min.js +1 -1
- package/FormInput/FormInput.d.ts +1 -1
- package/Gallery/Gallery.d.ts +92 -7
- package/Gallery/Gallery.js +25 -3
- package/Gallery/Gallery.min.js +1 -1
- package/Gallery/GalleryClient.d.ts +41 -9
- package/Gallery/GalleryClient.js +211 -90
- package/Gallery/GalleryClient.min.js +1 -1
- package/Git/Git.d.ts +121 -7
- package/Git/Git.js +2 -1
- package/Git/Git.min.js +1 -1
- package/Git/GitClient.d.ts +182 -28
- package/Git/GitClient.js +657 -162
- package/Git/GitClient.min.js +1 -1
- package/Graph/Graph.d.ts +107 -17
- package/Graph/GraphClient.d.ts +42 -3
- package/Graph/GraphClient.js +159 -38
- package/Graph/GraphClient.min.js +1 -1
- package/Identities/Identities.d.ts +15 -0
- package/Locations/LocationsClient.js +9 -9
- package/Locations/LocationsClient.min.js +1 -1
- package/Notification/Notification.d.ts +3 -3
- package/Notification/NotificationClient.d.ts +6 -0
- package/Notification/NotificationClient.js +40 -23
- package/Notification/NotificationClient.min.js +1 -1
- package/Operations/OperationsClient.d.ts +1 -1
- package/Operations/OperationsClient.js +2 -2
- package/Operations/OperationsClient.min.js +1 -1
- package/Pipelines/Pipelines.d.ts +318 -0
- package/Pipelines/Pipelines.js +82 -0
- package/Pipelines/Pipelines.min.js +1 -0
- package/Pipelines/PipelinesClient.d.ts +92 -0
- package/Pipelines/PipelinesClient.js +325 -0
- package/Pipelines/PipelinesClient.min.js +1 -0
- package/Policy/Policy.d.ts +4 -0
- package/Policy/PolicyClient.d.ts +3 -3
- package/Policy/PolicyClient.js +30 -19
- package/Policy/PolicyClient.min.js +1 -1
- package/Profile/ProfileClient.js +12 -12
- package/Profile/ProfileClient.min.js +1 -1
- package/ProjectAnalysis/ProjectAnalysisClient.js +4 -4
- package/ProjectAnalysis/ProjectAnalysisClient.min.js +1 -1
- package/Release/Release.d.ts +81 -7
- package/Release/Release.js +11 -0
- package/Release/Release.min.js +1 -1
- package/Release/ReleaseClient.d.ts +31 -5
- package/Release/ReleaseClient.js +223 -95
- package/Release/ReleaseClient.min.js +1 -1
- package/ServiceEndpoint/ServiceEndpoint.d.ts +11 -2
- package/ServiceEndpoint/ServiceEndpoint.js +1 -0
- package/ServiceEndpoint/ServiceEndpoint.min.js +1 -1
- package/ServiceEndpoint/ServiceEndpointClient.d.ts +33 -31
- package/ServiceEndpoint/ServiceEndpointClient.js +122 -107
- package/ServiceEndpoint/ServiceEndpointClient.min.js +1 -1
- package/ServiceHooks/ServiceHooks.d.ts +2 -1
- package/ServiceHooks/ServiceHooksClient.js +23 -23
- package/ServiceHooks/ServiceHooksClient.min.js +1 -1
- package/TaskAgent/TaskAgent.d.ts +740 -17
- package/TaskAgent/TaskAgent.js +133 -0
- package/TaskAgent/TaskAgent.min.js +1 -1
- package/TaskAgent/TaskAgentClient.d.ts +28 -16
- package/TaskAgent/TaskAgentClient.js +336 -195
- package/TaskAgent/TaskAgentClient.min.js +1 -1
- package/Test/Test.d.ts +96 -25
- package/Test/Test.js +8 -0
- package/Test/Test.min.js +1 -1
- package/Test/TestClient.d.ts +17 -34
- package/Test/TestClient.js +163 -152
- package/Test/TestClient.min.js +1 -1
- package/TestPlan/TestPlan.d.ts +215 -18
- package/TestPlan/TestPlan.js +47 -1
- package/TestPlan/TestPlan.min.js +1 -1
- package/TestPlan/TestPlanClient.d.ts +48 -14
- package/TestPlan/TestPlanClient.js +255 -74
- package/TestPlan/TestPlanClient.min.js +1 -1
- package/TestResults/TestResultsClient.d.ts +112 -27
- package/TestResults/TestResultsClient.js +518 -134
- package/TestResults/TestResultsClient.min.js +1 -1
- package/Tfvc/Tfvc.d.ts +9 -1
- package/Tfvc/TfvcClient.d.ts +3 -2
- package/Tfvc/TfvcClient.js +41 -28
- package/Tfvc/TfvcClient.min.js +1 -1
- package/WebApi/WebApi.d.ts +22 -3
- package/Wiki/Wiki.d.ts +51 -0
- package/Wiki/WikiClient.d.ts +18 -0
- package/Wiki/WikiClient.js +71 -1
- package/Wiki/WikiClient.min.js +1 -1
- package/Work/Work.d.ts +68 -1
- package/Work/WorkClient.d.ts +10 -3
- package/Work/WorkClient.js +78 -58
- package/Work/WorkClient.min.js +1 -1
- package/WorkItemTracking/WorkItemTracking.d.ts +221 -1
- package/WorkItemTracking/WorkItemTrackingClient.d.ts +18 -2
- package/WorkItemTracking/WorkItemTrackingClient.js +107 -60
- package/WorkItemTracking/WorkItemTrackingClient.min.js +1 -1
- package/WorkItemTrackingProcess/WorkItemTrackingProcess.d.ts +15 -2
- package/WorkItemTrackingProcess/WorkItemTrackingProcess.js +4 -0
- package/WorkItemTrackingProcess/WorkItemTrackingProcess.min.js +1 -1
- package/WorkItemTrackingProcess/WorkItemTrackingProcessClient.d.ts +1 -1
- package/WorkItemTrackingProcess/WorkItemTrackingProcessClient.js +58 -58
- package/WorkItemTrackingProcess/WorkItemTrackingProcessClient.min.js +1 -1
- package/WorkItemTrackingProcessDefinitions/WorkItemTrackingProcessDefinitions.d.ts +3 -1
- package/WorkItemTrackingProcessDefinitions/WorkItemTrackingProcessDefinitionsClient.d.ts +9 -1
- package/WorkItemTrackingProcessDefinitions/WorkItemTrackingProcessDefinitionsClient.js +69 -46
- package/WorkItemTrackingProcessDefinitions/WorkItemTrackingProcessDefinitionsClient.min.js +1 -1
- package/package.json +3 -3
package/Test/TestClient.js
CHANGED
|
@@ -48,7 +48,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
48
48
|
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
49
49
|
}
|
|
50
50
|
};
|
|
51
|
-
define(["require", "exports", "../Common/RestClientBase"], function (require, exports, RestClientBase_1) {
|
|
51
|
+
define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serialization"], function (require, exports, RestClientBase_1, Serialization_1) {
|
|
52
52
|
"use strict";
|
|
53
53
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
54
54
|
var TestRestClient = /** @class */ (function (_super) {
|
|
@@ -56,32 +56,6 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
56
56
|
function TestRestClient(options) {
|
|
57
57
|
return _super.call(this, options) || this;
|
|
58
58
|
}
|
|
59
|
-
/**
|
|
60
|
-
* Gets the action results for an iteration in a test result.
|
|
61
|
-
*
|
|
62
|
-
* @param project - Project ID or project name
|
|
63
|
-
* @param runId - ID of the test run that contains the result.
|
|
64
|
-
* @param testCaseResultId - ID of the test result that contains the iterations.
|
|
65
|
-
* @param iterationId - ID of the iteration that contains the actions.
|
|
66
|
-
* @param actionPath - Path of a specific action, used to get just that action.
|
|
67
|
-
*/
|
|
68
|
-
TestRestClient.prototype.getActionResults = function (project, runId, testCaseResultId, iterationId, actionPath) {
|
|
69
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
70
|
-
return __generator(this, function (_a) {
|
|
71
|
-
return [2 /*return*/, this.beginRequest({
|
|
72
|
-
apiVersion: "5.2-preview.3",
|
|
73
|
-
routeTemplate: "{project}/_apis/test/Runs/{runId}/Results/{testCaseResultId}/Iterations/{iterationId}/ActionResults/{actionPath}",
|
|
74
|
-
routeValues: {
|
|
75
|
-
project: project,
|
|
76
|
-
runId: runId,
|
|
77
|
-
testCaseResultId: testCaseResultId,
|
|
78
|
-
iterationId: iterationId,
|
|
79
|
-
actionPath: actionPath
|
|
80
|
-
}
|
|
81
|
-
})];
|
|
82
|
-
});
|
|
83
|
-
});
|
|
84
|
-
};
|
|
85
59
|
/**
|
|
86
60
|
* Attach a file to test step result
|
|
87
61
|
*
|
|
@@ -101,7 +75,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
101
75
|
actionPath: actionPath
|
|
102
76
|
};
|
|
103
77
|
return [2 /*return*/, this.beginRequest({
|
|
104
|
-
apiVersion: "
|
|
78
|
+
apiVersion: "7.1-preview.1",
|
|
105
79
|
method: "POST",
|
|
106
80
|
routeTemplate: "{project}/_apis/test/Runs/{runId}/Results/{testCaseResultId}/Attachments/{attachmentId}",
|
|
107
81
|
routeValues: {
|
|
@@ -127,7 +101,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
127
101
|
return __awaiter(this, void 0, void 0, function () {
|
|
128
102
|
return __generator(this, function (_a) {
|
|
129
103
|
return [2 /*return*/, this.beginRequest({
|
|
130
|
-
apiVersion: "
|
|
104
|
+
apiVersion: "7.1-preview.1",
|
|
131
105
|
method: "POST",
|
|
132
106
|
routeTemplate: "{project}/_apis/test/Runs/{runId}/Results/{testCaseResultId}/Attachments/{attachmentId}",
|
|
133
107
|
routeValues: {
|
|
@@ -157,7 +131,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
157
131
|
testSubResultId: testSubResultId
|
|
158
132
|
};
|
|
159
133
|
return [2 /*return*/, this.beginRequest({
|
|
160
|
-
apiVersion: "
|
|
134
|
+
apiVersion: "7.1-preview.1",
|
|
161
135
|
method: "POST",
|
|
162
136
|
routeTemplate: "{project}/_apis/test/Runs/{runId}/Results/{testCaseResultId}/Attachments/{attachmentId}",
|
|
163
137
|
routeValues: {
|
|
@@ -183,7 +157,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
183
157
|
return __awaiter(this, void 0, void 0, function () {
|
|
184
158
|
return __generator(this, function (_a) {
|
|
185
159
|
return [2 /*return*/, this.beginRequest({
|
|
186
|
-
apiVersion: "
|
|
160
|
+
apiVersion: "7.1-preview.1",
|
|
187
161
|
httpResponseType: "application/octet-stream",
|
|
188
162
|
routeTemplate: "{project}/_apis/test/Runs/{runId}/Results/{testCaseResultId}/Attachments/{attachmentId}",
|
|
189
163
|
routeValues: {
|
|
@@ -207,7 +181,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
207
181
|
return __awaiter(this, void 0, void 0, function () {
|
|
208
182
|
return __generator(this, function (_a) {
|
|
209
183
|
return [2 /*return*/, this.beginRequest({
|
|
210
|
-
apiVersion: "
|
|
184
|
+
apiVersion: "7.1-preview.1",
|
|
211
185
|
routeTemplate: "{project}/_apis/test/Runs/{runId}/Results/{testCaseResultId}/Attachments/{attachmentId}",
|
|
212
186
|
routeValues: {
|
|
213
187
|
project: project,
|
|
@@ -230,7 +204,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
230
204
|
return __awaiter(this, void 0, void 0, function () {
|
|
231
205
|
return __generator(this, function (_a) {
|
|
232
206
|
return [2 /*return*/, this.beginRequest({
|
|
233
|
-
apiVersion: "
|
|
207
|
+
apiVersion: "7.1-preview.1",
|
|
234
208
|
httpResponseType: "application/zip",
|
|
235
209
|
routeTemplate: "{project}/_apis/test/Runs/{runId}/Results/{testCaseResultId}/Attachments/{attachmentId}",
|
|
236
210
|
routeValues: {
|
|
@@ -260,7 +234,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
260
234
|
testSubResultId: testSubResultId
|
|
261
235
|
};
|
|
262
236
|
return [2 /*return*/, this.beginRequest({
|
|
263
|
-
apiVersion: "
|
|
237
|
+
apiVersion: "7.1-preview.1",
|
|
264
238
|
httpResponseType: "application/octet-stream",
|
|
265
239
|
routeTemplate: "{project}/_apis/test/Runs/{runId}/Results/{testCaseResultId}/Attachments/{attachmentId}",
|
|
266
240
|
routeValues: {
|
|
@@ -290,7 +264,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
290
264
|
testSubResultId: testSubResultId
|
|
291
265
|
};
|
|
292
266
|
return [2 /*return*/, this.beginRequest({
|
|
293
|
-
apiVersion: "
|
|
267
|
+
apiVersion: "7.1-preview.1",
|
|
294
268
|
routeTemplate: "{project}/_apis/test/Runs/{runId}/Results/{testCaseResultId}/Attachments/{attachmentId}",
|
|
295
269
|
routeValues: {
|
|
296
270
|
project: project,
|
|
@@ -319,7 +293,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
319
293
|
testSubResultId: testSubResultId
|
|
320
294
|
};
|
|
321
295
|
return [2 /*return*/, this.beginRequest({
|
|
322
|
-
apiVersion: "
|
|
296
|
+
apiVersion: "7.1-preview.1",
|
|
323
297
|
httpResponseType: "application/zip",
|
|
324
298
|
routeTemplate: "{project}/_apis/test/Runs/{runId}/Results/{testCaseResultId}/Attachments/{attachmentId}",
|
|
325
299
|
routeValues: {
|
|
@@ -344,7 +318,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
344
318
|
return __awaiter(this, void 0, void 0, function () {
|
|
345
319
|
return __generator(this, function (_a) {
|
|
346
320
|
return [2 /*return*/, this.beginRequest({
|
|
347
|
-
apiVersion: "
|
|
321
|
+
apiVersion: "7.1-preview.1",
|
|
348
322
|
method: "POST",
|
|
349
323
|
routeTemplate: "{project}/_apis/test/Runs/{runId}/Attachments/{attachmentId}",
|
|
350
324
|
routeValues: {
|
|
@@ -367,7 +341,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
367
341
|
return __awaiter(this, void 0, void 0, function () {
|
|
368
342
|
return __generator(this, function (_a) {
|
|
369
343
|
return [2 /*return*/, this.beginRequest({
|
|
370
|
-
apiVersion: "
|
|
344
|
+
apiVersion: "7.1-preview.1",
|
|
371
345
|
httpResponseType: "application/octet-stream",
|
|
372
346
|
routeTemplate: "{project}/_apis/test/Runs/{runId}/Attachments/{attachmentId}",
|
|
373
347
|
routeValues: {
|
|
@@ -389,7 +363,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
389
363
|
return __awaiter(this, void 0, void 0, function () {
|
|
390
364
|
return __generator(this, function (_a) {
|
|
391
365
|
return [2 /*return*/, this.beginRequest({
|
|
392
|
-
apiVersion: "
|
|
366
|
+
apiVersion: "7.1-preview.1",
|
|
393
367
|
routeTemplate: "{project}/_apis/test/Runs/{runId}/Attachments/{attachmentId}",
|
|
394
368
|
routeValues: {
|
|
395
369
|
project: project,
|
|
@@ -410,7 +384,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
410
384
|
return __awaiter(this, void 0, void 0, function () {
|
|
411
385
|
return __generator(this, function (_a) {
|
|
412
386
|
return [2 /*return*/, this.beginRequest({
|
|
413
|
-
apiVersion: "
|
|
387
|
+
apiVersion: "7.1-preview.1",
|
|
414
388
|
httpResponseType: "application/zip",
|
|
415
389
|
routeTemplate: "{project}/_apis/test/Runs/{runId}/Attachments/{attachmentId}",
|
|
416
390
|
routeValues: {
|
|
@@ -431,7 +405,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
431
405
|
return __awaiter(this, void 0, void 0, function () {
|
|
432
406
|
return __generator(this, function (_a) {
|
|
433
407
|
return [2 /*return*/, this.beginRequest({
|
|
434
|
-
apiVersion: "
|
|
408
|
+
apiVersion: "7.1-preview.1",
|
|
435
409
|
routeTemplate: "{project}/_apis/test/Runs/{runId}/Results/{testCaseResultId}/Bugs",
|
|
436
410
|
routeValues: {
|
|
437
411
|
project: project,
|
|
@@ -458,7 +432,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
458
432
|
flags: flags
|
|
459
433
|
};
|
|
460
434
|
return [2 /*return*/, this.beginRequest({
|
|
461
|
-
apiVersion: "
|
|
435
|
+
apiVersion: "7.1-preview.1",
|
|
462
436
|
routeTemplate: "{project}/_apis/test/CodeCoverage",
|
|
463
437
|
routeValues: {
|
|
464
438
|
project: project
|
|
@@ -484,7 +458,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
484
458
|
deltaBuildId: deltaBuildId
|
|
485
459
|
};
|
|
486
460
|
return [2 /*return*/, this.beginRequest({
|
|
487
|
-
apiVersion: "
|
|
461
|
+
apiVersion: "7.1-preview.1",
|
|
488
462
|
routeTemplate: "{project}/_apis/test/CodeCoverage",
|
|
489
463
|
routeValues: {
|
|
490
464
|
project: project
|
|
@@ -509,7 +483,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
509
483
|
buildId: buildId
|
|
510
484
|
};
|
|
511
485
|
return [2 /*return*/, this.beginRequest({
|
|
512
|
-
apiVersion: "
|
|
486
|
+
apiVersion: "7.1-preview.1",
|
|
513
487
|
method: "POST",
|
|
514
488
|
routeTemplate: "{project}/_apis/test/CodeCoverage",
|
|
515
489
|
routeValues: {
|
|
@@ -536,7 +510,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
536
510
|
flags: flags
|
|
537
511
|
};
|
|
538
512
|
return [2 /*return*/, this.beginRequest({
|
|
539
|
-
apiVersion: "
|
|
513
|
+
apiVersion: "7.1-preview.1",
|
|
540
514
|
routeTemplate: "{project}/_apis/test/Runs/{runId}/CodeCoverage",
|
|
541
515
|
routeValues: {
|
|
542
516
|
project: project,
|
|
@@ -555,7 +529,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
555
529
|
return __awaiter(this, void 0, void 0, function () {
|
|
556
530
|
return __generator(this, function (_a) {
|
|
557
531
|
return [2 /*return*/, this.beginRequest({
|
|
558
|
-
apiVersion: "
|
|
532
|
+
apiVersion: "7.1-preview.1",
|
|
559
533
|
method: "POST",
|
|
560
534
|
routeTemplate: "{project}/_apis/test/ExtensionFields",
|
|
561
535
|
routeValues: {
|
|
@@ -578,7 +552,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
578
552
|
scopeFilter: scopeFilter
|
|
579
553
|
};
|
|
580
554
|
return [2 /*return*/, this.beginRequest({
|
|
581
|
-
apiVersion: "
|
|
555
|
+
apiVersion: "7.1-preview.1",
|
|
582
556
|
routeTemplate: "{project}/_apis/test/ExtensionFields",
|
|
583
557
|
routeValues: {
|
|
584
558
|
project: project
|
|
@@ -596,7 +570,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
596
570
|
return __awaiter(this, void 0, void 0, function () {
|
|
597
571
|
return __generator(this, function (_a) {
|
|
598
572
|
return [2 /*return*/, this.beginRequest({
|
|
599
|
-
apiVersion: "
|
|
573
|
+
apiVersion: "7.1-preview.1",
|
|
600
574
|
method: "POST",
|
|
601
575
|
routeTemplate: "{project}/_apis/test/Results/History",
|
|
602
576
|
routeValues: {
|
|
@@ -624,7 +598,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
624
598
|
includeActionResults: includeActionResults
|
|
625
599
|
};
|
|
626
600
|
return [2 /*return*/, this.beginRequest({
|
|
627
|
-
apiVersion: "
|
|
601
|
+
apiVersion: "7.1-preview.3",
|
|
628
602
|
routeTemplate: "{project}/_apis/test/Runs/{runId}/Results/{testCaseResultId}/Iterations/{iterationId}",
|
|
629
603
|
routeValues: {
|
|
630
604
|
project: project,
|
|
@@ -653,7 +627,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
653
627
|
includeActionResults: includeActionResults
|
|
654
628
|
};
|
|
655
629
|
return [2 /*return*/, this.beginRequest({
|
|
656
|
-
apiVersion: "
|
|
630
|
+
apiVersion: "7.1-preview.3",
|
|
657
631
|
routeTemplate: "{project}/_apis/test/Runs/{runId}/Results/{testCaseResultId}/Iterations/{iterationId}",
|
|
658
632
|
routeValues: {
|
|
659
633
|
project: project,
|
|
@@ -673,7 +647,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
673
647
|
return __awaiter(this, void 0, void 0, function () {
|
|
674
648
|
return __generator(this, function (_a) {
|
|
675
649
|
return [2 /*return*/, this.beginRequest({
|
|
676
|
-
apiVersion: "
|
|
650
|
+
apiVersion: "7.1-preview.1",
|
|
677
651
|
method: "POST",
|
|
678
652
|
routeTemplate: "{project}/_apis/test/LinkedWorkItemsQuery",
|
|
679
653
|
routeValues: {
|
|
@@ -694,7 +668,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
694
668
|
return __awaiter(this, void 0, void 0, function () {
|
|
695
669
|
return __generator(this, function (_a) {
|
|
696
670
|
return [2 /*return*/, this.beginRequest({
|
|
697
|
-
apiVersion: "
|
|
671
|
+
apiVersion: "7.1-preview.1",
|
|
698
672
|
routeTemplate: "{project}/_apis/test/Runs/{runId}/MessageLogs",
|
|
699
673
|
routeValues: {
|
|
700
674
|
project: project,
|
|
@@ -704,36 +678,6 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
704
678
|
});
|
|
705
679
|
});
|
|
706
680
|
};
|
|
707
|
-
/**
|
|
708
|
-
* Get a list of parameterized results
|
|
709
|
-
*
|
|
710
|
-
* @param project - Project ID or project name
|
|
711
|
-
* @param runId - ID of the test run that contains the result.
|
|
712
|
-
* @param testCaseResultId - ID of the test result that contains the iterations.
|
|
713
|
-
* @param iterationId - ID of the iteration that contains the parameterized results.
|
|
714
|
-
* @param paramName - Name of the parameter.
|
|
715
|
-
*/
|
|
716
|
-
TestRestClient.prototype.getResultParameters = function (project, runId, testCaseResultId, iterationId, paramName) {
|
|
717
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
718
|
-
var queryValues;
|
|
719
|
-
return __generator(this, function (_a) {
|
|
720
|
-
queryValues = {
|
|
721
|
-
paramName: paramName
|
|
722
|
-
};
|
|
723
|
-
return [2 /*return*/, this.beginRequest({
|
|
724
|
-
apiVersion: "5.2-preview.3",
|
|
725
|
-
routeTemplate: "{project}/_apis/test/Runs/{runId}/Results/{testCaseResultId}/Iterations/{iterationId}/ParameterResults",
|
|
726
|
-
routeValues: {
|
|
727
|
-
project: project,
|
|
728
|
-
runId: runId,
|
|
729
|
-
testCaseResultId: testCaseResultId,
|
|
730
|
-
iterationId: iterationId
|
|
731
|
-
},
|
|
732
|
-
queryParams: queryValues
|
|
733
|
-
})];
|
|
734
|
-
});
|
|
735
|
-
});
|
|
736
|
-
};
|
|
737
681
|
/**
|
|
738
682
|
* Get a test point.
|
|
739
683
|
*
|
|
@@ -751,7 +695,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
751
695
|
witFields: witFields
|
|
752
696
|
};
|
|
753
697
|
return [2 /*return*/, this.beginRequest({
|
|
754
|
-
apiVersion: "
|
|
698
|
+
apiVersion: "7.1-preview.2",
|
|
755
699
|
routeTemplate: "{project}/_apis/test/Plans/{planId}/Suites/{suiteId}/Points/{pointIds}",
|
|
756
700
|
routeValues: {
|
|
757
701
|
project: project,
|
|
@@ -792,7 +736,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
792
736
|
'$top': top
|
|
793
737
|
};
|
|
794
738
|
return [2 /*return*/, this.beginRequest({
|
|
795
|
-
apiVersion: "
|
|
739
|
+
apiVersion: "7.1-preview.2",
|
|
796
740
|
routeTemplate: "{project}/_apis/test/Plans/{planId}/Suites/{suiteId}/Points/{pointIds}",
|
|
797
741
|
routeValues: {
|
|
798
742
|
project: project,
|
|
@@ -817,7 +761,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
817
761
|
return __awaiter(this, void 0, void 0, function () {
|
|
818
762
|
return __generator(this, function (_a) {
|
|
819
763
|
return [2 /*return*/, this.beginRequest({
|
|
820
|
-
apiVersion: "
|
|
764
|
+
apiVersion: "7.1-preview.2",
|
|
821
765
|
method: "PATCH",
|
|
822
766
|
routeTemplate: "{project}/_apis/test/Plans/{planId}/Suites/{suiteId}/Points/{pointIds}",
|
|
823
767
|
routeValues: {
|
|
@@ -848,7 +792,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
848
792
|
'$top': top
|
|
849
793
|
};
|
|
850
794
|
return [2 /*return*/, this.beginRequest({
|
|
851
|
-
apiVersion: "
|
|
795
|
+
apiVersion: "7.1-preview.2",
|
|
852
796
|
method: "POST",
|
|
853
797
|
routeTemplate: "{project}/_apis/test/Points",
|
|
854
798
|
routeValues: {
|
|
@@ -884,7 +828,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
884
828
|
queryRunSummaryForInProgress: queryRunSummaryForInProgress
|
|
885
829
|
};
|
|
886
830
|
return [2 /*return*/, this.beginRequest({
|
|
887
|
-
apiVersion: "
|
|
831
|
+
apiVersion: "7.1-preview.2",
|
|
888
832
|
routeTemplate: "{project}/_apis/test/ResultDetailsByBuild",
|
|
889
833
|
routeValues: {
|
|
890
834
|
project: project
|
|
@@ -920,7 +864,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
920
864
|
queryRunSummaryForInProgress: queryRunSummaryForInProgress
|
|
921
865
|
};
|
|
922
866
|
return [2 /*return*/, this.beginRequest({
|
|
923
|
-
apiVersion: "
|
|
867
|
+
apiVersion: "7.1-preview.2",
|
|
924
868
|
routeTemplate: "{project}/_apis/test/ResultDetailsByRelease",
|
|
925
869
|
routeValues: {
|
|
926
870
|
project: project
|
|
@@ -939,7 +883,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
939
883
|
return __awaiter(this, void 0, void 0, function () {
|
|
940
884
|
return __generator(this, function (_a) {
|
|
941
885
|
return [2 /*return*/, this.beginRequest({
|
|
942
|
-
apiVersion: "
|
|
886
|
+
apiVersion: "7.1-preview.1",
|
|
943
887
|
method: "POST",
|
|
944
888
|
routeTemplate: "{project}/_apis/test/Runs/{runId}/ResultDocument",
|
|
945
889
|
routeValues: {
|
|
@@ -961,6 +905,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
961
905
|
TestRestClient.prototype.getResultGroupsByBuild = function (project, buildId, publishContext, fields, continuationToken) {
|
|
962
906
|
return __awaiter(this, void 0, void 0, function () {
|
|
963
907
|
var queryValues;
|
|
908
|
+
var _this = this;
|
|
964
909
|
return __generator(this, function (_a) {
|
|
965
910
|
queryValues = {
|
|
966
911
|
buildId: buildId,
|
|
@@ -969,13 +914,25 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
969
914
|
continuationToken: continuationToken
|
|
970
915
|
};
|
|
971
916
|
return [2 /*return*/, this.beginRequest({
|
|
972
|
-
apiVersion: "
|
|
917
|
+
apiVersion: "7.1-preview.2",
|
|
973
918
|
routeTemplate: "{project}/_apis/test/ResultGroupsByBuild",
|
|
974
919
|
routeValues: {
|
|
975
920
|
project: project
|
|
976
921
|
},
|
|
977
|
-
queryParams: queryValues
|
|
978
|
-
|
|
922
|
+
queryParams: queryValues,
|
|
923
|
+
returnRawResponse: true
|
|
924
|
+
}).then(function (response) { return __awaiter(_this, void 0, void 0, function () {
|
|
925
|
+
var body;
|
|
926
|
+
return __generator(this, function (_a) {
|
|
927
|
+
switch (_a.label) {
|
|
928
|
+
case 0: return [4 /*yield*/, response.text().then(Serialization_1.deserializeVssJsonObject)];
|
|
929
|
+
case 1:
|
|
930
|
+
body = _a.sent();
|
|
931
|
+
body.continuationToken = response.headers.get("x-ms-continuationtoken");
|
|
932
|
+
return [2 /*return*/, body];
|
|
933
|
+
}
|
|
934
|
+
});
|
|
935
|
+
}); })];
|
|
979
936
|
});
|
|
980
937
|
});
|
|
981
938
|
};
|
|
@@ -990,6 +947,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
990
947
|
TestRestClient.prototype.getResultGroupsByRelease = function (project, releaseId, publishContext, releaseEnvId, fields, continuationToken) {
|
|
991
948
|
return __awaiter(this, void 0, void 0, function () {
|
|
992
949
|
var queryValues;
|
|
950
|
+
var _this = this;
|
|
993
951
|
return __generator(this, function (_a) {
|
|
994
952
|
queryValues = {
|
|
995
953
|
releaseId: releaseId,
|
|
@@ -999,27 +957,39 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
999
957
|
continuationToken: continuationToken
|
|
1000
958
|
};
|
|
1001
959
|
return [2 /*return*/, this.beginRequest({
|
|
1002
|
-
apiVersion: "
|
|
960
|
+
apiVersion: "7.1-preview.2",
|
|
1003
961
|
routeTemplate: "{project}/_apis/test/ResultGroupsByRelease",
|
|
1004
962
|
routeValues: {
|
|
1005
963
|
project: project
|
|
1006
964
|
},
|
|
1007
|
-
queryParams: queryValues
|
|
1008
|
-
|
|
965
|
+
queryParams: queryValues,
|
|
966
|
+
returnRawResponse: true
|
|
967
|
+
}).then(function (response) { return __awaiter(_this, void 0, void 0, function () {
|
|
968
|
+
var body;
|
|
969
|
+
return __generator(this, function (_a) {
|
|
970
|
+
switch (_a.label) {
|
|
971
|
+
case 0: return [4 /*yield*/, response.text().then(Serialization_1.deserializeVssJsonObject)];
|
|
972
|
+
case 1:
|
|
973
|
+
body = _a.sent();
|
|
974
|
+
body.continuationToken = response.headers.get("x-ms-continuationtoken");
|
|
975
|
+
return [2 /*return*/, body];
|
|
976
|
+
}
|
|
977
|
+
});
|
|
978
|
+
}); })];
|
|
1009
979
|
});
|
|
1010
980
|
});
|
|
1011
981
|
};
|
|
1012
982
|
/**
|
|
1013
983
|
* Get list of test Result meta data details for corresponding testcasereferenceId
|
|
1014
984
|
*
|
|
1015
|
-
* @param testReferenceIds - TestCaseReference Ids of the test Result to be queried, comma
|
|
985
|
+
* @param testReferenceIds - TestCaseReference Ids of the test Result to be queried, comma separated list of valid ids (limit no. of ids 200).
|
|
1016
986
|
* @param project - Project ID or project name
|
|
1017
987
|
*/
|
|
1018
988
|
TestRestClient.prototype.queryTestResultsMetaData = function (testReferenceIds, project) {
|
|
1019
989
|
return __awaiter(this, void 0, void 0, function () {
|
|
1020
990
|
return __generator(this, function (_a) {
|
|
1021
991
|
return [2 /*return*/, this.beginRequest({
|
|
1022
|
-
apiVersion: "
|
|
992
|
+
apiVersion: "7.1-preview.2",
|
|
1023
993
|
method: "POST",
|
|
1024
994
|
routeTemplate: "{project}/_apis/test/Results/ResultMetaData",
|
|
1025
995
|
routeValues: {
|
|
@@ -1039,7 +1009,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
1039
1009
|
return __awaiter(this, void 0, void 0, function () {
|
|
1040
1010
|
return __generator(this, function (_a) {
|
|
1041
1011
|
return [2 /*return*/, this.beginRequest({
|
|
1042
|
-
apiVersion: "
|
|
1012
|
+
apiVersion: "7.1-preview.1",
|
|
1043
1013
|
routeTemplate: "{project}/_apis/test/ResultRetentionSettings",
|
|
1044
1014
|
routeValues: {
|
|
1045
1015
|
project: project
|
|
@@ -1058,7 +1028,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
1058
1028
|
return __awaiter(this, void 0, void 0, function () {
|
|
1059
1029
|
return __generator(this, function (_a) {
|
|
1060
1030
|
return [2 /*return*/, this.beginRequest({
|
|
1061
|
-
apiVersion: "
|
|
1031
|
+
apiVersion: "7.1-preview.1",
|
|
1062
1032
|
method: "PATCH",
|
|
1063
1033
|
routeTemplate: "{project}/_apis/test/ResultRetentionSettings",
|
|
1064
1034
|
routeValues: {
|
|
@@ -1080,7 +1050,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
1080
1050
|
return __awaiter(this, void 0, void 0, function () {
|
|
1081
1051
|
return __generator(this, function (_a) {
|
|
1082
1052
|
return [2 /*return*/, this.beginRequest({
|
|
1083
|
-
apiVersion: "
|
|
1053
|
+
apiVersion: "7.1-preview.6",
|
|
1084
1054
|
method: "POST",
|
|
1085
1055
|
routeTemplate: "{project}/_apis/test/Runs/{runId}/Results/{testCaseResultId}",
|
|
1086
1056
|
routeValues: {
|
|
@@ -1108,7 +1078,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
1108
1078
|
detailsToInclude: detailsToInclude
|
|
1109
1079
|
};
|
|
1110
1080
|
return [2 /*return*/, this.beginRequest({
|
|
1111
|
-
apiVersion: "
|
|
1081
|
+
apiVersion: "7.1-preview.6",
|
|
1112
1082
|
routeTemplate: "{project}/_apis/test/Runs/{runId}/Results/{testCaseResultId}",
|
|
1113
1083
|
routeValues: {
|
|
1114
1084
|
project: project,
|
|
@@ -1141,7 +1111,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
1141
1111
|
outcomes: outcomes && outcomes.join(",")
|
|
1142
1112
|
};
|
|
1143
1113
|
return [2 /*return*/, this.beginRequest({
|
|
1144
|
-
apiVersion: "
|
|
1114
|
+
apiVersion: "7.1-preview.6",
|
|
1145
1115
|
routeTemplate: "{project}/_apis/test/Runs/{runId}/Results/{testCaseResultId}",
|
|
1146
1116
|
routeValues: {
|
|
1147
1117
|
project: project,
|
|
@@ -1163,7 +1133,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
1163
1133
|
return __awaiter(this, void 0, void 0, function () {
|
|
1164
1134
|
return __generator(this, function (_a) {
|
|
1165
1135
|
return [2 /*return*/, this.beginRequest({
|
|
1166
|
-
apiVersion: "
|
|
1136
|
+
apiVersion: "7.1-preview.6",
|
|
1167
1137
|
method: "PATCH",
|
|
1168
1138
|
routeTemplate: "{project}/_apis/test/Runs/{runId}/Results/{testCaseResultId}",
|
|
1169
1139
|
routeValues: {
|
|
@@ -1176,6 +1146,8 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
1176
1146
|
});
|
|
1177
1147
|
};
|
|
1178
1148
|
/**
|
|
1149
|
+
* This API will return results by Ids with fields specified/trend for particular automated test method. We are still improving this API and have not finalized proper signature and contract.
|
|
1150
|
+
*
|
|
1179
1151
|
* @param query -
|
|
1180
1152
|
* @param project - Project ID or project name
|
|
1181
1153
|
*/
|
|
@@ -1183,7 +1155,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
1183
1155
|
return __awaiter(this, void 0, void 0, function () {
|
|
1184
1156
|
return __generator(this, function (_a) {
|
|
1185
1157
|
return [2 /*return*/, this.beginRequest({
|
|
1186
|
-
apiVersion: "
|
|
1158
|
+
apiVersion: "7.1-preview.6",
|
|
1187
1159
|
method: "POST",
|
|
1188
1160
|
routeTemplate: "{project}/_apis/test/Results",
|
|
1189
1161
|
routeValues: {
|
|
@@ -1205,6 +1177,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
1205
1177
|
TestRestClient.prototype.getTestResultsByBuild = function (project, buildId, publishContext, outcomes, top, continuationToken) {
|
|
1206
1178
|
return __awaiter(this, void 0, void 0, function () {
|
|
1207
1179
|
var queryValues;
|
|
1180
|
+
var _this = this;
|
|
1208
1181
|
return __generator(this, function (_a) {
|
|
1209
1182
|
queryValues = {
|
|
1210
1183
|
buildId: buildId,
|
|
@@ -1214,13 +1187,25 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
1214
1187
|
continuationToken: continuationToken
|
|
1215
1188
|
};
|
|
1216
1189
|
return [2 /*return*/, this.beginRequest({
|
|
1217
|
-
apiVersion: "
|
|
1190
|
+
apiVersion: "7.1-preview.1",
|
|
1218
1191
|
routeTemplate: "{project}/_apis/test/ResultsByBuild",
|
|
1219
1192
|
routeValues: {
|
|
1220
1193
|
project: project
|
|
1221
1194
|
},
|
|
1222
|
-
queryParams: queryValues
|
|
1223
|
-
|
|
1195
|
+
queryParams: queryValues,
|
|
1196
|
+
returnRawResponse: true
|
|
1197
|
+
}).then(function (response) { return __awaiter(_this, void 0, void 0, function () {
|
|
1198
|
+
var body;
|
|
1199
|
+
return __generator(this, function (_a) {
|
|
1200
|
+
switch (_a.label) {
|
|
1201
|
+
case 0: return [4 /*yield*/, response.text().then(Serialization_1.deserializeVssJsonObject)];
|
|
1202
|
+
case 1:
|
|
1203
|
+
body = _a.sent();
|
|
1204
|
+
body.continuationToken = response.headers.get("x-ms-continuationtoken");
|
|
1205
|
+
return [2 /*return*/, body];
|
|
1206
|
+
}
|
|
1207
|
+
});
|
|
1208
|
+
}); })];
|
|
1224
1209
|
});
|
|
1225
1210
|
});
|
|
1226
1211
|
};
|
|
@@ -1236,6 +1221,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
1236
1221
|
TestRestClient.prototype.getTestResultsByRelease = function (project, releaseId, releaseEnvid, publishContext, outcomes, top, continuationToken) {
|
|
1237
1222
|
return __awaiter(this, void 0, void 0, function () {
|
|
1238
1223
|
var queryValues;
|
|
1224
|
+
var _this = this;
|
|
1239
1225
|
return __generator(this, function (_a) {
|
|
1240
1226
|
queryValues = {
|
|
1241
1227
|
releaseId: releaseId,
|
|
@@ -1246,13 +1232,25 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
1246
1232
|
continuationToken: continuationToken
|
|
1247
1233
|
};
|
|
1248
1234
|
return [2 /*return*/, this.beginRequest({
|
|
1249
|
-
apiVersion: "
|
|
1235
|
+
apiVersion: "7.1-preview.1",
|
|
1250
1236
|
routeTemplate: "{project}/_apis/test/ResultsByRelease",
|
|
1251
1237
|
routeValues: {
|
|
1252
1238
|
project: project
|
|
1253
1239
|
},
|
|
1254
|
-
queryParams: queryValues
|
|
1255
|
-
|
|
1240
|
+
queryParams: queryValues,
|
|
1241
|
+
returnRawResponse: true
|
|
1242
|
+
}).then(function (response) { return __awaiter(_this, void 0, void 0, function () {
|
|
1243
|
+
var body;
|
|
1244
|
+
return __generator(this, function (_a) {
|
|
1245
|
+
switch (_a.label) {
|
|
1246
|
+
case 0: return [4 /*yield*/, response.text().then(Serialization_1.deserializeVssJsonObject)];
|
|
1247
|
+
case 1:
|
|
1248
|
+
body = _a.sent();
|
|
1249
|
+
body.continuationToken = response.headers.get("x-ms-continuationtoken");
|
|
1250
|
+
return [2 /*return*/, body];
|
|
1251
|
+
}
|
|
1252
|
+
});
|
|
1253
|
+
}); })];
|
|
1256
1254
|
});
|
|
1257
1255
|
});
|
|
1258
1256
|
};
|
|
@@ -1274,7 +1272,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
1274
1272
|
buildToCompare: buildToCompare
|
|
1275
1273
|
};
|
|
1276
1274
|
return [2 /*return*/, this.beginRequest({
|
|
1277
|
-
apiVersion: "
|
|
1275
|
+
apiVersion: "7.1-preview.3",
|
|
1278
1276
|
routeTemplate: "{project}/_apis/test/ResultSummaryByBuild",
|
|
1279
1277
|
routeValues: {
|
|
1280
1278
|
project: project
|
|
@@ -1304,7 +1302,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
1304
1302
|
releaseToCompare: releaseToCompare
|
|
1305
1303
|
};
|
|
1306
1304
|
return [2 /*return*/, this.beginRequest({
|
|
1307
|
-
apiVersion: "
|
|
1305
|
+
apiVersion: "7.1-preview.3",
|
|
1308
1306
|
routeTemplate: "{project}/_apis/test/ResultSummaryByRelease",
|
|
1309
1307
|
routeValues: {
|
|
1310
1308
|
project: project
|
|
@@ -1322,7 +1320,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
1322
1320
|
return __awaiter(this, void 0, void 0, function () {
|
|
1323
1321
|
return __generator(this, function (_a) {
|
|
1324
1322
|
return [2 /*return*/, this.beginRequest({
|
|
1325
|
-
apiVersion: "
|
|
1323
|
+
apiVersion: "7.1-preview.3",
|
|
1326
1324
|
method: "POST",
|
|
1327
1325
|
routeTemplate: "{project}/_apis/test/ResultSummaryByRelease",
|
|
1328
1326
|
routeValues: {
|
|
@@ -1346,7 +1344,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
1346
1344
|
workItemIds: workItemIds && workItemIds.join(",")
|
|
1347
1345
|
};
|
|
1348
1346
|
return [2 /*return*/, this.beginRequest({
|
|
1349
|
-
apiVersion: "
|
|
1347
|
+
apiVersion: "7.1-preview.1",
|
|
1350
1348
|
method: "POST",
|
|
1351
1349
|
routeTemplate: "{project}/_apis/test/ResultSummaryByRequirement",
|
|
1352
1350
|
routeValues: {
|
|
@@ -1366,7 +1364,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
1366
1364
|
return __awaiter(this, void 0, void 0, function () {
|
|
1367
1365
|
return __generator(this, function (_a) {
|
|
1368
1366
|
return [2 /*return*/, this.beginRequest({
|
|
1369
|
-
apiVersion: "
|
|
1367
|
+
apiVersion: "7.1-preview.1",
|
|
1370
1368
|
method: "POST",
|
|
1371
1369
|
routeTemplate: "{project}/_apis/test/ResultTrendByBuild",
|
|
1372
1370
|
routeValues: {
|
|
@@ -1385,7 +1383,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
1385
1383
|
return __awaiter(this, void 0, void 0, function () {
|
|
1386
1384
|
return __generator(this, function (_a) {
|
|
1387
1385
|
return [2 /*return*/, this.beginRequest({
|
|
1388
|
-
apiVersion: "
|
|
1386
|
+
apiVersion: "7.1-preview.1",
|
|
1389
1387
|
method: "POST",
|
|
1390
1388
|
routeTemplate: "{project}/_apis/test/ResultTrendByRelease",
|
|
1391
1389
|
routeValues: {
|
|
@@ -1406,7 +1404,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
1406
1404
|
return __awaiter(this, void 0, void 0, function () {
|
|
1407
1405
|
return __generator(this, function (_a) {
|
|
1408
1406
|
return [2 /*return*/, this.beginRequest({
|
|
1409
|
-
apiVersion: "
|
|
1407
|
+
apiVersion: "7.1-preview.3",
|
|
1410
1408
|
routeTemplate: "{project}/_apis/test/Runs/{runId}/Statistics",
|
|
1411
1409
|
routeValues: {
|
|
1412
1410
|
project: project,
|
|
@@ -1426,7 +1424,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
1426
1424
|
return __awaiter(this, void 0, void 0, function () {
|
|
1427
1425
|
return __generator(this, function (_a) {
|
|
1428
1426
|
return [2 /*return*/, this.beginRequest({
|
|
1429
|
-
apiVersion: "
|
|
1427
|
+
apiVersion: "7.1-preview.3",
|
|
1430
1428
|
method: "POST",
|
|
1431
1429
|
routeTemplate: "{project}/_apis/test/Runs/{runId}",
|
|
1432
1430
|
routeValues: {
|
|
@@ -1447,7 +1445,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
1447
1445
|
return __awaiter(this, void 0, void 0, function () {
|
|
1448
1446
|
return __generator(this, function (_a) {
|
|
1449
1447
|
return [2 /*return*/, this.beginRequest({
|
|
1450
|
-
apiVersion: "
|
|
1448
|
+
apiVersion: "7.1-preview.3",
|
|
1451
1449
|
method: "DELETE",
|
|
1452
1450
|
routeTemplate: "{project}/_apis/test/Runs/{runId}",
|
|
1453
1451
|
routeValues: {
|
|
@@ -1463,7 +1461,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
1463
1461
|
*
|
|
1464
1462
|
* @param project - Project ID or project name
|
|
1465
1463
|
* @param runId - ID of the run to get.
|
|
1466
|
-
* @param includeDetails -
|
|
1464
|
+
* @param includeDetails - Default value is true. It includes details like run statistics, release, build, test environment, post process state, and more.
|
|
1467
1465
|
*/
|
|
1468
1466
|
TestRestClient.prototype.getTestRunById = function (project, runId, includeDetails) {
|
|
1469
1467
|
return __awaiter(this, void 0, void 0, function () {
|
|
@@ -1473,7 +1471,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
1473
1471
|
includeDetails: includeDetails
|
|
1474
1472
|
};
|
|
1475
1473
|
return [2 /*return*/, this.beginRequest({
|
|
1476
|
-
apiVersion: "
|
|
1474
|
+
apiVersion: "7.1-preview.3",
|
|
1477
1475
|
routeTemplate: "{project}/_apis/test/Runs/{runId}",
|
|
1478
1476
|
routeValues: {
|
|
1479
1477
|
project: project,
|
|
@@ -1512,7 +1510,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
1512
1510
|
'$top': top
|
|
1513
1511
|
};
|
|
1514
1512
|
return [2 /*return*/, this.beginRequest({
|
|
1515
|
-
apiVersion: "
|
|
1513
|
+
apiVersion: "7.1-preview.3",
|
|
1516
1514
|
routeTemplate: "{project}/_apis/test/Runs/{runId}",
|
|
1517
1515
|
routeValues: {
|
|
1518
1516
|
project: project
|
|
@@ -1529,16 +1527,16 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
1529
1527
|
* @param minLastUpdatedDate - Minimum Last Modified Date of run to be queried (Mandatory).
|
|
1530
1528
|
* @param maxLastUpdatedDate - Maximum Last Modified Date of run to be queried (Mandatory, difference between min and max date can be atmost 7 days).
|
|
1531
1529
|
* @param state - Current state of the Runs to be queried.
|
|
1532
|
-
* @param planIds - Plan Ids of the Runs to be queried, comma
|
|
1530
|
+
* @param planIds - Plan Ids of the Runs to be queried, comma separated list of valid ids (limit no. of ids 10).
|
|
1533
1531
|
* @param isAutomated - Automation type of the Runs to be queried.
|
|
1534
1532
|
* @param publishContext - PublishContext of the Runs to be queried.
|
|
1535
|
-
* @param buildIds - Build Ids of the Runs to be queried, comma
|
|
1536
|
-
* @param buildDefIds - Build Definition Ids of the Runs to be queried, comma
|
|
1533
|
+
* @param buildIds - Build Ids of the Runs to be queried, comma separated list of valid ids (limit no. of ids 10).
|
|
1534
|
+
* @param buildDefIds - Build Definition Ids of the Runs to be queried, comma separated list of valid ids (limit no. of ids 10).
|
|
1537
1535
|
* @param branchName - Source Branch name of the Runs to be queried.
|
|
1538
|
-
* @param releaseIds - Release Ids of the Runs to be queried, comma
|
|
1539
|
-
* @param releaseDefIds - Release Definition Ids of the Runs to be queried, comma
|
|
1540
|
-
* @param releaseEnvIds - Release Environment Ids of the Runs to be queried, comma
|
|
1541
|
-
* @param releaseEnvDefIds - Release Environment Definition Ids of the Runs to be queried, comma
|
|
1536
|
+
* @param releaseIds - Release Ids of the Runs to be queried, comma separated list of valid ids (limit no. of ids 10).
|
|
1537
|
+
* @param releaseDefIds - Release Definition Ids of the Runs to be queried, comma separated list of valid ids (limit no. of ids 10).
|
|
1538
|
+
* @param releaseEnvIds - Release Environment Ids of the Runs to be queried, comma separated list of valid ids (limit no. of ids 10).
|
|
1539
|
+
* @param releaseEnvDefIds - Release Environment Definition Ids of the Runs to be queried, comma separated list of valid ids (limit no. of ids 10).
|
|
1542
1540
|
* @param runTitle - Run Title of the Runs to be queried.
|
|
1543
1541
|
* @param top - Number of runs to be queried. Limit is 100
|
|
1544
1542
|
* @param continuationToken - continuationToken received from previous batch or null for first batch. It is not supposed to be created (or altered, if received from last batch) by user.
|
|
@@ -1546,6 +1544,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
1546
1544
|
TestRestClient.prototype.queryTestRuns = function (project, minLastUpdatedDate, maxLastUpdatedDate, state, planIds, isAutomated, publishContext, buildIds, buildDefIds, branchName, releaseIds, releaseDefIds, releaseEnvIds, releaseEnvDefIds, runTitle, top, continuationToken) {
|
|
1547
1545
|
return __awaiter(this, void 0, void 0, function () {
|
|
1548
1546
|
var queryValues;
|
|
1547
|
+
var _this = this;
|
|
1549
1548
|
return __generator(this, function (_a) {
|
|
1550
1549
|
queryValues = {
|
|
1551
1550
|
minLastUpdatedDate: minLastUpdatedDate,
|
|
@@ -1566,13 +1565,25 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
1566
1565
|
continuationToken: continuationToken
|
|
1567
1566
|
};
|
|
1568
1567
|
return [2 /*return*/, this.beginRequest({
|
|
1569
|
-
apiVersion: "
|
|
1568
|
+
apiVersion: "7.1-preview.3",
|
|
1570
1569
|
routeTemplate: "{project}/_apis/test/Runs/{runId}",
|
|
1571
1570
|
routeValues: {
|
|
1572
1571
|
project: project
|
|
1573
1572
|
},
|
|
1574
|
-
queryParams: queryValues
|
|
1575
|
-
|
|
1573
|
+
queryParams: queryValues,
|
|
1574
|
+
returnRawResponse: true
|
|
1575
|
+
}).then(function (response) { return __awaiter(_this, void 0, void 0, function () {
|
|
1576
|
+
var body;
|
|
1577
|
+
return __generator(this, function (_a) {
|
|
1578
|
+
switch (_a.label) {
|
|
1579
|
+
case 0: return [4 /*yield*/, response.text().then(Serialization_1.deserializeVssJsonObject)];
|
|
1580
|
+
case 1:
|
|
1581
|
+
body = _a.sent();
|
|
1582
|
+
body.continuationToken = response.headers.get("x-ms-continuationtoken");
|
|
1583
|
+
return [2 /*return*/, body];
|
|
1584
|
+
}
|
|
1585
|
+
});
|
|
1586
|
+
}); })];
|
|
1576
1587
|
});
|
|
1577
1588
|
});
|
|
1578
1589
|
};
|
|
@@ -1587,7 +1598,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
1587
1598
|
return __awaiter(this, void 0, void 0, function () {
|
|
1588
1599
|
return __generator(this, function (_a) {
|
|
1589
1600
|
return [2 /*return*/, this.beginRequest({
|
|
1590
|
-
apiVersion: "
|
|
1601
|
+
apiVersion: "7.1-preview.3",
|
|
1591
1602
|
method: "PATCH",
|
|
1592
1603
|
routeTemplate: "{project}/_apis/test/Runs/{runId}",
|
|
1593
1604
|
routeValues: {
|
|
@@ -1612,7 +1623,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
1612
1623
|
project = teamContext.projectId || teamContext.project;
|
|
1613
1624
|
team = teamContext.teamId || teamContext.team;
|
|
1614
1625
|
return [2 /*return*/, this.beginRequest({
|
|
1615
|
-
apiVersion: "
|
|
1626
|
+
apiVersion: "7.1-preview.1",
|
|
1616
1627
|
method: "POST",
|
|
1617
1628
|
routeTemplate: "{project}/{team}/_apis/test/Session/{testSessionId}",
|
|
1618
1629
|
routeValues: {
|
|
@@ -1648,7 +1659,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
1648
1659
|
project = teamContext.projectId || teamContext.project;
|
|
1649
1660
|
team = teamContext.teamId || teamContext.team;
|
|
1650
1661
|
return [2 /*return*/, this.beginRequest({
|
|
1651
|
-
apiVersion: "
|
|
1662
|
+
apiVersion: "7.1-preview.1",
|
|
1652
1663
|
routeTemplate: "{project}/{team}/_apis/test/Session/{testSessionId}",
|
|
1653
1664
|
routeValues: {
|
|
1654
1665
|
project: project,
|
|
@@ -1672,7 +1683,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
1672
1683
|
project = teamContext.projectId || teamContext.project;
|
|
1673
1684
|
team = teamContext.teamId || teamContext.team;
|
|
1674
1685
|
return [2 /*return*/, this.beginRequest({
|
|
1675
|
-
apiVersion: "
|
|
1686
|
+
apiVersion: "7.1-preview.1",
|
|
1676
1687
|
method: "PATCH",
|
|
1677
1688
|
routeTemplate: "{project}/{team}/_apis/test/Session/{testSessionId}",
|
|
1678
1689
|
routeValues: {
|
|
@@ -1692,7 +1703,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
1692
1703
|
return __awaiter(this, void 0, void 0, function () {
|
|
1693
1704
|
return __generator(this, function (_a) {
|
|
1694
1705
|
return [2 /*return*/, this.beginRequest({
|
|
1695
|
-
apiVersion: "
|
|
1706
|
+
apiVersion: "7.1-preview.1",
|
|
1696
1707
|
method: "DELETE",
|
|
1697
1708
|
routeTemplate: "{project}/_apis/test/SharedParameter/{sharedParameterId}",
|
|
1698
1709
|
routeValues: {
|
|
@@ -1711,7 +1722,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
1711
1722
|
return __awaiter(this, void 0, void 0, function () {
|
|
1712
1723
|
return __generator(this, function (_a) {
|
|
1713
1724
|
return [2 /*return*/, this.beginRequest({
|
|
1714
|
-
apiVersion: "
|
|
1725
|
+
apiVersion: "7.1-preview.1",
|
|
1715
1726
|
method: "DELETE",
|
|
1716
1727
|
routeTemplate: "{project}/_apis/test/SharedStep/{sharedStepId}",
|
|
1717
1728
|
routeValues: {
|
|
@@ -1734,7 +1745,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
1734
1745
|
return __awaiter(this, void 0, void 0, function () {
|
|
1735
1746
|
return __generator(this, function (_a) {
|
|
1736
1747
|
return [2 /*return*/, this.beginRequest({
|
|
1737
|
-
apiVersion: "
|
|
1748
|
+
apiVersion: "7.1-preview.3",
|
|
1738
1749
|
method: "POST",
|
|
1739
1750
|
routeTemplate: "{project}/_apis/test/Plans/{planId}/Suites/{suiteId}/{action}/{testCaseIds}",
|
|
1740
1751
|
routeValues: {
|
|
@@ -1760,7 +1771,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
1760
1771
|
return __awaiter(this, void 0, void 0, function () {
|
|
1761
1772
|
return __generator(this, function (_a) {
|
|
1762
1773
|
return [2 /*return*/, this.beginRequest({
|
|
1763
|
-
apiVersion: "
|
|
1774
|
+
apiVersion: "7.1-preview.3",
|
|
1764
1775
|
routeTemplate: "{project}/_apis/test/Plans/{planId}/Suites/{suiteId}/{action}/{testCaseIds}",
|
|
1765
1776
|
routeValues: {
|
|
1766
1777
|
project: project,
|
|
@@ -1784,7 +1795,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
1784
1795
|
return __awaiter(this, void 0, void 0, function () {
|
|
1785
1796
|
return __generator(this, function (_a) {
|
|
1786
1797
|
return [2 /*return*/, this.beginRequest({
|
|
1787
|
-
apiVersion: "
|
|
1798
|
+
apiVersion: "7.1-preview.3",
|
|
1788
1799
|
routeTemplate: "{project}/_apis/test/Plans/{planId}/Suites/{suiteId}/{action}/{testCaseIds}",
|
|
1789
1800
|
routeValues: {
|
|
1790
1801
|
project: project,
|
|
@@ -1808,7 +1819,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
1808
1819
|
return __awaiter(this, void 0, void 0, function () {
|
|
1809
1820
|
return __generator(this, function (_a) {
|
|
1810
1821
|
return [2 /*return*/, this.beginRequest({
|
|
1811
|
-
apiVersion: "
|
|
1822
|
+
apiVersion: "7.1-preview.3",
|
|
1812
1823
|
method: "DELETE",
|
|
1813
1824
|
routeTemplate: "{project}/_apis/test/Plans/{planId}/Suites/{suiteId}/{action}/{testCaseIds}",
|
|
1814
1825
|
routeValues: {
|
|
@@ -1835,7 +1846,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
1835
1846
|
return __awaiter(this, void 0, void 0, function () {
|
|
1836
1847
|
return __generator(this, function (_a) {
|
|
1837
1848
|
return [2 /*return*/, this.beginRequest({
|
|
1838
|
-
apiVersion: "
|
|
1849
|
+
apiVersion: "7.1-preview.3",
|
|
1839
1850
|
method: "PATCH",
|
|
1840
1851
|
routeTemplate: "{project}/_apis/test/Plans/{planId}/Suites/{suiteId}/{action}/{testCaseIds}",
|
|
1841
1852
|
routeValues: {
|
|
@@ -1860,7 +1871,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
1860
1871
|
return __awaiter(this, void 0, void 0, function () {
|
|
1861
1872
|
return __generator(this, function (_a) {
|
|
1862
1873
|
return [2 /*return*/, this.beginRequest({
|
|
1863
|
-
apiVersion: "
|
|
1874
|
+
apiVersion: "7.1-preview.1",
|
|
1864
1875
|
method: "DELETE",
|
|
1865
1876
|
routeTemplate: "{project}/_apis/test/TestCases/{testCaseId}",
|
|
1866
1877
|
routeValues: {
|
|
@@ -1881,7 +1892,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
1881
1892
|
return __awaiter(this, void 0, void 0, function () {
|
|
1882
1893
|
return __generator(this, function (_a) {
|
|
1883
1894
|
return [2 /*return*/, this.beginRequest({
|
|
1884
|
-
apiVersion: "
|
|
1895
|
+
apiVersion: "7.1-preview.2",
|
|
1885
1896
|
method: "POST",
|
|
1886
1897
|
routeTemplate: "{project}/_apis/test/Results/TestHistory",
|
|
1887
1898
|
routeValues: {
|
|
@@ -1900,7 +1911,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
1900
1911
|
return __awaiter(this, void 0, void 0, function () {
|
|
1901
1912
|
return __generator(this, function (_a) {
|
|
1902
1913
|
return [2 /*return*/, this.beginRequest({
|
|
1903
|
-
apiVersion: "
|
|
1914
|
+
apiVersion: "7.1-preview.1",
|
|
1904
1915
|
method: "POST",
|
|
1905
1916
|
routeTemplate: "{project}/_apis/test/TestSettings/{testSettingsId}",
|
|
1906
1917
|
routeValues: {
|
|
@@ -1919,7 +1930,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
1919
1930
|
return __awaiter(this, void 0, void 0, function () {
|
|
1920
1931
|
return __generator(this, function (_a) {
|
|
1921
1932
|
return [2 /*return*/, this.beginRequest({
|
|
1922
|
-
apiVersion: "
|
|
1933
|
+
apiVersion: "7.1-preview.1",
|
|
1923
1934
|
method: "DELETE",
|
|
1924
1935
|
routeTemplate: "{project}/_apis/test/TestSettings/{testSettingsId}",
|
|
1925
1936
|
routeValues: {
|
|
@@ -1938,7 +1949,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
1938
1949
|
return __awaiter(this, void 0, void 0, function () {
|
|
1939
1950
|
return __generator(this, function (_a) {
|
|
1940
1951
|
return [2 /*return*/, this.beginRequest({
|
|
1941
|
-
apiVersion: "
|
|
1952
|
+
apiVersion: "7.1-preview.1",
|
|
1942
1953
|
routeTemplate: "{project}/_apis/test/TestSettings/{testSettingsId}",
|
|
1943
1954
|
routeValues: {
|
|
1944
1955
|
project: project,
|
|
@@ -1956,7 +1967,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
1956
1967
|
return __awaiter(this, void 0, void 0, function () {
|
|
1957
1968
|
return __generator(this, function (_a) {
|
|
1958
1969
|
return [2 /*return*/, this.beginRequest({
|
|
1959
|
-
apiVersion: "
|
|
1970
|
+
apiVersion: "7.1-preview.1",
|
|
1960
1971
|
method: "POST",
|
|
1961
1972
|
routeTemplate: "{project}/_apis/test/TestMethods/WorkItems",
|
|
1962
1973
|
routeValues: {
|
|
@@ -1981,7 +1992,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
1981
1992
|
workItemId: workItemId
|
|
1982
1993
|
};
|
|
1983
1994
|
return [2 /*return*/, this.beginRequest({
|
|
1984
|
-
apiVersion: "
|
|
1995
|
+
apiVersion: "7.1-preview.1",
|
|
1985
1996
|
method: "DELETE",
|
|
1986
1997
|
routeTemplate: "{project}/_apis/test/TestMethods/{testName}/WorkItems/{workItemId}",
|
|
1987
1998
|
routeValues: {
|
|
@@ -2004,7 +2015,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
2004
2015
|
testName: testName
|
|
2005
2016
|
};
|
|
2006
2017
|
return [2 /*return*/, this.beginRequest({
|
|
2007
|
-
apiVersion: "
|
|
2018
|
+
apiVersion: "7.1-preview.1",
|
|
2008
2019
|
method: "POST",
|
|
2009
2020
|
routeTemplate: "{project}/_apis/test/TestMethods/{testName}/WorkItems/{workItemId}",
|
|
2010
2021
|
routeValues: {
|
|
@@ -2037,7 +2048,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
2037
2048
|
'$workItemCount': workItemCount
|
|
2038
2049
|
};
|
|
2039
2050
|
return [2 /*return*/, this.beginRequest({
|
|
2040
|
-
apiVersion: "
|
|
2051
|
+
apiVersion: "7.1-preview.1",
|
|
2041
2052
|
routeTemplate: "{project}/_apis/test/Results/WorkItems",
|
|
2042
2053
|
routeValues: {
|
|
2043
2054
|
project: project
|