Skip to content

Commit

Permalink
Split overloaded steps 1b and 2d in 2_6 and added fabric removal for …
Browse files Browse the repository at this point in the history
…TH2 and TH3 at the end (#32177)
  • Loading branch information
lpbeliveau-silabs committed Feb 16, 2024
1 parent 573511d commit 2d3a221
Showing 1 changed file with 47 additions and 9 deletions.
56 changes: 47 additions & 9 deletions src/app/tests/suites/certification/Test_TC_S_2_6.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ tests:
CHIP:TOO: }
disabled: true

- label: "Step 1b: Repeat Step 1a with TH2 and TH3."
- label: "Step 1b: Repeat Step 1a with TH2."
PICS: S.S.C03.Rsp
verification: |
./chip-tool scenesmanagement remove-all-scenes 0x0000 2 1 --commissioner-name beta
Expand All @@ -116,7 +116,11 @@ tests:
[1700826575.191974][15971:15973] CHIP:TOO: status: 0
[1700826575.191985][15971:15973] CHIP:TOO: groupID: 0
[1700826575.191995][15971:15973] CHIP:TOO: }
disabled: true

- label: "Step 1C: Repeat Step 1a with TH3."
PICS: S.S.C03.Rsp
verification: |
./chip-tool scenesmanagement remove-all-scenes 0x0000 3 1 --commissioner-name gamma
Verify the RemoveAllScenesResponse with following fields:
Expand Down Expand Up @@ -282,10 +286,10 @@ tests:
[1701242801.625919][7636:7638] CHIP:TOO: RemainingCapacity: 7
[1701242801.625930][7636:7638] CHIP:TOO: FabricIndex: 2
[1701242801.625941][7636:7638] CHIP:TOO: }
disabled: true

TH3:
- label: "Step 2e: Repeat Step 2b and 2c with TH3."
verification: |
Please use Interactive mode to Verify the subscription of an event
Here the command to enter interactive mode:--
./chip-tool interactive start
Expand Down Expand Up @@ -966,11 +970,11 @@ tests:
disabled: true

- label:
Verify that the DUT sends a report data to TH2 for FabricSceneInfo
after the MinIntervalFloor time; store the RemainingCapacity field
from this fabric’s entry reported in FabricSceneInfo into
Remaining2ndCapacity; verify Remaining2ndCapacity equals
(MaxRemainingCapacity).
"Step 10b: Verify that the DUT sends a report data to TH2 for
FabricSceneInfo after the MinIntervalFloor time; store the
RemainingCapacity field from this fabric’s entry reported in
FabricSceneInfo into Remaining2ndCapacity; verify Remaining2ndCapacity
equals (MaxRemainingCapacity)."
verification: |
./chip-tool scenesmanagement subscribe fabric-scene-info 100 200 2 1 --commissioner-name beta
Expand All @@ -989,3 +993,37 @@ tests:
[1705915866.717640][21433:21435] CHIP:TOO: }
disabled: true

- label:
"Step 11a: TH1 removes the TH2 fabric by sending the RemoveFabric
command to the DUT with the FabricIndex set to th2FabricIndex"
verification: |
./chip-tool operationalcredentials remove-fabric th2FabricIndex 1 0
On TH1(chip-tool) verify the success with the nocresponse with statuscode is success(0)
[1784416866.004187][21433:21435] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_003E Command=0x0000_0008
[1784416866.004214][21433:21435] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Command 0x0000_0008
[1784416866.004236][21433:21435] CHIP:TOO: NOCResponse: {
[1784416866.004250][21433:21435] CHIP:TOO: statusCode: 0
[1784416866.004255][21433:21435] CHIP:TOO: fabricIndex: th2FabricIndex
[1784416866.004259][21433:21435] CHIP:TOO: }
[1784416866.004270][21433:21435] CHIP:DMG: ICR moving to [AwaitingDe]
disabled: true

- label:
"Step 11b: TH1 removes the TH3 fabric by sending the RemoveFabric
command to the DUT with the FabricIndex set to th3FabricIndex"
verification: |
./chip-tool operationalcredentials remove-fabric th3FabricIndex 1 0
On TH1(chip-tool) verify the success with the nocresponse with statuscode is success(0)
[1784416866.004187][21433:21435] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_003E Command=0x0000_0008
[1784416866.004214][21433:21435] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Command 0x0000_0008
[1784416866.004236][21433:21435] CHIP:TOO: NOCResponse: {
[1784416866.004250][21433:21435] CHIP:TOO: statusCode: 0
[1784416866.004255][21433:21435] CHIP:TOO: fabricIndex: th3FabricIndex
[1784416866.004259][21433:21435] CHIP:TOO: }
[1784416866.004270][21433:21435] CHIP:DMG: ICR moving to [AwaitingDe]
disabled: true

0 comments on commit 2d3a221

Please sign in to comment.