Skip to content

Commit b605e00

Browse files
Modified scripts July 17 (#28048)
* Fixes issue: 570 TC-DRLK-2.8 Semi-automated tests: TC-ACL-2.5 TC-ACL-2.6 Deleted manual tests: TC-ACE-1.2 TC-DA-1.2 TC-DA-1.5 TC-IDM-1.2 Added step number for all automated & semi-automated tests: TC_ACE_1_5 TC_ACFREMON_1_1 TC_ACFREMON_2_1 TC_ACL_1_1 TC_ACL_2_1 TC_ACL_2_3 TC_ACL_2_7 TC_ACL_2_8 TC_ACL_2_9 TC_ACT_1_1 TC_AIRQUAL_1_1 TC_AIRQUAL_2_1 TC_ALOGIN_1_12 TC_ALOGIN_12_1 TC_APBSC_1_10 TC_APBSC_9_1 TC_APPLAUNCHER_1_3 TC_APPLAUNCHER_3_5 TC_APPLAUNCHER_3_6 TC_APPLAUNCHER_3_7 TC_AUDIOOUTPUT_1_8 TC_AUDIOOUTPUT_7_1 TC_AUDIOOUTPUT_7_2 TC_BIND_1_1 TC_BINFO_1_1 TC_BINFO_2_1 TC_BINFO_2_2 TC_BOOL_1_1 TC_BOOL_2_1 TC_BRBINFO_1_1 TC_BRBINFO_2_1 TC_CADMIN_1_10 TC_CADMIN_1_16 TC_CADMIN_1_21 TC_CADMIN_1_22 TC_CADMIN_1_23 TC_CADMIN_1_24 TC_CADMIN_1_4 TC_CADMIN_1_6 TC_CC_1_1 TC_CC_2_1 TC_CC_3_1 TC_CC_3_2 TC_CC_3_3 TC_CC_4_1 TC_CC_4_2 TC_CC_4_3 TC_CC_4_4 TC_CC_5_1 TC_CC_5_2 TC_CC_5_3 TC_CC_6_1 TC_CC_6_2 TC_CC_6_3 TC_CC_6_5 TC_CC_7_1 TC_CC_7_2 TC_CC_7_3 TC_CC_7_4 TC_CC_8_1 TC_CC_9_1 TC_CC_9_2 TC_CC_9_3 TC_CDOCONC_1_1 TC_CDOCONC_2_1 TC_CFREMON_1_1 TC_CFREMON_2_1 TC_CGEN_1_1 TC_CGEN_2_1 TC_CHANNEL_1_6 TC_CHANNEL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SUIC_2_2 TC_TVOCCONC_1_1 TC_TVOCCONC_2_1 TC_ULABEL_1_1 TC_ULABEL_2_1 TC_ULABEL_2_2 TC_ULABEL_2_3 TC_ULABEL_2_4 TC_ULABEL_3_1_Simulated TC_UVFREMON_1_1 TC_UVFREMON_2_1 TC_WAKEONLAN_1_5 TC_WAKEONLAN_4_1 TC_WNCV_1_1 TC_WNCV_2_1 TC_WNCV_2_2 TC_WNCV_2_3 TC_WNCV_2_4 TC_WNCV_2_5 TC_WNCV_3_1 TC_WNCV_3_2 TC_WNCV_3_3 TC_WNCV_3_4 TC_WNCV_3_5 TC_WNCV_4_1 TC_WNCV_4_2 TC_WNCV_4_3 TC_WNCV_4_4 TC_WNCV_4_5 TC_WTREMON_1_1 TC_WTREMON_2_1 TC_ZEOFREMON_1_1 TC_ZEOFREMON_2_1 * Auto generated files * Modified test TC-ACL-2.5 ciTests.json manualTests.json Disabled events tests in Darwin Json file * Auto generated files
1 parent afb53e6 commit b605e00

File tree

276 files changed

+21218
-23695
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

276 files changed

+21218
-23695
lines changed

examples/darwin-framework-tool/templates/tests/ciTests.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,8 @@
120120
"Disabled due to OperationalState not being enabled in Matter.framework for now:",
121121
"Test_TC_OPSTATE_1_1",
122122
"Disabled due to Events verification not supported",
123-
"Test_TC_BINFO_2_2"
123+
"Test_TC_BINFO_2_2",
124+
"Test_TC_ACL_2_5",
125+
"Test_TC_ACL_2_6"
124126
]
125127
}

src/app/tests/suites/certification/Test_TC_ACE_1_2.yaml

-2,347
This file was deleted.

src/app/tests/suites/certification/Test_TC_ACE_1_5.yaml

