Skip to content

Commit 511b47b

Browse files
authored
Update input type for Test Plan in ATP (#20696)
* change test plan input to string and update info bubble. * build - generated changes. * version bump.
1 parent a7b3216 commit 511b47b

File tree

9 files changed

+27
-87
lines changed

9 files changed

+27
-87
lines changed

Tasks/AzureTestPlanV0/task.json

+3-13
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"version": {
1515
"Major": 0,
1616
"Minor": 250,
17-
"Patch": 0
17+
"Patch": 2
1818
},
1919
"preview": true,
2020
"demands": [],
@@ -36,11 +36,11 @@
3636
},
3737
{
3838
"name": "testPlan",
39-
"type": "pickList",
39+
"type": "string",
4040
"label": "Test plan",
4141
"defaultValue": "",
4242
"required": true,
43-
"helpMarkDown": "Select a test plan containing test suites with test cases.",
43+
"helpMarkDown": "Type or paste the test plan ID containing test suites with test cases.",
4444
"properties": {
4545
"DisableManageLink": "True",
4646
"EditableOptions": "True"
@@ -145,16 +145,6 @@
145145
}
146146
],
147147
"dataSourceBindings": [
148-
{
149-
"target": "testPlan",
150-
"endpointId": "tfs:teamfoundation",
151-
"endpointUrl": "{{endpoint.url}}/{{system.teamProject}}/_apis/test/plans?filterActivePlans=true&api-version=3.0-preview.2&$skip={{skip}}&$top=1000",
152-
"resultSelector": "jsonpath:$.value[*]",
153-
"resultTemplate": "{ \"Value\" : \"{{{id}}}\", \"DisplayValue\" : \"{{{id}}} - {{{name}}}\" }",
154-
"callbackContextTemplate": "{\"skip\": \"{{add skip 1000}}\"}",
155-
"callbackRequiredTemplate": "{{isEqualNumber result.count 1000}}",
156-
"initialContextTemplate": "{\"skip\": \"0\"}"
157-
},
158148
{
159149
"target": "testConfiguration",
160150
"endpointId": "tfs:teamfoundation",

Tasks/AzureTestPlanV0/task.loc.json

+2-12
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"version": {
1515
"Major": 0,
1616
"Minor": 250,
17-
"Patch": 0
17+
"Patch": 2
1818
},
1919
"preview": true,
2020
"demands": [],
@@ -36,7 +36,7 @@
3636
},
3737
{
3838
"name": "testPlan",
39-
"type": "pickList",
39+
"type": "string",
4040
"label": "ms-resource:loc.input.label.testPlan",
4141
"defaultValue": "",
4242
"required": true,
@@ -145,16 +145,6 @@
145145
}
146146
],
147147
"dataSourceBindings": [
148-
{
149-
"target": "testPlan",
150-
"endpointId": "tfs:teamfoundation",
151-
"endpointUrl": "{{endpoint.url}}/{{system.teamProject}}/_apis/test/plans?filterActivePlans=true&api-version=3.0-preview.2&$skip={{skip}}&$top=1000",
152-
"resultSelector": "jsonpath:$.value[*]",
153-
"resultTemplate": "{ \"Value\" : \"{{{id}}}\", \"DisplayValue\" : \"{{{id}}} - {{{name}}}\" }",
154-
"callbackContextTemplate": "{\"skip\": \"{{add skip 1000}}\"}",
155-
"callbackRequiredTemplate": "{{isEqualNumber result.count 1000}}",
156-
"initialContextTemplate": "{\"skip\": \"0\"}"
157-
},
158148
{
159149
"target": "testConfiguration",
160150
"endpointId": "tfs:teamfoundation",
+2-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Default|0.250.0
2-
Node20-225|0.250.1
1+
Default|0.250.2
2+
Node20-225|0.250.3

_generated/AzureTestPlanV0/Strings/resources.resjson/en-US/resources.resjson

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"loc.input.label.testSelector": "Test cases to be executed",
77
"loc.input.help.testSelector": "<ul><li><b>Manual tests: </b>Use this option to trigger manual tests from your test plan.</li><li><b>Automated tests: </b>Use this option to run tests from your test plan that have automated test method associated with it.</li>",
88
"loc.input.label.testPlan": "Test plan",
9-
"loc.input.help.testPlan": "Select a test plan containing test suites with test cases.",
9+
"loc.input.help.testPlan": "Type or paste the test plan ID containing test suites with test cases.",
1010
"loc.input.label.testSuite": "Test suite",
1111
"loc.input.help.testSuite": "Select one or more test suites containing test cases.",
1212
"loc.input.label.testConfiguration": "Test configuration",

_generated/AzureTestPlanV0/task.json

+5-15
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"version": {
1515
"Major": 0,
1616
"Minor": 250,
17-
"Patch": 0
17+
"Patch": 2
1818
},
1919
"preview": true,
2020
"demands": [],
@@ -36,11 +36,11 @@
3636
},
3737
{
3838
"name": "testPlan",
39-
"type": "pickList",
39+
"type": "string",
4040
"label": "Test plan",
4141
"defaultValue": "",
4242
"required": true,
43-
"helpMarkDown": "Select a test plan containing test suites with test cases.",
43+
"helpMarkDown": "Type or paste the test plan ID containing test suites with test cases.",
4444
"properties": {
4545
"DisableManageLink": "True",
4646
"EditableOptions": "True"
@@ -145,16 +145,6 @@
145145
}
146146
],
147147
"dataSourceBindings": [
148-
{
149-
"target": "testPlan",
150-
"endpointId": "tfs:teamfoundation",
151-
"endpointUrl": "{{endpoint.url}}/{{system.teamProject}}/_apis/test/plans?filterActivePlans=true&api-version=3.0-preview.2&$skip={{skip}}&$top=1000",
152-
"resultSelector": "jsonpath:$.value[*]",
153-
"resultTemplate": "{ \"Value\" : \"{{{id}}}\", \"DisplayValue\" : \"{{{id}}} - {{{name}}}\" }",
154-
"callbackContextTemplate": "{\"skip\": \"{{add skip 1000}}\"}",
155-
"callbackRequiredTemplate": "{{isEqualNumber result.count 1000}}",
156-
"initialContextTemplate": "{\"skip\": \"0\"}"
157-
},
158148
{
159149
"target": "testConfiguration",
160150
"endpointId": "tfs:teamfoundation",
@@ -196,8 +186,8 @@
196186
"MultipleMatchingGradlewFound": "Multiple gradlew files found. Selecting the first matched instance"
197187
},
198188
"_buildConfigMapping": {
199-
"Default": "0.250.0",
189+
"Default": "0.250.2",
200190
"LocalPackages": "0.249.4",
201-
"Node20-225": "0.250.1"
191+
"Node20-225": "0.250.3"
202192
}
203193
}

_generated/AzureTestPlanV0/task.loc.json

+4-14
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"version": {
1515
"Major": 0,
1616
"Minor": 250,
17-
"Patch": 0
17+
"Patch": 2
1818
},
1919
"preview": true,
2020
"demands": [],
@@ -36,7 +36,7 @@
3636
},
3737
{
3838
"name": "testPlan",
39-
"type": "pickList",
39+
"type": "string",
4040
"label": "ms-resource:loc.input.label.testPlan",
4141
"defaultValue": "",
4242
"required": true,
@@ -145,16 +145,6 @@
145145
}
146146
],
147147
"dataSourceBindings": [
148-
{
149-
"target": "testPlan",
150-
"endpointId": "tfs:teamfoundation",
151-
"endpointUrl": "{{endpoint.url}}/{{system.teamProject}}/_apis/test/plans?filterActivePlans=true&api-version=3.0-preview.2&$skip={{skip}}&$top=1000",
152-
"resultSelector": "jsonpath:$.value[*]",
153-
"resultTemplate": "{ \"Value\" : \"{{{id}}}\", \"DisplayValue\" : \"{{{id}}} - {{{name}}}\" }",
154-
"callbackContextTemplate": "{\"skip\": \"{{add skip 1000}}\"}",
155-
"callbackRequiredTemplate": "{{isEqualNumber result.count 1000}}",
156-
"initialContextTemplate": "{\"skip\": \"0\"}"
157-
},
158148
{
159149
"target": "testConfiguration",
160150
"endpointId": "tfs:teamfoundation",
@@ -196,8 +186,8 @@
196186
"MultipleMatchingGradlewFound": "ms-resource:loc.messages.MultipleMatchingGradlewFound"
197187
},
198188
"_buildConfigMapping": {
199-
"Default": "0.250.0",
189+
"Default": "0.250.2",
200190
"LocalPackages": "0.249.4",
201-
"Node20-225": "0.250.1"
191+
"Node20-225": "0.250.3"
202192
}
203193
}

