Skip to content

Commit

Permalink
Added updated manual scripts (#24812)
Browse files Browse the repository at this point in the history
* Added updated manual scripts

* Restyled by whitespace

* Restyled by prettier-yaml

---------

Co-authored-by: Restyled.io <[email protected]>
  • Loading branch information
2 people authored and pull[bot] committed Jun 24, 2023
1 parent e1ae00c commit 1270795
Show file tree
Hide file tree
Showing 24 changed files with 1,020 additions and 1,170 deletions.
27 changes: 13 additions & 14 deletions src/app/tests/suites/certification/Test_TC_ACL_2_5.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ tests:

- label: "TH1 commissions DUT using admin node ID N1"
verification: |
DUT is commissioned on TH1 fabric
disabled: true

- label:
Expand Down Expand Up @@ -86,10 +86,10 @@ tests:
- label:
"TH1 writes DUT Endpoint 0 AccessControl cluster Extension attribute,
value is list of AccessControlExtensionStruct containing 1 element
1.struct Data field: D_OK_EMPTY : 1718"
struct Data field: D_OK_EMPTY"
PICS: ACL.S.A0001
verification: |
./chip-tool accesscontrol write extension '[{"data":"1718"}]' 1 0
./chip-tool accesscontrol write extension "[{"data":"1718"}]" 1 0
On TH1(Chiptool), Verify AccessControl cluster Extension attribute, value is list of AccessControlExtensionStruct containing 1 element
217.510779][2371:2376] CHIP:DMG: AttributePathIB =
Expand Down Expand Up @@ -162,11 +162,10 @@ tests:
- label:
"TH1 writes DUT Endpoint 0 AccessControl cluster Extension attribute,
value is list of AccessControlExtensionStruct containing 1 element
1.struct Data field: D_OK_SINGLE
17D00000F1FF01003D48656C6C6F20576F726C642E205468697320697320612073696E676C6520656C656D656E74206C6976696E6720617320612063686172737472696E670018"
struct Data field: D_OK_SINGLE"
PICS: ACL.S.A0001
verification: |
./chip-tool accesscontrol write extension '[{"data":"17D00000F1FF01003D48656C6C6F20576F726C642E205468697320697320612073696E676C6520656C656D656E74206C6976696E6720617320612063686172737472696E670018"}]' 1 0
./chip-tool accesscontrol write extension "[{"data":"17D00000F1FF01003D48656C6C6F20576F726C642E205468697320697320612073696E676C6520656C656D656E74206C6976696E6720617320612063686172737472696E670018"}]" 1 0
On TH1(Chiptool) , Verify Successfully extension attribute list containing one element
7284747.131523][2411:2416] CHIP:DMG: StatusIB =
[1657284747.131568][2411:2416] CHIP:DMG: {
Expand Down Expand Up @@ -243,11 +242,10 @@ tests:
- label:
"TH1 writes DUT Endpoint 0 AccessControl cluster Extension attribute,
value is list of AccessControlExtensionStruct containing 1 element
1.struct Data field: D_BAD_LENGTH
17D00000F1FF01003D48656C6C6F20576F726C642E205468697320697320612073696E676C6520656C656D656E74206C6976696E6720617320612063686172737472696E6700D00000F1FF02003248656C6C6F20576F726C642E205468697320697320612073696E676C6520656C656D656E7420616761696E2E2E2E2E2E2E0018"
struct Data field: D_BAD_LENGTH"
PICS: ACL.S.A0001
verification: |
./chip-tool accesscontrol write extension '[{"data":"17D00000F1FF01003D48656C6C6F20576F726C642E205468697320697320612073696E676C6520656C656D656E74206C6976696E6720617320612063686172737472696E6700D00000F1FF02003248656C6C6F20576F726C642E205468697320697320612073696E676C6520656C656D656E7420616761696E2E2E2E2E2E2E0018"}]' 1 0
./chip-tool accesscontrol write extension "[{"data":"17D00000F1FF01003D48656C6C6F20576F726C642E205468697320697320612073696E676C6520656C656D656E74206C6976696E6720617320612063686172737472696E6700D00000F1FF02003248656C6C6F20576F726C642E205468697320697320612073696E676C6520656C656D656E7420616761696E2E2E2E2E2E2E0018"}]" 1 0
On TH1(Chiptool) , Verify AccessControl cluster Extension attribute value is list of AccessControlExtensionStruct containing 1 element Data, exceeds maximum length.
Expand Down Expand Up @@ -296,12 +294,11 @@ tests:

- label:
"TH1 writes DUT Endpoint 0 AccessControl cluster Extension attribute,
value is list of AccessControlExtensionStruct containing 2 elements 1.
struct Data field: D_OK_EMPTY :1718 2.struct Data field: D_OK_SINGLE
:17D00000F1FF01003D48656C6C6F20576F726C642E205468697320697320612073696E676C6520656C656D656E74206C6976696E6720617320612063686172737472696E670018"
value is list of AccessControlExtensionStruct containing 2 elements
struct Data field: D_OK_EMPTY struct Data field: D_OK_SINGLE"
PICS: ACL.S.A0001
verification: |
./chip-tool accesscontrol write extension '[{"data":"1718"},{"data":"17D00000F1FF01003D48656C6C6F20576F726C642E205468697320697320612073696E676C6520656C656D656E74206C6976696E6720617320612063686172737472696E670018"}]' 1 0
./chip-tool accesscontrol write extension "[{"data":"1718"},{"data":"17D00000F1FF01003D48656C6C6F20576F726C642E205468697320697320612073696E676C6520656C656D656E74206C6976696E6720617320612063686172737472696E670018"}]" 1 0
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
Expand Down Expand Up @@ -354,7 +351,8 @@ tests:
value is an empty list"
PICS: ACL.S.A0001
verification: |
./chip-tool accesscontrol write extension '[]' 1 0
./chip-tool accesscontrol write extension "[]" 1 0
On TH1(Chiptool) , Verify AccessControl cluster Extension attribute, value is an empty list
Expand Down Expand Up @@ -382,6 +380,7 @@ tests:
PICS: ACL.S.E01
verification: |
./chip-tool accesscontrol read-event access-control-extension-changed 1 0
On TH1(Chiptool) , Verify AccessControl cluster AccessControlExtensionChanged event containing at least 1 new element
[1661428343.982081][23629:23634] CHIP:TOO: Event number: 9
Expand Down
24 changes: 13 additions & 11 deletions src/app/tests/suites/certification/Test_TC_BRBINFO_2_3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,11 @@ tests:
- label: "DUT reads VendorName from the TH"
PICS: BRBINFO.C.A0001
verification: |
./chip-tool bridgeddevicebasic read vendor-name 1 3
./chip-tool bridgeddevicebasicinformation read vendor-name 1 3
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
Example Log:
[1663582949.056686][155023:155023] CHIP:DMG:
[1663582949.056724][155023:155023] CHIP:DMG: ReportDataMessage =
Expand Down Expand Up @@ -127,7 +128,7 @@ tests:
- label: "DUT reads ProductName from the TH"
PICS: BRBINFO.C.A0003
verification: |
./chip-tool bridgeddevicebasic read product-name 1 3
./chip-tool bridgeddevicebasicinformation read product-name 1 3
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
Expand Down Expand Up @@ -227,7 +228,7 @@ tests:
- label: "DUT reads HardwareVersion from the TH"
PICS: BRBINFO.C.A0007
verification: |
./chip-tool bridgeddevicebasic read hardware-version 1 3
./chip-tool bridgeddevicebasicinformation read hardware-version 1 3
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
Expand Down Expand Up @@ -274,7 +275,7 @@ tests:
- label: "DUT reads HardwareVersionString from the TH"
PICS: BRBINFO.C.A0008
verification: |
./chip-tool bridgeddevicebasic read hardware-version-string 1 3
./chip-tool bridgeddevicebasicinformation read hardware-version-string 1 3
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
Expand Down Expand Up @@ -319,10 +320,11 @@ tests:
- label: "DUT reads SoftwareVersion from the TH"
PICS: BRBINFO.C.A0009
verification: |
./chip-tool bridgeddevicebasic read software-version 1 3
./chip-tool bridgeddevicebasicinformation read software-version 1 3
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
Example Log:
[1663658830.077037][3274:3274] CHIP:DMG: ReportDataMessage =
Expand Down Expand Up @@ -411,7 +413,7 @@ tests:
- label: "DUT reads ManufacturingDate from the TH"
PICS: BRBINFO.C.A000b
verification: |
./chip-tool bridgeddevicebasic read manufacturing-date 1 3
./chip-tool bridgeddevicebasicinformation read manufacturing-date 1 3
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
Expand Down Expand Up @@ -456,7 +458,7 @@ tests:
- label: "DUT reads PartNumber from the TH"
PICS: BRBINFO.C.A000c
verification: |
./chip-tool bridgeddevicebasic read part-number 1 3
./chip-tool bridgeddevicebasicinformation read part-number 1 3
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
Expand Down Expand Up @@ -502,7 +504,7 @@ tests:
- label: "DUT reads ProductURL from the TH"
PICS: BRBINFO.C.A000d
verification: |
./chip-tool bridgeddevicebasic read product-url 1 3
./chip-tool bridgeddevicebasicinformation read product-url 1 3
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
Expand Down Expand Up @@ -548,7 +550,7 @@ tests:
- label: "DUT reads ProductLabel from the TH"
PICS: BRBINFO.C.A000e
verification: |
./chip-tool bridgeddevicebasic read product-label 1 3
./chip-tool bridgeddevicebasicinformation read product-label 1 3
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
Expand Down Expand Up @@ -641,7 +643,7 @@ tests:
- label: "DUT reads Reachable from the TH"
PICS: BRBINFO.C.A0011
verification: |
./chip-tool bridgeddevicebasic read reachable 1 3
./chip-tool bridgeddevicebasicinformation read reachable 1 3
Verify ReadRequestMessage is displayed on TH(bridge-app) Log
[1663659103.609502][3274:3274] CHIP:DMG:
Expand Down Expand Up @@ -682,7 +684,7 @@ tests:
- label: "DUT reads UniqueID from the TH"
PICS: BRBINFO.C.A0012
verification: |
./chip-tool bridgeddevicebasic read unique-id 1 3
./chip-tool bridgeddevicebasicinformation read unique-id 1 3
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
Example Log:
Expand Down
8 changes: 4 additions & 4 deletions src/app/tests/suites/certification/Test_TC_BR_1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -492,14 +492,14 @@ tests:
verification: |
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)
./chip-tool bridgeddevicebasic read reachable 1 3
./chip-tool bridgeddevicebasicinformation read reachable 1 3
Verify reachable attribute is read successfully in TH(chip-tool) Log
[1657003614.269096][4564:4569] CHIP:TOO: Endpoint: 3 Cluster: 0x0000_0039 Attribute 0x0000_0011 DataVersion: 1897994097
[1657003614.269155][4564:4569] CHIP:TOO: Reachable: TRUE
./chip-tool bridgeddevicebasic read node-label 1 4
./chip-tool bridgeddevicebasicinformation read node-label 1 4
Verify Node-label is read sucessfully in TH(chip-tool) Log
Expand All @@ -515,7 +515,7 @@ tests:
Configuration cluster refers to"
PICS: MCORE.BRIDGE && MCORE.BRIDGE.BatInfo
verification: |
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
For Power Source Configuration and Power Source clusters, ref the test plan - Link Link2
None of the endpoints listed in step 2b supports Power Source Configuration cluster and Power Source cluster.
Expand Down Expand Up @@ -676,7 +676,7 @@ tests:
which is an actuator (e.g. light, window covering)"
PICS: MCORE.BRIDGE
verification: |
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.
From Step 5 output , choose one of the device type and identify the device from the device library.
For Ex: on-off cluster has been taken as example to run tfurther steps
disabled: true