+18-17
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ config:
3636
defaultValue: "hex:b96170aae803346884724fe9a3b287c30330c2a660375d17bb205a8cf1aecb350457f8ab79ee253ab6a8e46bb09e543ae422736de501e3db37d441fe344920d09548e4c18240630c4ff4913c53513839b7c07fcc0627a1b8573a149fcd1fa466cf"
3737

3838
tests:
39-
- label: "Wait for the commissioned device to be retrieved for TH1"
39+
- label: "Step 1: Wait for the commissioned device to be retrieved for TH1"
4040
cluster: "DelayCommands"
4141
command: "WaitForCommissionee"
4242
arguments:
@@ -81,7 +81,7 @@ tests:
8181
- name: "expectedValue"
8282
value: "y"
8383

84-
- label: "Open Commissioning Window from alpha"
84+
- label: "Step 2: Open Commissioning Window from alpha"
8585
cluster: "Administrator Commissioning"
8686
command: "OpenCommissioningWindow"
8787
timedInteractionTimeoutMs: 10000
@@ -108,7 +108,7 @@ tests:
108108
- name: "ms"
109109
value: waitAfterCommissioning
110110

111-
- label: "Commission from TH2"
111+
- label: "Step 3: Commission from TH2"
112112
identity: "beta"
113113
cluster: "CommissionerCommands"
114114
command: "PairWithCode"
@@ -130,7 +130,7 @@ tests:
130130
- name: "nodeId"
131131
value: nodeId
132132

133-
- label: "TH2 reads the fabric index"
133+
- label: "Step 4: TH2 reads the fabric index"
134134
identity: "beta"
135135
PICS: PICS_SDK_CI_ONLY
136136
cluster: "Operational Credentials"
@@ -140,7 +140,7 @@ tests:
140140
saveAs: th2FabricIndex
141141

142142
#Issue https://github.com/CHIP-Specifications/chip-certification-tool/issues/768
143-
- label: "TH2 reads the fabric index"
143+
- label: "Step 4: TH2 reads the fabric index"
144144
verification: |
145145
./chip-tool operationalcredentials read current-fabric-index 2 0 --commissioner-name beta
146146
@@ -168,7 +168,8 @@ tests:
168168
- name: "nodeId"
169169
saveAs: commissionerNodeIdAlpha
170170

171-
- label: "TH1 writes ACL giving view privilege for descriptor cluster"
171+
- label:
172+
"Step 5: TH1 writes ACL giving view privilege for descriptor cluster"
172173
command: "writeAttribute"
173174
attribute: "ACL"
174175
arguments:
@@ -201,7 +202,7 @@ tests:
201202
- name: "nodeId"
202203
saveAs: commissionerNodeIdBeta
203204

204-
- label: "TH2 writes ACL giving view privilge for basic cluster"
205+
- label: "Step 6: TH2 writes ACL giving view privilge for basic cluster"
205206
identity: beta
206207
PICS: PICS_SDK_CI_ONLY
207208
command: "writeAttribute"
@@ -227,7 +228,7 @@ tests:
227228
]
228229

229230
#Issue https://github.com/CHIP-Specifications/chip-certification-tool/issues/768
230-
- label: "TH2 writes ACL giving view privilge for basic cluster"
231+
- label: "Step 6: TH2 writes ACL giving view privilge for basic cluster"
231232
verification: |
232233
./chip-tool accesscontrol write acl '[{"fabricIndex": 2, "privilege": 5, "authMode": 2, "subjects": [223344], "targets": [{ "cluster": 31, "endpoint": 0, "deviceType": null }]}, {"fabricIndex": 2, "privilege": 1, "authMode": 2, "subjects": null, "targets": [{ "cluster": 40, "endpoint": 0, "deviceType": null }]}]' 2 0 --commissioner-name beta
233234
@@ -248,19 +249,19 @@ tests:
248249
- name: "expectedValue"
249250
value: "y"
250251

251-
- label: "TH1 reads descriptor cluster - expect SUCCESS"
252+
- label: "Step 7: TH1 reads descriptor cluster - expect SUCCESS"
252253
command: "readAttribute"
253254
cluster: "Descriptor"
254255
attribute: "DeviceTypeList"
255256

256-
- label: "TH1 reads basic cluster - expect UNSUPPORTED_ACCESS"
257+
- label: "Step 8: TH1 reads basic cluster - expect UNSUPPORTED_ACCESS"
257258
command: "readAttribute"
258259
cluster: "Basic Information"
259260
attribute: "VendorID"
260261
response:
261262
error: UNSUPPORTED_ACCESS
262263

263-
- label: "TH2 reads descriptor cluster - expect UNSUPPORTED_ACCESS"
264+
- label: "Step 9: TH2 reads descriptor cluster - expect UNSUPPORTED_ACCESS"
264265
identity: "beta"
265266
PICS: PICS_SDK_CI_ONLY
266267
command: "readAttribute"
@@ -270,7 +271,7 @@ tests:
270271
error: UNSUPPORTED_ACCESS
271272