_generated/AzureTestPlanV0_Node20/Strings/resources.resjson/en-US/resources.resjson

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"loc.input.label.testSelector": "Test cases to be executed",
77
"loc.input.help.testSelector": "<ul><li><b>Manual tests: </b>Use this option to trigger manual tests from your test plan.</li><li><b>Automated tests: </b>Use this option to run tests from your test plan that have automated test method associated with it.</li>",
88
"loc.input.label.testPlan": "Test plan",
9-
"loc.input.help.testPlan": "Select a test plan containing test suites with test cases.",
9+
"loc.input.help.testPlan": "Type or paste the test plan ID containing test suites with test cases.",
1010
"loc.input.label.testSuite": "Test suite",
1111
"loc.input.help.testSuite": "Select one or more test suites containing test cases.",
1212
"loc.input.label.testConfiguration": "Test configuration",

_generated/AzureTestPlanV0_Node20/task.json

+5-15
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"version": {
1515
"Major": 0,
1616
"Minor": 250,
17-
"Patch": 1
17+
"Patch": 3
1818
},
1919
"preview": true,
2020
"demands": [],
@@ -36,11 +36,11 @@
3636
},
3737
{
3838
"name": "testPlan",
39-
"type": "pickList",
39+
"type": "string",
4040
"label": "Test plan",
4141
"defaultValue": "",
4242
"required": true,
43-
"helpMarkDown": "Select a test plan containing test suites with test cases.",
43+
"helpMarkDown": "Type or paste the test plan ID containing test suites with test cases.",
4444
"properties": {
4545
"DisableManageLink": "True",
4646
"EditableOptions": "True"
@@ -145,16 +145,6 @@
145145
}
146146
],
147147
"dataSourceBindings": [
148-
{
149-
"target": "testPlan",
150-
"endpointId": "tfs:teamfoundation",
151-
"endpointUrl": "{{endpoint.url}}/{{system.teamProject}}/_apis/test/plans?filterActivePlans=true&api-version=3.0-preview.2&$skip={{skip}}&$top=1000",
152-
"resultSelector": "jsonpath:$.value[*]",
153-
"resultTemplate": "{ \"Value\" : \"{{{id}}}\", \"DisplayValue\" : \"{{{id}}} - {{{name}}}\" }",
154-
"callbackContextTemplate": "{\"skip\": \"{{add skip 1000}}\"}",
155-
"callbackRequiredTemplate": "{{isEqualNumber result.count 1000}}",
156-
"initialContextTemplate": "{\"skip\": \"0\"}"
157-
},
158148
{
159149
"target": "testConfiguration",
160150
"endpointId": "tfs:teamfoundation",
@@ -200,8 +190,8 @@
200190
"MultipleMatchingGradlewFound": "Multiple gradlew files found. Selecting the first matched instance"
201191
},
202192
"_buildConfigMapping": {
203-
"Default": "0.250.0",
193+
"Default": "0.250.2",
204194
"LocalPackages": "0.249.4",
205-
"Node20-225": "0.250.1"
195+
"Node20-225": "0.250.3"
206196
}
207197
}

