From e942959be7c4f4764e442cff7db23086a2f5f874 Mon Sep 17 00:00:00 2001 From: cecille Date: Fri, 17 May 2024 13:34:39 -0400 Subject: [PATCH 1/2] TC-OPCREDS-3.7: support DUTs with existing fabrics --- .../certification/Test_TC_OPCREDS_3_7.yaml | 26 +++++++++++++++---- 1 file changed, 21 insertions(+), 5 deletions(-) diff --git a/src/app/tests/suites/certification/Test_TC_OPCREDS_3_7.yaml b/src/app/tests/suites/certification/Test_TC_OPCREDS_3_7.yaml index f6751e03c3e283..b000d8d8a2c14d 100644 --- a/src/app/tests/suites/certification/Test_TC_OPCREDS_3_7.yaml +++ b/src/app/tests/suites/certification/Test_TC_OPCREDS_3_7.yaml @@ -63,14 +63,14 @@ tests: saveAs: TH1_Fabric_Index - label: - "Step 3.2: TH1 does a non-fabric-filtered read of the Fabrics + "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: @@ -237,18 +237,34 @@ 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" - identity: "beta" nodeId: 0x43211234 command: "readAttribute" cluster: "Operational Credentials" attribute: "Fabrics" - fabricFiltered: false + 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" + identity: "beta" + nodeId: 0x43211234 + command: "readAttribute" + cluster: "Operational Credentials" + attribute: "Fabrics" + fabricFiltered: true + response: + value: + [ { "FabricIndex": TH2_Fabric_Index, "Label": "" }, ] constraints: From 4686ee62396008e793902574783f982f6804f150 Mon Sep 17 00:00:00 2001 From: "Restyled.io" Date: Fri, 17 May 2024 21:18:18 +0000 Subject: [PATCH 2/2] Restyled by prettier-yaml --- .../certification/Test_TC_OPCREDS_3_7.yaml | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/src/app/tests/suites/certification/Test_TC_OPCREDS_3_7.yaml b/src/app/tests/suites/certification/Test_TC_OPCREDS_3_7.yaml index b000d8d8a2c14d..67dc552f1b2215 100644 --- a/src/app/tests/suites/certification/Test_TC_OPCREDS_3_7.yaml +++ b/src/app/tests/suites/certification/Test_TC_OPCREDS_3_7.yaml @@ -63,9 +63,9 @@ tests: saveAs: TH1_Fabric_Index - label: - "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." + "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" @@ -245,10 +245,7 @@ tests: attribute: "Fabrics" fabricFiltered: true response: - value: - [ - { "FabricIndex": TH1_Fabric_Index, "Label": "" }, - ] + value: [{ "FabricIndex": TH1_Fabric_Index, "Label": "" }] constraints: type: list @@ -263,10 +260,7 @@ tests: attribute: "Fabrics" fabricFiltered: true response: - value: - [ - { "FabricIndex": TH2_Fabric_Index, "Label": "" }, - ] + value: [{ "FabricIndex": TH2_Fabric_Index, "Label": "" }] constraints: type: list