Skip to content

Commit 48d4d43

Browse files
[TC-DRLK-2.4] Handle DUT's that do not support USR & PIN features (#29372)
* [TC-DRLK-2.4] Handle DUT's that do not support USR & PIN features Fixes CHIP-Specifications/chip-test-plans#3461 * Zap regen * Restyled by prettier-yaml --------- Co-authored-by: Restyled.io <commits@restyled.io>
1 parent 8cb1bda commit 48d4d43

File tree

2 files changed

+93
-21
lines changed

2 files changed

+93
-21
lines changed

src/app/tests/suites/certification/Test_TC_DRLK_2_4.yaml

+21-2
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ tests:
3535

3636
- label: "Create new user"
3737
command: "SetUser"
38+
PICS: DRLK.S.F08 && DRLK.S.F00
3839
timedInteractionTimeoutMs: 1000
3940
arguments:
4041
values:
@@ -55,6 +56,7 @@ tests:
5556

5657
- label: "Read the user back and verify its fields"
5758
command: "GetUser"
59+
PICS: DRLK.S.F08 && DRLK.S.F00
5860
arguments:
5961
values:
6062
- name: "UserIndex"
@@ -84,6 +86,7 @@ tests:
8486

8587
- label: "Create new PIN credential and lock/unlock user"
8688
command: "SetCredential"
89+
PICS: DRLK.S.F08 && DRLK.S.F00
8790
timedInteractionTimeoutMs: 1000
8891
arguments:
8992
values:
@@ -109,6 +112,7 @@ tests:
109112
value: 2
110113

111114
- label: "Verify created PIN credential"
115+
PICS: DRLK.S.F08 && DRLK.S.F00
112116
command: "GetCredentialStatus"
113117
arguments:
114118
values:
@@ -183,7 +187,8 @@ tests:
183187
- label:
184188
"Step 2b: TH sends the Unlock with Timeout argument value as 60
185189
seconds"
186-
PICS: DRLK.S.C03.Rsp && PICS_SKIP_SAMPLE_APP
190+
PICS:
191+
" DRLK.S.F08 && DRLK.S.F00 && DRLK.S.C03.Rsp && PICS_SKIP_SAMPLE_APP "
187192
command: "UnlockWithTimeout"
188193
timedInteractionTimeoutMs: 1000
189194
arguments:
@@ -193,6 +198,19 @@ tests:
193198
- name: "PINCode"
194199
value: "123456"
195200

201+
- label:
202+
"Step 2b: TH sends the Unlock with Timeout argument value as 60
203+
seconds"
204+
PICS:
205+
" (!DRLK.S.F08 || !DRLK.S.F00) && DRLK.S.C03.Rsp &&
206+
PICS_SKIP_SAMPLE_APP "
207+
command: "UnlockWithTimeout"
208+
timedInteractionTimeoutMs: 1000
209+
arguments:
210+
values:
211+
- name: "Timeout"
212+
value: 60
213+
196214
- label: "Wait for AutoRelockTime Expires"
197215
cluster: "DelayCommands"
198216
command: "WaitForMs"
@@ -221,14 +239,15 @@ tests:
221239

222240
- label: "Cleanup the created user"
223241
command: "ClearUser"
242+
PICS: DRLK.S.F08 && DRLK.S.F00
224243
timedInteractionTimeoutMs: 1000
225244
arguments:
226245
values:
227246
- name: "UserIndex"
228247
value: 1
229248

230249
- label: "Clean the created credential"
231-
PICS: DRLK.S.C26.Rsp
250+
PICS: DRLK.S.F08 && DRLK.S.F00 && DRLK.S.C26.Rsp
232251
command: "ClearCredential"
233252
timedInteractionTimeoutMs: 1000
234253
arguments:

zzz_generated/darwin-framework-tool/zap-generated/test/Commands.h

+72-19
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)