272273
#Issue https://github.com/CHIP-Specifications/chip-certification-tool/issues/768
273-
- label: "TH2 reads descriptor cluster - expect UNSUPPORTED_ACCESS"
274+
- label: "Step 9: TH2 reads descriptor cluster - expect UNSUPPORTED_ACCESS"
274275
verification: |
275276
./chip-tool descriptor read device-type-list 2 0 --commissioner-name beta
276277
@@ -290,15 +291,15 @@ tests:
290291
- name: "expectedValue"
291292
value: "y"
292293

293-
- label: "TH2 reads basic cluster - expect SUCCESS"
294+
- label: "Step 10: TH2 reads basic cluster - expect SUCCESS"
294295
identity: "beta"
295296
PICS: PICS_SDK_CI_ONLY
296297
command: "readAttribute"
297298
cluster: "Basic Information"
298299
attribute: "VendorID"
299300

300301
#Issue https://github.com/CHIP-Specifications/chip-certification-tool/issues/768
301-
- label: "TH2 writes Extension attribute value as empty list"
302+
- label: "Step 10: TH2 reads basic cluster - expect SUCCESS"
302303
verification: |
303304
./chip-tool basicinformation read vendor-id 2 0 --commissioner-name beta
304305
@@ -317,7 +318,7 @@ tests:
317318
- name: "expectedValue"
318319
value: "y"
319320

320-
- label: "TH1 resets ACL to default"
321+
- label: "Step 11: TH1 resets ACL to default"
321322
command: "writeAttribute"
322323
attribute: "ACL"
323324
arguments:
@@ -331,7 +332,7 @@ tests:
331332
},
332333
]
333334

334-
- label: "TH1 sends RemoveFabric command for TH2"
335+
- label: "Step 12: TH1 sends RemoveFabric command for TH2"
335336
cluster: "Operational Credentials"
336337
PICS: PICS_SDK_CI_ONLY
337338
command: "RemoveFabric"
@@ -341,7 +342,7 @@ tests:
341342
value: th2FabricIndex
342343

343344
#Issue https://github.com/CHIP-Specifications/chip-certification-tool/issues/768
344-
- label: "TH1 sends RemoveFabric command for TH2"
345+
- label: "Step 12: TH1 sends RemoveFabric command for TH2"
345346
verification: |
346347
./chip-tool operationalcredentials remove-fabric 2 1 0
347348

src/app/tests/suites/certification/Test_TC_ACFREMON_1_1.yaml

+25-22
Original file line numberDiff line numberDiff line change
@@ -23,23 +23,23 @@ config:
2323
endpoint: 1
2424

2525
tests:
26-
- label: "Wait for the commissioned device to be retrieved"
26+
- label: "Step 1: Wait for the commissioned device to be retrieved"
2727
cluster: "DelayCommands"
2828
command: "WaitForCommissionee"
2929
arguments:
3030
values:
3131
- name: "nodeId"
3232
value: nodeId
3333

34-
- label: "Read the global attribute: ClusterRevision"
34+
- label: "Step 2: Read the global attribute: ClusterRevision"
3535
command: "readAttribute"
3636
attribute: "ClusterRevision"
3737
response:
3838
value: 1
3939
constraints:
4040
type: int16u
4141

42-
- label: "Read the global attribute: FeatureMap"
42+
- label: "Step 3a: Read the global attribute: FeatureMap"
4343
command: "readAttribute"
4444
attribute: "FeatureMap"
4545
PICS: "!ACFREMON.S.F00 && !ACFREMON.S.F01"
@@ -49,8 +49,8 @@ tests:
4949
type: bitmap32
5050

5151
- label:
52-
"Given ACFREMON.S.F00(Condition) ensure featuremap has the correct bit
53-
set"
52+
"Step 3b: Given ACFREMON.S.F00(Condition) ensure featuremap has the
53+
correct bit set"
5454
command: "readAttribute"
5555
attribute: "FeatureMap"
5656
PICS: ACFREMON.S.F00
@@ -60,8 +60,8 @@ tests:
6060
hasMasksSet: [0x1]
6161

6262
- label:
63-
"Given ACFREMON.S.F01(Warning) ensure featuremap has the correct bit
64-
set"
63+
"Step 3c: Given ACFREMON.S.F01(Warning) ensure featuremap has the
64+
correct bit set"
6565
command: "readAttribute"
6666
attribute: "FeatureMap"
6767
PICS: ACFREMON.S.F01
@@ -70,7 +70,7 @@ tests:
7070
type: bitmap32
7171
hasMasksSet: [0x2]
7272

