Skip to content

Commit

Permalink
[TC-DRLK-2.4] Handle DUT's that do not support USR & PIN features (#2…
Browse files Browse the repository at this point in the history
…9372)

* [TC-DRLK-2.4] Handle DUT's that do not support USR & PIN features

Fixes https://github.com/CHIP-Specifications/chip-test-plans/issues/3461

* Zap regen

* Restyled by prettier-yaml

---------

Co-authored-by: Restyled.io <[email protected]>
  • Loading branch information
2 people authored and pull[bot] committed Oct 27, 2023
1 parent 2a2832c commit 5649967
Show file tree
Hide file tree
Showing 2 changed files with 93 additions and 21 deletions.
23 changes: 21 additions & 2 deletions src/app/tests/suites/certification/Test_TC_DRLK_2_4.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ tests:

- label: "Create new user"
command: "SetUser"
PICS: DRLK.S.F08 && DRLK.S.F00
timedInteractionTimeoutMs: 1000
arguments:
values:
Expand All @@ -55,6 +56,7 @@ tests:

- label: "Read the user back and verify its fields"
command: "GetUser"
PICS: DRLK.S.F08 && DRLK.S.F00
arguments:
values:
- name: "UserIndex"
Expand Down Expand Up @@ -84,6 +86,7 @@ tests:

- label: "Create new PIN credential and lock/unlock user"
command: "SetCredential"
PICS: DRLK.S.F08 && DRLK.S.F00
timedInteractionTimeoutMs: 1000
arguments:
values:
Expand All @@ -109,6 +112,7 @@ tests:
value: 2

- label: "Verify created PIN credential"
PICS: DRLK.S.F08 && DRLK.S.F00
command: "GetCredentialStatus"
arguments:
values:
Expand Down Expand Up @@ -183,7 +187,8 @@ tests:
- label:
"Step 2b: TH sends the Unlock with Timeout argument value as 60
seconds"
PICS: DRLK.S.C03.Rsp && PICS_SKIP_SAMPLE_APP
PICS:
" DRLK.S.F08 && DRLK.S.F00 && DRLK.S.C03.Rsp && PICS_SKIP_SAMPLE_APP "
command: "UnlockWithTimeout"
timedInteractionTimeoutMs: 1000
arguments:
Expand All @@ -193,6 +198,19 @@ tests:
- name: "PINCode"
value: "123456"

- label:
"Step 2b: TH sends the Unlock with Timeout argument value as 60
seconds"
PICS:
" (!DRLK.S.F08 || !DRLK.S.F00) && DRLK.S.C03.Rsp &&
PICS_SKIP_SAMPLE_APP "
command: "UnlockWithTimeout"
timedInteractionTimeoutMs: 1000
arguments:
values:
- name: "Timeout"
value: 60

- label: "Wait for AutoRelockTime Expires"
cluster: "DelayCommands"
command: "WaitForMs"
Expand Down Expand Up @@ -221,14 +239,15 @@ tests:

- label: "Cleanup the created user"
command: "ClearUser"
PICS: DRLK.S.F08 && DRLK.S.F00
timedInteractionTimeoutMs: 1000
arguments:
values:
- name: "UserIndex"
value: 1

- label: "Clean the created credential"
PICS: DRLK.S.C26.Rsp
PICS: DRLK.S.F08 && DRLK.S.F00 && DRLK.S.C26.Rsp
command: "ClearCredential"
timedInteractionTimeoutMs: 1000
arguments:
Expand Down
91 changes: 72 additions & 19 deletions zzz_generated/darwin-framework-tool/zap-generated/test/Commands.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 5649967

Please sign in to comment.