You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: src/app/tests/suites/TestIcdManagementCluster.yaml
+67
Original file line number
Diff line number
Diff line change
@@ -372,3 +372,70 @@ tests:
372
372
value: 102
373
373
response:
374
374
error: NOT_FOUND
375
+
376
+
- label: "Wait for a little bit less than the active mode duration (10000ms)"
377
+
cluster: "DelayCommands"
378
+
command: "WaitForMs"
379
+
arguments:
380
+
values:
381
+
- name: "ms"
382
+
value: 9000
383
+
384
+
- label: "StayActive Scenario 1: Confirm the promised active duration is increased to a specific if a value less than 30000ms is requested and the device does not intend to stay active longer"
385
+
command: "StayActiveRequest"
386
+
arguments:
387
+
values:
388
+
- name: "StayActiveDuration"
389
+
value: 20000
390
+
response:
391
+
values:
392
+
- name: "PromisedActiveDuration"
393
+
constraints:
394
+
type: int32u
395
+
minValue: 19500
396
+
maxValue: 20500
397
+
398
+
399
+
- label: "Wait for a little bit less than the new promied active mode duration (20000ms)"
400
+
cluster: "DelayCommands"
401
+
command: "WaitForMs"
402
+
arguments:
403
+
values:
404
+
- name: "ms"
405
+
value: 19000
406
+
407
+
- label: "StayActive Scenario 2: Confirm the promised active duration is reduced to 30000ms if a value greater than 30000ms is requested"
408
+
command: "StayActiveRequest"
409
+
arguments:
410
+
values:
411
+
- name: "StayActiveDuration"
412
+
value: 35000
413
+
response:
414
+
values:
415
+
- name: "PromisedActiveDuration"
416
+
constraints:
417
+
type: int32u
418
+
minValue: 29500
419
+
maxValue: 30500
420
+
421
+
- label: "Wait for a 20000 less than the new promied active mode duration (30000ms)"
422
+
cluster: "DelayCommands"
423
+
command: "WaitForMs"
424
+
arguments:
425
+
values:
426
+
- name: "ms"
427
+
value: 10000
428
+
429
+
- label: "StayActive Scenario 3: confirm that the device ignores the request if the device intends to stay active longer than the requested duration we should have about 20000ms left here"
0 commit comments