Skip to content

Commit

Permalink
Added test for presence of groups cluster in TC_S_2_2 (#34442)
Browse files Browse the repository at this point in the history
  • Loading branch information
lpbeliveau-silabs authored and pull[bot] committed Oct 25, 2024
1 parent 671de29 commit 37010a6
Showing 1 changed file with 16 additions and 3 deletions.
19 changes: 16 additions & 3 deletions src/app/tests/suites/certification/Test_TC_S_2_2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,20 @@ tests:
value: maxScenesMinusOne / 2

- label:
"Step 0a :TH sends KeySetWrite command in the GroupKeyManagement
"Step 0a :TH reads attribute {ServerList} from the Descriptor cluster
of the endpoint that implements the Scenes Management server on the
DUT. DUT responds with a list of server clusters containing the groups
cluster."
cluster: "Descriptor"
command: "readAttribute"
attribute: "ServerList"
response:
constraints:
type: list
contains: [4]

- label:
"Step 0b :TH sends KeySetWrite command in the GroupKeyManagement
cluster to DUT using a key that is pre-installed on the TH.
GroupKeySet fields are as follows:"
cluster: "Group Key Management"
Expand All @@ -103,7 +116,7 @@ tests:
}

- label:
"Step 0b: TH binds GroupIds 0x0001 and 0x0002 with GroupKeySetID
"Step 0c: TH binds GroupIds 0x0001 and 0x0002 with GroupKeySetID
0x01a1 in the GroupKeyMap attribute list on GroupKeyManagement cluster
by writing the GroupKeyMap attribute with two entries as follows:"
cluster: "Group Key Management"
Expand All @@ -117,7 +130,7 @@ tests:
{ FabricIndex: 1, GroupId: G2, GroupKeySetID: 0x01a1 },
]

- label: "Step 0c: TH sends a RemoveAllGroups command to DUT."
- label: "Step 0d: TH sends a RemoveAllGroups command to DUT."
PICS: G.S.C04.Rsp
cluster: "Groups"
endpoint: endpoint
Expand Down

0 comments on commit 37010a6

Please sign in to comment.