Skip to content

Commit 27a653c

Browse files
Added test for presence of groups cluster in TC_S_2_2 (#34442)
1 parent 99fd03d commit 27a653c

File tree

1 file changed

+16
-3
lines changed

1 file changed

+16
-3
lines changed

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

+16-3
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,20 @@ tests:
8181
value: maxScenesMinusOne / 2
8282

8383
- label:
84-
"Step 0a :TH sends KeySetWrite command in the GroupKeyManagement
84+
"Step 0a :TH reads attribute {ServerList} from the Descriptor cluster
85+
of the endpoint that implements the Scenes Management server on the
86+
DUT. DUT responds with a list of server clusters containing the groups
87+
cluster."
88+
cluster: "Descriptor"
89+
command: "readAttribute"
90+
attribute: "ServerList"
91+
response:
92+
constraints:
93+
type: list
94+
contains: [4]
95+
96+
- label:
97+
"Step 0b :TH sends KeySetWrite command in the GroupKeyManagement
8598
cluster to DUT using a key that is pre-installed on the TH.
8699
GroupKeySet fields are as follows:"
87100
cluster: "Group Key Management"
@@ -103,7 +116,7 @@ tests:
103116
}
104117

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

120-
- label: "Step 0c: TH sends a RemoveAllGroups command to DUT."
133+
- label: "Step 0d: TH sends a RemoveAllGroups command to DUT."
121134
PICS: G.S.C04.Rsp
122135
cluster: "Groups"
123136
endpoint: endpoint

0 commit comments

Comments
 (0)