73-
- label: "Read the global attribute: AttributeList"
73+
- label: "Step 4a: Read the global attribute: AttributeList"
7474
command: "readAttribute"
7575
attribute: "AttributeList"
7676
response:
@@ -79,7 +79,8 @@ tests:
7979
contains: [2, 65528, 65529, 65530, 65531, 65532, 65533]
8080

8181
- label:
82-
"Read the feature dependent(ACFREMON.S.F00) attribute in AttributeList"
82+
"Step 4b: Read the feature dependent(ACFREMON.S.F00) attribute in
83+
AttributeList"
8384
PICS: ACFREMON.S.F00
8485
command: "readAttribute"
8586
attribute: "AttributeList"
@@ -89,8 +90,8 @@ tests:
8990
contains: [0, 1]
9091

9192
- label:
92-
"Read the optional attribute InPlaceIndicator (ACFREMON.S.A0002) in
93-
AttributeList"
93+
"Step 4c: Read the optional attribute InPlaceIndicator
94+
(ACFREMON.S.A0002) in AttributeList"
9495
PICS: ACFREMON.S.A0002
9596
command: "readAttribute"
9697
attribute: "AttributeList"
@@ -99,34 +100,36 @@ tests:
99100
type: list
100101
contains: [3]
101102

102-
- label: "Read the global attribute: AcceptedCommandList"
103+
- label: "Step 5: TH reads EventList attribute from DUT"
103104
command: "readAttribute"
104-
attribute: "AcceptedCommandList"
105+
attribute: "EventList"
105106
response:
107+
value: []
106108
constraints:
107109
type: list
108-
contains: []
109110

110-
- label: "Read the optional command (ResetCondition) in AcceptedCommandList"
111-
PICS: ACFREMON.S.C00.Rsp
111+
- label: "Step 6a: Read the global attribute: AcceptedCommandList"
112112
command: "readAttribute"
113113
attribute: "AcceptedCommandList"
114114
response:
115115
constraints:
116116
type: list
117-
contains: [0]
117+
contains: []
118118

119-
- label: "Read the global attribute: GeneratedCommandList"
119+
- label:
120+
"Step 6b: Read the optional command (ResetCondition) in
121+
AcceptedCommandList"
122+
PICS: ACFREMON.S.C00.Rsp
120123
command: "readAttribute"
121-
attribute: "GeneratedCommandList"
124+
attribute: "AcceptedCommandList"
122125
response:
123-
value: []
124126
constraints:
125127
type: list
128+
contains: [0]
126129

127-
- label: "TH reads EventList attribute from DUT"
130+
- label: "Step 7: Read the global attribute: GeneratedCommandList"
128131
command: "readAttribute"
129-
attribute: "EventList"
132+
attribute: "GeneratedCommandList"
130133
response:
131134
value: []
132135
constraints:

src/app/tests/suites/certification/Test_TC_ACFREMON_2_1.yaml

+6-5
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,15 @@ config:
2323
endpoint: 1
2424

2525
tests:
26-
- label: "Wait for the commissioned device to be retrieved"
26+
- label: "Step 1: Wait for the commissioned device to be retrieved"
2727
cluster: "DelayCommands"
2828
command: "WaitForCommissionee"
2929
arguments:
3030
values:
3131
- name: "nodeId"
3232
value: nodeId
3333

34-
- label: "TH reads from the DUT the Condition attribute."
34+
- label: "Step 2: TH reads from the DUT the Condition attribute."
3535
PICS: ACFREMON.S.A0000
3636
command: "readAttribute"
3737
attribute: "Condition"
@@ -41,7 +41,8 @@ tests:
4141
minValue: 0
4242
maxValue: 100
4343

44-
- label: "TH reads from the DUT the DegradationDirection attribute.."
44+
- label:
45+
"Step 3: TH reads from the DUT the DegradationDirection attribute.."
4546
PICS: ACFREMON.S.A0001
4647
command: "readAttribute"
4748
attribute: "DegradationDirection"
@@ -51,7 +52,7 @@ tests:
5152
minValue: 0
5253
maxValue: 1
5354

54-
- label: "TH reads from the DUT the ChangeIndication attribute."
55+
- label: "Step 4: TH reads from the DUT the ChangeIndication attribute."
5556
PICS: ACFREMON.S.A0002
5657
command: "readAttribute"
5758
attribute: "ChangeIndication"
@@ -61,7 +62,7 @@ tests:
6162
minValue: 0
6263
maxValue: 2
6364

64-
- label: "TH reads from the DUT the InPlaceIndicator attribute"
65+
- label: "Step 5: TH reads from the DUT the InPlaceIndicator attribute"
6566
PICS: ACFREMON.S.A0003
6667
command: "readAttribute"
6768
attribute: "InPlaceIndicator"

0 commit comments

Comments
 (0)