Skip to content

Commit

Permalink
Modified manual automation scripts (project-chip#22100) (project-chip…
Browse files Browse the repository at this point in the history
…#22128)

* Modified Manual scripts
TC-BIND-2.*
TC-BR-4
TC-CADMIN-1.2

* Auto generated files

* Restyled by whitespace

* Restyled by prettier-yaml

* Modified Manual scripts

* Restyled by whitespace

Co-authored-by: Restyled.io <[email protected]>

Co-authored-by: manjunath-grl <[email protected]>
Co-authored-by: Restyled.io <[email protected]>
Co-authored-by: Andrei Litvin <[email protected]>
  • Loading branch information
4 people authored Aug 24, 2022
1 parent bdbcb40 commit 4c54c2f
Show file tree
Hide file tree
Showing 44 changed files with 1,746 additions and 1,429 deletions.
2 changes: 1 addition & 1 deletion src/app/tests/suites/certification/Test_TC_BIND_2_1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ tests:

- label: "TH1 enables DUT as Controller"
verification: |
verification step to be updated.
disabled: true

- label: "DUT is triggered to send On command to its binding node entries"
Expand Down
2 changes: 1 addition & 1 deletion src/app/tests/suites/certification/Test_TC_BIND_2_2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ tests:

- label: "TH1 enables DUT as Controller"
verification: |
verification step to be updated.
disabled: true

- label: "Commission TH2 to TH1s fabric (Node ID = 2)"
Expand Down
4 changes: 2 additions & 2 deletions src/app/tests/suites/certification/Test_TC_BIND_2_3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ tests:

- label: "TH1 enables DUT as Controller"
verification: |
verification step to be updated.
disabled: true

- label: "Commission TH2 to TH1s fabric (Node ID = 2)"
Expand Down Expand Up @@ -238,7 +238,7 @@ tests:

- label: "TH1 sets up group settings on DUT"
verification: |
verification step to be updated.
disabled: true

- label:
Expand Down
10 changes: 10 additions & 0 deletions src/app/tests/suites/certification/Test_TC_BINFO_2_1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ tests:
verification: |
While commissioning TH Saves the CountryCode Information from SetRegulatoryConfig command
./chip-tool pairing ble-wifi 1 GRLPrivate_EXT matter123 20202021 3840
TH END:
Expand All @@ -48,6 +49,15 @@ tests:
DUT END:
[1641381202.306840][4431:4431] CHIP:DL: NVS set: chip-config/regulatory-location = 0 (0x0)
After pairing, Verify the countrycode Information by reading location atrribute from TH to DUT.
./chip-tool basic read location 1 0
On TH, Verify that TH reads Location from the DUT successfully, the name should be string and length is less than or equal to 2 bytes.
[1656495999.760797][2249:2254] CHIP:DMG: }
[1656495999.761084][2249:2254] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0028 Attribute 0x0000_0006 DataVersion: 941124320
[1656495999.761187][2249:2254] CHIP:TOO: Location: XX
[1656495999.761371][2249:2254] CHIP:EM: Sending Standalone Ack for MessageCounter:7663506 on exchange 28126i
cluster: "LogCommands"
command: "UserPrompt"
PICS: PICS_USER_PROMPT
Expand Down
40 changes: 22 additions & 18 deletions src/app/tests/suites/certification/Test_TC_BR_4.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ tests:
1. Test Harness simulating a bridge with some bridged devices; can use the bridge-app for this purpose
2.DUT (client and commissioner)
disabled: true

- label:
Expand Down Expand Up @@ -752,7 +751,7 @@ tests:
[1659972886.386056][3652:3652] CHIP:DMG: <RE:Run> Cluster 1d, Attribute 3 is dirty
disabled: true

- label: ""
- label: "Verify DUT contains the (supported) devices from the above list"
PICS: MCORE.DEVLIST.UseDevices
verification: |
Verify DUT contains the (supported) devices from the above list
Expand Down Expand Up @@ -1404,7 +1403,10 @@ tests:
[1659972886.386056][3652:3652] CHIP:DMG: <RE:Run> Cluster 1d, Attribute 3 is dirty
disabled: true