Expand Down
4 changes: 2 additions & 2 deletions src/app/tests/suites/certification/Test_TC_CADMIN_1_19.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ tests:
- label: "TH_CR1 starts a commissioning process with DUT_CE"
PICS: CADMIN.S
verification: |
"1. Provision the device using TH_CR1 -chip tool(use above instructions) ,"
"1. Provision the device using TH_CR1 -chip tool(use above instructions) , "
./chip-tool operationalcredentials read supported-fabrics 1 0
Expand Down Expand Up @@ -98,7 +98,7 @@ tests:
disabled: true

- label:
"THn starts a commissioning process and opens a commissioning window
"THn_1 starts a commissioning process and opens a commissioning window
with DUT_CE"
PICS: CADMIN.S
verification: |
Expand Down
4 changes: 2 additions & 2 deletions src/app/tests/suites/certification/Test_TC_CADMIN_1_20.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ tests:
- label: "TH_CR1 starts a commissioning process with DUT_CE"
PICS: CADMIN.S
verification: |
"1. Provision the device using TH_CR1 - chip tool(use above instructions) ,"
"1. Provision the device using TH_CR1 -chip tool(use above instructions) , "
./chip-tool operationalcredentials read supported-fabrics 1 0
Expand Down Expand Up @@ -118,7 +118,7 @@ tests:
disabled: true

- label:
"THn starts a commissioning process and opens a commissioning window
"THn_1 starts a commissioning process and opens a commissioning window
with DUT_CE"
PICS: CADMIN.S.C01.Rsp
verification: |
Expand Down
Loading

0 comments on commit 1270795

Please sign in to comment.