Skip to content

Commit

Permalink
[TC-DRLK-2.10] Add cleanup of Lock User created in step 5a (project-c…
Browse files Browse the repository at this point in the history
…hip#28642)

* [TC-DRLK-2.10] Add cleanup of Lock User created in step 5a. Fix typo in instructions.

Fixes CHIP-Specifications/chip-test-plans#3291

* Restyled by prettier-yaml

---------

Co-authored-by: Restyled.io <[email protected]>
  • Loading branch information
2 people authored and HunsupJung committed Oct 23, 2023
1 parent 35b19da commit 05ba50e
Showing 1 changed file with 32 additions and 3 deletions.
35 changes: 32 additions & 3 deletions src/app/tests/suites/certification/Test_TC_DRLK_2_10.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,7 @@ tests:

- label:
"Step 5a: TH sends Set User Command to DUT with the following values:
OperationType as 0-Add UserIndex as 2( Different from an existing
OperationType as 0-Add UserIndex as 4( Different from an existing
UserIndex) UserName as xxx UserUniqueID as 6452 UserStatus as
1-OccupiedEnabled UserType as 0-UnrestrictedUser CredentialRule as
0-Single"
Expand Down Expand Up @@ -697,7 +697,34 @@ tests:
[1658223096.125372][4517:4522] CHIP:TOO: }
disabled: true

- label: "Step 5g: TH sends Clear Credential Command to DUT"
- label:
"Step 5g: TH sends Clear User Command to DUT for user created in Step
5a"
PICS: DRLK.S.C1d.Rsp
verification: |
./chip-tool doorlock clear-user 4 1 1 --timedInteractionTimeoutMs 1000
Via the TH (chip-tool), verify the SUCCESS response for clearing the users details.
[1658142762.492854][2993:2998] CHIP:DMG:
[1658142762.492888][2993:2998] CHIP:DMG: StatusIB =
[1658142762.492920][2993:2998] CHIP:DMG: {
[1658142762.492957][2993:2998] CHIP:DMG: status = 0x00 (SUCCESS),
[1658142762.492994][2993:2998] CHIP:DMG: },
[1658142762.493026][2993:2998] CHIP:DMG:
[1658142762.493060][2993:2998] CHIP:DMG: },
[1658142762.493097][2993:2998] CHIP:DMG:
[1658142762.493125][2993:2998] CHIP:DMG: },
[1658142762.493158][2993:2998] CHIP:DMG:
[1658142762.493182][2993:2998] CHIP:DMG: ],
[1658142762.493211][2993:2998] CHIP:DMG:
[1658142762.493235][2993:2998] CHIP:DMG: InteractionModelRevision = 1
[1658142762.493258][2993:2998] CHIP:DMG: },
disabled: true

- label:
"Step 6a: TH sends Clear Credential Command to DUT for Credential
created in Step 3a"
PICS: DRLK.S.C26.Rsp
verification: |
./chip-tool doorlock clear-credential '{ "credentialType" : 1 , "credentialIndex" : 1 }' 1 1 --timedInteractionTimeoutMs 1000
Expand All @@ -721,7 +748,9 @@ tests:
[1658142697.890616][2985:2990] CHIP:DMG: ICR moving to [AwaitingDe]
disabled: true

- label: "Step 5h: TH sends Clear User Command to DUT"
- label:
"Step 6b: TH sends Clear User Command to DUT for User created in Step
3a"
PICS: DRLK.S.C1d.Rsp
verification: |
./chip-tool doorlock clear-user 1 1 1 --timedInteractionTimeoutMs 1000
Expand Down

0 comments on commit 05ba50e

Please sign in to comment.