- label: ""
- label:
"Verify DUT has (during step 1a) read the NodeLabel attribute from the
Bridged Device Basic Information cluster on various endpoints ,Verify
DUT contains the names for the (supported) devices from the above list"
PICS: MCORE.DEVLIST.UseDeviceNames
verification: |
NodeLabel is supported for endpoints 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13
Expand Down Expand Up @@ -1707,7 +1709,10 @@ tests:
[1659973028.617572][3652:3652] CHIP:DMG: <RE:Run> Cluster 39, Attribute 5 is dirty
disabled: true

- label: ""
- label:
"Verify DUT has read or reads OnOff attribute from the On/Off cluster
for the various endpoints containing an On/Off light ,Verify DUT
contains the state for the (supported) devices from the above list"
PICS: MCORE.DEVLIST.UseDeviceState
verification: |
Read onoff attribute from OnOff cluster with applicable EP (refer step 1a )
Expand Down Expand Up @@ -1768,7 +1773,12 @@ tests:
[1659973152.264922][3652:3652] CHIP:DMG: <RE:Run> Cluster 6, Attribute 0 is dirty
disabled: true

- label: ""
- label:
"Verify DUT has read or reads MeasuredValue attribute from the
Temperature Measurement cluster for the various endpoints containing a
Temperature Sensor (or receives updates because of a previously set up
subscription) ,Verify DUT contains the state for the (supported)
device from the above list"
PICS: MCORE.DEVLIST.UseDeviceState
verification: |
./chip-tool temperaturemeasurement read measured-value 1 4
Expand Down Expand Up @@ -1816,7 +1826,11 @@ tests:
[1659351542.393552][12212:12217] CHIP:EM: Sending Standalone Ack for MessageCounter:120981971 on exchange 25924i
disabled: true

- label: ""
- label:
"Verify DUT has read or reads BatChargeLevel attribute from the Power
Source cluster from the relevant endpoint (or receives updates because
of a previously set up subscription) ,Verify DUT contains the state of
the battery of the (supported) devices from the above list"
PICS: MCORE.DEVLIST.UseBatInfo
verification: |
./chip-tool powersource read bat-charge-level 1 9
Expand Down Expand Up @@ -1845,11 +1859,6 @@ tests:
[1659973227.631262][3652:3652] CHIP:DMG: <RE:Run> Cluster 402, Attribute 0 is dirty
disabled: true

- label: ""
verification: |
verification step to be updated.
disabled: true

- label:
"Use the DUT to change the on/off state of one or more of the bridged
On/Off lights"
Expand Down Expand Up @@ -1880,11 +1889,6 @@ tests:
[1659973152.264922][3652:3652] CHIP:DMG: <RE:Run> Cluster 6, Attribute 0 is dirty
disabled: true

- label: ""
verification: |
verification step to be updated.
disabled: true

- label:
"Use TH/bridge-app to rename a bridged light (use key b in the console
to bridge-app to rename Light 1 to Light 1b)"
Expand Down Expand Up @@ -1946,7 +1950,7 @@ tests:
[1659973028.617572][3652:3652] CHIP:DMG: <RE:Run> Cluster 39, Attribute 5 is dirty
disabled: true

- label: ""
- label: "Verify DUT contains the added device in the list of devices"
PICS: MCORE.DEVLIST.UseDeviceNames
verification: |
Verify on DUT(chip-tool) Log
Expand Down Expand Up @@ -2066,7 +2070,7 @@ tests:
[1659972694.733520][3652:3652] CHIP:DMG: AccessControl: allowed
disabled: true

- label: ""
- label: "Verify DUT contains the added device in the list of devices"
PICS: MCORE.DEVLIST.UseDevices
verification: |
Verify on DUT(chip-tool) Log
Expand Down
Loading

0 comments on commit 4c54c2f

Please sign in to comment.