Skip to content

Commit 3264181

Browse files
kowsisoundhar12restyled-commits
authored andcommitted
Added updated manual scripts (#24812)
* Added updated manual scripts * Restyled by whitespace * Restyled by prettier-yaml --------- Co-authored-by: Restyled.io <commits@restyled.io>
1 parent df2479e commit 3264181

24 files changed

+1020
-1170
lines changed

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

+13-14
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ tests:
4343

4444
- label: "TH1 commissions DUT using admin node ID N1"
4545
verification: |
46-
DUT is commissioned on TH1 fabric
46+
4747
disabled: true
4848

4949
- label:
@@ -86,10 +86,10 @@ tests:
8686
- label:
8787
"TH1 writes DUT Endpoint 0 AccessControl cluster Extension attribute,
8888
value is list of AccessControlExtensionStruct containing 1 element
89-
1.struct Data field: D_OK_EMPTY : 1718"
89+
struct Data field: D_OK_EMPTY"
9090
PICS: ACL.S.A0001
9191
verification: |
92-
./chip-tool accesscontrol write extension '[{"data":"1718"}]' 1 0
92+
./chip-tool accesscontrol write extension "[{"data":"1718"}]" 1 0
9393
On TH1(Chiptool), Verify AccessControl cluster Extension attribute, value is list of AccessControlExtensionStruct containing 1 element
9494
9595
217.510779][2371:2376] CHIP:DMG: AttributePathIB =
@@ -162,11 +162,10 @@ tests:
162162
- label:
163163
"TH1 writes DUT Endpoint 0 AccessControl cluster Extension attribute,
164164
value is list of AccessControlExtensionStruct containing 1 element
165-
1.struct Data field: D_OK_SINGLE
166-
17D00000F1FF01003D48656C6C6F20576F726C642E205468697320697320612073696E676C6520656C656D656E74206C6976696E6720617320612063686172737472696E670018"
165+
struct Data field: D_OK_SINGLE"
167166
PICS: ACL.S.A0001
168167
verification: |
169-
./chip-tool accesscontrol write extension '[{"data":"17D00000F1FF01003D48656C6C6F20576F726C642E205468697320697320612073696E676C6520656C656D656E74206C6976696E6720617320612063686172737472696E670018"}]' 1 0
168+
./chip-tool accesscontrol write extension "[{"data":"17D00000F1FF01003D48656C6C6F20576F726C642E205468697320697320612073696E676C6520656C656D656E74206C6976696E6720617320612063686172737472696E670018"}]" 1 0
170169
On TH1(Chiptool) , Verify Successfully extension attribute list containing one element
171170
7284747.131523][2411:2416] CHIP:DMG: StatusIB =
172171
[1657284747.131568][2411:2416] CHIP:DMG: {
@@ -243,11 +242,10 @@ tests:
243242
- label:
244243
"TH1 writes DUT Endpoint 0 AccessControl cluster Extension attribute,
245244
value is list of AccessControlExtensionStruct containing 1 element
246-
1.struct Data field: D_BAD_LENGTH
247-
17D00000F1FF01003D48656C6C6F20576F726C642E205468697320697320612073696E676C6520656C656D656E74206C6976696E6720617320612063686172737472696E6700D00000F1FF02003248656C6C6F20576F726C642E205468697320697320612073696E676C6520656C656D656E7420616761696E2E2E2E2E2E2E0018"
245+
struct Data field: D_BAD_LENGTH"
248246
PICS: ACL.S.A0001
249247
verification: |
250-
./chip-tool accesscontrol write extension '[{"data":"17D00000F1FF01003D48656C6C6F20576F726C642E205468697320697320612073696E676C6520656C656D656E74206C6976696E6720617320612063686172737472696E6700D00000F1FF02003248656C6C6F20576F726C642E205468697320697320612073696E676C6520656C656D656E7420616761696E2E2E2E2E2E2E0018"}]' 1 0
248+
./chip-tool accesscontrol write extension "[{"data":"17D00000F1FF01003D48656C6C6F20576F726C642E205468697320697320612073696E676C6520656C656D656E74206C6976696E6720617320612063686172737472696E6700D00000F1FF02003248656C6C6F20576F726C642E205468697320697320612073696E676C6520656C656D656E7420616761696E2E2E2E2E2E2E0018"}]" 1 0
251249
252250
On TH1(Chiptool) , Verify AccessControl cluster Extension attribute value is list of AccessControlExtensionStruct containing 1 element Data, exceeds maximum length.
253251
@@ -296,12 +294,11 @@ tests:
296294

297295
- label:
298296
"TH1 writes DUT Endpoint 0 AccessControl cluster Extension attribute,
299-
value is list of AccessControlExtensionStruct containing 2 elements 1.
300-
struct Data field: D_OK_EMPTY :1718 2.struct Data field: D_OK_SINGLE
301-
:17D00000F1FF01003D48656C6C6F20576F726C642E205468697320697320612073696E676C6520656C656D656E74206C6976696E6720617320612063686172737472696E670018"
297+
value is list of AccessControlExtensionStruct containing 2 elements
298+
struct Data field: D_OK_EMPTY struct Data field: D_OK_SINGLE"
302299
PICS: ACL.S.A0001
303300
verification: |
304-
./chip-tool accesscontrol write extension '[{"data":"1718"},{"data":"17D00000F1FF01003D48656C6C6F20576F726C642E205468697320697320612073696E676C6520656C656D656E74206C6976696E6720617320612063686172737472696E670018"}]' 1 0
301+
./chip-tool accesscontrol write extension "[{"data":"1718"},{"data":"17D00000F1FF01003D48656C6C6F20576F726C642E205468697320697320612073696E676C6520656C656D656E74206C6976696E6720617320612063686172737472696E670018"}]" 1 0
305302
306303
On TH1(Chiptool) , Verify AccessControl cluster Extension attribute, value is list of AccessControlExtensionStruct containing 2 elements Returns 0x87 (CONSTRAINT_ERROR)-as there are more than 1 entry
307304
@@ -354,7 +351,8 @@ tests:
354351
value is an empty list"
355352
PICS: ACL.S.A0001
356353
verification: |
357-
./chip-tool accesscontrol write extension '[]' 1 0
354+
./chip-tool accesscontrol write extension "[]" 1 0
355+
358356
On TH1(Chiptool) , Verify AccessControl cluster Extension attribute, value is an empty list
359357
360358
@@ -382,6 +380,7 @@ tests:
382380
PICS: ACL.S.E01
383381
verification: |
384382
./chip-tool accesscontrol read-event access-control-extension-changed 1 0
383+
385384
On TH1(Chiptool) , Verify AccessControl cluster AccessControlExtensionChanged event containing at least 1 new element
386385
387386
[1661428343.982081][23629:23634] CHIP:TOO: Event number: 9

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

+13-11
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,11 @@ tests:
3737
- label: "DUT reads VendorName from the TH"
3838
PICS: BRBINFO.C.A0001
3939
verification: |
40-
./chip-tool bridgeddevicebasic read vendor-name 1 3
40+
./chip-tool bridgeddevicebasicinformation read vendor-name 1 3
4141
4242
Optional Attribute - If it is supported, then in TH(bridge-app) log it will results in displaying the ReportDataMessage , else it will display UNSUPPORTED_ATTRIBUTE
4343
44+
4445
Example Log:
4546
[1663582949.056686][155023:155023] CHIP:DMG:
4647
[1663582949.056724][155023:155023] CHIP:DMG: ReportDataMessage =
@@ -127,7 +128,7 @@ tests:
127128
- label: "DUT reads ProductName from the TH"
128129
PICS: BRBINFO.C.A0003
129130
verification: |
130-
./chip-tool bridgeddevicebasic read product-name 1 3
131+
./chip-tool bridgeddevicebasicinformation read product-name 1 3
131132
132133
Optional Attribute - If it is supported, then in TH(bridge-app) log it will results in displaying the ReportDataMessage , else it will display UNSUPPORTED_ATTRIBUTE
133134
@@ -227,7 +228,7 @@ tests:
227228
- label: "DUT reads HardwareVersion from the TH"
228229
PICS: BRBINFO.C.A0007
229230
verification: |
230-
./chip-tool bridgeddevicebasic read hardware-version 1 3
231+
./chip-tool bridgeddevicebasicinformation read hardware-version 1 3
231232
232233
Optional Attribute - If it is supported, then in TH(bridge-app) log it will results in displaying the ReportDataMessage , else it will display UNSUPPORTED_ATTRIBUTE
233234
@@ -274,7 +275,7 @@ tests:
274275
- label: "DUT reads HardwareVersionString from the TH"
275276
PICS: BRBINFO.C.A0008
276277
verification: |
277-
./chip-tool bridgeddevicebasic read hardware-version-string 1 3
278+
./chip-tool bridgeddevicebasicinformation read hardware-version-string 1 3
278279
279280
Optional Attribute - If it is supported, then in TH(bridge-app) log it will results in displaying the ReportDataMessage , else it will display UNSUPPORTED_ATTRIBUTE
280281
@@ -319,10 +320,11 @@ tests:
319320
- label: "DUT reads SoftwareVersion from the TH"
320321
PICS: BRBINFO.C.A0009
321322
verification: |
322-
./chip-tool bridgeddevicebasic read software-version 1 3
323+
./chip-tool bridgeddevicebasicinformation read software-version 1 3
323324
324325
Optional Attribute - If it is supported, then in TH(bridge-app) log it will results in displaying the ReportDataMessage , else it will display UNSUPPORTED_ATTRIBUTE
325326
327+
326328
Example Log:
327329
328330
[1663658830.077037][3274:3274] CHIP:DMG: ReportDataMessage =
@@ -411,7 +413,7 @@ tests:
411413
- label: "DUT reads ManufacturingDate from the TH"
412414
PICS: BRBINFO.C.A000b
413415
verification: |
414-
./chip-tool bridgeddevicebasic read manufacturing-date 1 3
416+
./chip-tool bridgeddevicebasicinformation read manufacturing-date 1 3
415417
416418
Optional Attribute - If it is supported, then in TH(bridge-app) log it will results in displaying the ReportDataMessage , else it will display UNSUPPORTED_ATTRIBUTE
417419
@@ -456,7 +458,7 @@ tests:
456458
- label: "DUT reads PartNumber from the TH"
457459
PICS: BRBINFO.C.A000c
458460
verification: |
459-
./chip-tool bridgeddevicebasic read part-number 1 3
461+
./chip-tool bridgeddevicebasicinformation read part-number 1 3
460462
461463
Optional Attribute - If it is supported, then in TH(bridge-app) log it will results in displaying the ReportDataMessage , else it will display UNSUPPORTED_ATTRIBUTE
462464
@@ -502,7 +504,7 @@ tests:
502504
- label: "DUT reads ProductURL from the TH"
503505
PICS: BRBINFO.C.A000d
504506
verification: |
505-
./chip-tool bridgeddevicebasic read product-url 1 3
507+
./chip-tool bridgeddevicebasicinformation read product-url 1 3
506508
507509
Optional Attribute - If it is supported, then in TH(bridge-app) log it will results in displaying the ReportDataMessage , else it will display UNSUPPORTED_ATTRIBUTE
508510
@@ -548,7 +550,7 @@ tests:
548550
- label: "DUT reads ProductLabel from the TH"
549551
PICS: BRBINFO.C.A000e
550552
verification: |
551-
./chip-tool bridgeddevicebasic read product-label 1 3
553+
./chip-tool bridgeddevicebasicinformation read product-label 1 3
552554
553555
Optional Attribute - If it is supported, then in TH(bridge-app) log it will results in displaying the ReportDataMessage , else it will display UNSUPPORTED_ATTRIBUTE
554556
@@ -641,7 +643,7 @@ tests:
641643
- label: "DUT reads Reachable from the TH"
642644
PICS: BRBINFO.C.A0011
643645
verification: |
644-
./chip-tool bridgeddevicebasic read reachable 1 3
646+
./chip-tool bridgeddevicebasicinformation read reachable 1 3
645647
646648
Verify ReadRequestMessage is displayed on TH(bridge-app) Log
647649
[1663659103.609502][3274:3274] CHIP:DMG:
@@ -682,7 +684,7 @@ tests:
682684
- label: "DUT reads UniqueID from the TH"
683685
PICS: BRBINFO.C.A0012
684686
verification: |
685-
./chip-tool bridgeddevicebasic read unique-id 1 3
687+
./chip-tool bridgeddevicebasicinformation read unique-id 1 3
686688
687689
Optional Attribute - If it is supported, then in TH(bridge-app) log it will results in displaying the ReportDataMessage , else it will display UNSUPPORTED_ATTRIBUTE
688690
Example Log:

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

+4-4
Original file line numberDiff line numberDiff line change
@@ -492,14 +492,14 @@ tests:
492492
verification: |
493493
For Bridged Device Basic Information cluster, ref the test plan (https://github.com/CHIP-Specifications/chip-test-plans/blob/master/src/cluster/bridged_device_basic_information.adoc)
494494
495-
./chip-tool bridgeddevicebasic read reachable 1 3
495+
./chip-tool bridgeddevicebasicinformation read reachable 1 3
496496
497497
Verify reachable attribute is read successfully in TH(chip-tool) Log
498498
499499
[1657003614.269096][4564:4569] CHIP:TOO: Endpoint: 3 Cluster: 0x0000_0039 Attribute 0x0000_0011 DataVersion: 1897994097
500500
[1657003614.269155][4564:4569] CHIP:TOO: Reachable: TRUE
501501
502-
./chip-tool bridgeddevicebasic read node-label 1 4
502+
./chip-tool bridgeddevicebasicinformation read node-label 1 4
503503
504504
Verify Node-label is read sucessfully in TH(chip-tool) Log
505505
@@ -515,7 +515,7 @@ tests:
515515
Configuration cluster refers to"
516516
PICS: MCORE.BRIDGE && MCORE.BRIDGE.BatInfo
517517
verification: |
518-
For Power Source Configuration and Power Source clusters, ref the test plan - Link1: https://github.com/CHIP-Specifications/chip-test-plans/blob/master/src/bridge.adoc#testplan_PowerSourceConfiguration Link2: https://github.com/CHIP-Specifications/chip-test-plans/blob/master/src/bridge.adoc#testplan_PowerSource
518+
For Power Source Configuration and Power Source clusters, ref the test plan - Link Link2
519519
520520
None of the endpoints listed in step 2b supports Power Source Configuration cluster and Power Source cluster.
521521
@@ -676,7 +676,7 @@ tests:
676676
which is an actuator (e.g. light, window covering)"
677677
PICS: MCORE.BRIDGE
678678
verification: |
679-
From Step 5 output , choose one of the device type and identify the device from the device(https://github.com/CHIP-Specifications/connectedhomeip-spec/blob/master/src/device_types/section_Application-Device-Types.adoc) library.
679+
From Step 5 output , choose one of the device type and identify the device from the device library.
680680
For Ex: on-off cluster has been taken as example to run tfurther steps
681681
disabled: true
682682

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ tests:
3434
- label: "TH_CR1 starts a commissioning process with DUT_CE"
3535
PICS: CADMIN.S
3636
verification: |
37-
"1. Provision the device using TH_CR1 -chip tool(use above instructions) ,"
37+
"1. Provision the device using TH_CR1 -chip tool(use above instructions) , "
3838
3939
./chip-tool operationalcredentials read supported-fabrics 1 0
4040
@@ -98,7 +98,7 @@ tests:
9898
disabled: true
9999

100100
- label:
101-
"THn starts a commissioning process and opens a commissioning window
101+
"THn_1 starts a commissioning process and opens a commissioning window
102102
with DUT_CE"
103103
PICS: CADMIN.S
104104
verification: |

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ tests:
3535
- label: "TH_CR1 starts a commissioning process with DUT_CE"
3636
PICS: CADMIN.S
3737
verification: |
38-
"1. Provision the device using TH_CR1 - chip tool(use above instructions) ,"
38+
"1. Provision the device using TH_CR1 -chip tool(use above instructions) , "
3939
4040
./chip-tool operationalcredentials read supported-fabrics 1 0
4141
@@ -118,7 +118,7 @@ tests:
118118
disabled: true
119119

120120
- label:
121-
"THn starts a commissioning process and opens a commissioning window
121+
"THn_1 starts a commissioning process and opens a commissioning window
122122
with DUT_CE"
123123
PICS: CADMIN.S.C01.Rsp
124124
verification: |

0 commit comments

Comments
 (0)