_generated/AzureTestPlanV0_Node20/task.loc.json

+4-14
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"version": {
1515
"Major": 0,
1616
"Minor": 250,
17-
"Patch": 1
17+
"Patch": 3
1818
},
1919
"preview": true,
2020
"demands": [],
@@ -36,7 +36,7 @@
3636
},
3737
{
3838
"name": "testPlan",
39-
"type": "pickList",
39+
"type": "string",
4040
"label": "ms-resource:loc.input.label.testPlan",
4141
"defaultValue": "",
4242
"required": true,
@@ -145,16 +145,6 @@
145145
}
146146
],
147147
"dataSourceBindings": [
148-
{
149-
"target": "testPlan",
150-
"endpointId": "tfs:teamfoundation",
151-
"endpointUrl": "{{endpoint.url}}/{{system.teamProject}}/_apis/test/plans?filterActivePlans=true&api-version=3.0-preview.2&$skip={{skip}}&$top=1000",
152-
"resultSelector": "jsonpath:$.value[*]",
153-
"resultTemplate": "{ \"Value\" : \"{{{id}}}\", \"DisplayValue\" : \"{{{id}}} - {{{name}}}\" }",
154-
"callbackContextTemplate": "{\"skip\": \"{{add skip 1000}}\"}",
155-
"callbackRequiredTemplate": "{{isEqualNumber result.count 1000}}",
156-
"initialContextTemplate": "{\"skip\": \"0\"}"
157-
},
158148
{
159149
"target": "testConfiguration",
160150
"endpointId": "tfs:teamfoundation",
@@ -200,8 +190,8 @@
200190
"MultipleMatchingGradlewFound": "ms-resource:loc.messages.MultipleMatchingGradlewFound"
201191
},
202192
"_buildConfigMapping": {
203-
"Default": "0.250.0",
193+
"Default": "0.250.2",
204194
"LocalPackages": "0.249.4",
205-
"Node20-225": "0.250.1"
195+
"Node20-225": "0.250.3"
206196
}
207197
}

0 commit comments

Comments
 (0)