Added test for presence of groups cluster in TC_S_2_2 (#34442)
diff --git a/src/app/tests/suites/certification/Test_TC_S_2_2.yaml b/src/app/tests/suites/certification/Test_TC_S_2_2.yaml
index ead80fe..81011a1 100644
--- a/src/app/tests/suites/certification/Test_TC_S_2_2.yaml
+++ b/src/app/tests/suites/certification/Test_TC_S_2_2.yaml
@@ -81,7 +81,20 @@
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"
@@ -103,7 +116,7 @@
}
- 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"
@@ -117,7 +130,7 @@
{ 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