Skip to content

Commit

Permalink
TC-OPCREDS-3.7: support DUTs with existing fabrics (project-chip#33511)
Browse files Browse the repository at this point in the history
* TC-OPCREDS-3.7: support DUTs with existing fabrics

* Restyled by prettier-yaml

---------

Co-authored-by: Restyled.io <commits@restyled.io>
  • Loading branch information
2 people authored and raju-apple committed Jun 5, 2024
1 parent 4acd304 commit 8133fe2
Showing 1 changed file with 21 additions and 12 deletions.
33 changes: 21 additions & 12 deletions src/app/tests/suites/certification/Test_TC_OPCREDS_3_7.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,15 +65,14 @@ tests:
saveAs: TH1_Fabric_Index

- label:
"Step 3.2: TH1 does a non-fabric-filtered read of the Fabrics
attribute from the Node Operational Credentials cluster. Save the
FabricIndex for TH1 as TH1_Fabric_Index for future use."
PICS: OPCREDS.S.A0001
"Step 3.2: TH1 does a fabric-filtered read of the Fabrics attribute
from the Node Operational Credentials cluster. Save the FabricIndex
for TH1 as TH1_Fabric_Index for future use."
identity: "alpha"
command: "readAttribute"
cluster: "Operational Credentials"
attribute: "Fabrics"
fabricFiltered: false
fabricFiltered: true
response:
value: [{ "FabricIndex": TH1_Fabric_Index, "Label": "" }]
constraints:
Expand Down Expand Up @@ -251,21 +250,31 @@ tests:

# verification: ""
- label:
"Step 13: TH2 does a non-fabric-filtered read of the Fabrics attribute
"Step 13a: TH1 does a fabric-filtered read of the Fabrics attribute
from the Node Operational Credentials cluster"
nodeId: 0x43211234
command: "readAttribute"
cluster: "Operational Credentials"
attribute: "Fabrics"
fabricFiltered: true
response:
value: [{ "FabricIndex": TH1_Fabric_Index, "Label": "" }]
constraints:
type: list

# verification: ""
- label:
"Step 13b: TH2 does a fabric-filtered read of the Fabrics attribute
from the Node Operational Credentials cluster"
PICS: OPCREDS.S.A0001
identity: "beta"
nodeId: 0x43211234
command: "readAttribute"
cluster: "Operational Credentials"
attribute: "Fabrics"
fabricFiltered: false
fabricFiltered: true
response:
value:
[
{ "FabricIndex": TH1_Fabric_Index, "Label": "" },
{ "FabricIndex": TH2_Fabric_Index, "Label": "" },
]
value: [{ "FabricIndex": TH2_Fabric_Index, "Label": "" }]
constraints:
type: list

Expand Down

0 comments on commit 8133fe2

Please sign in to comment.