Skip to content

Commit 7862cb3

Browse files
Updated TC_S_2_4 to match VS doc (#35585)
1 parent fe96fa1 commit 7862cb3

File tree

1 file changed

+71
-7
lines changed

1 file changed

+71
-7
lines changed

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

+71-7
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,14 @@ tests:
165165
"Step 4a: TH configures AC1 on DUT for all implemented application
166166
clusters supporting scenes."
167167
verification: |
168-
Is DUT configured with AC1?
168+
./chip-tool levelcontrol move-to-level-with-on-off 100 0 0 0 1 1
169+
170+
DUT is configured with AC1 for application clusters which is implemented and supporting scenes
171+
172+
[1705040301.476123][6423:6425] CHIP:DMG: StatusIB =
173+
[1705040301.476139][6423:6425] CHIP:DMG: {
174+
[1705040301.476152][6423:6425] CHIP:DMG: status = 0x00 (SUCCESS),
175+
[1705040301.476164][6423:6425] CHIP:DMG: },
169176
cluster: "LogCommands"
170177
command: "UserPrompt"
171178
PICS: PICS_SKIP_SAMPLE_APP
@@ -237,7 +244,14 @@ tests:
237244
"Step 5a: TH configures AC2 on DUT for all implemented application
238245
clusters supporting scenes."
239246
verification: |
240-
Is DUT configured with AC2?
247+
./chip-tool levelcontrol move-to-level-with-on-off 200 0 0 0 1 1
248+
249+
DUT is configured with AC2 for application clusters which is implemented, supporting scenes and different from AC1
250+
251+
[1705040820.918043][6555:6557] CHIP:DMG: StatusIB =
252+
[1705040820.918056][6555:6557] CHIP:DMG: {
253+
[1705040820.918068][6555:6557] CHIP:DMG: status = 0x00 (SUCCESS),
254+
[1705040820.918080][6555:6557] CHIP:DMG: },
241255
cluster: "LogCommands"
242256
command: "UserPrompt"
243257
PICS: PICS_SKIP_SAMPLE_APP
@@ -282,7 +296,19 @@ tests:
282296

283297
- label: "DUT transitions to AC1 over 20s."
284298
verification: |
285-
Is the transition done over 20s?
299+
DUT transitions to AC1 over 20s.
300+
301+
TH confirm the DUT reached AC1 (on level control cluster) after 20s
302+
303+
Read CurrentLevel attribute from level control cluster
304+
305+
./chip-tool levelcontrol read current-level 1 1
306+
307+
Verify CurrentLevel attribute value on TH(chip-tool)
308+
309+
[1708072116.730389][7757:7759] CHIP:DMG: }
310+
[1708072116.730518][7757:7759] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0008 Attribute 0x0000_0000 DataVersion: 2359286215
311+
[1708072116.730552][7757:7759] CHIP:TOO: CurrentLevel: 100
286312
cluster: "LogCommands"
287313
command: "UserPrompt"
288314
PICS: PICS_SKIP_SAMPLE_APP
@@ -314,7 +340,14 @@ tests:
314340
"Step 6a: TH configures AC2 on DUT for all implemented application
315341
clusters supporting scenes."
316342
verification: |
317-
Is DUT configured with AC2?
343+
./chip-tool levelcontrol move-to-level-with-on-off 200 0 0 0 1 1
344+
345+
DUT is configured with AC2 for application clusters which is implemented, supporting scenes and different from AC1
346+
347+
[1705040820.918043][6555:6557] CHIP:DMG: StatusIB =
348+
[1705040820.918056][6555:6557] CHIP:DMG: {
349+
[1705040820.918068][6555:6557] CHIP:DMG: status = 0x00 (SUCCESS),
350+
[1705040820.918080][6555:6557] CHIP:DMG: },
318351
cluster: "LogCommands"
319352
command: "UserPrompt"
320353
PICS: S.S.C05.Rsp && PICS_SKIP_SAMPLE_APP
@@ -362,7 +395,19 @@ tests:
362395

363396
- label: "DUT transitions to AC1 over 5."
364397
verification: |
365-
Is the transition done over 5s?
398+
DUT transitions to AC1 over 5s.
399+
400+
TH confirm the DUT reached AC1 (on level control cluster) after 5s
401+
402+
Read CurrentLevel attribute from level control cluster
403+
404+
./chip-tool levelcontrol read current-level 1 1
405+
406+
Verify CurrentLevel attribute value on TH(chip-tool)
407+
408+
[1708072116.730389][7757:7759] CHIP:DMG: }
409+
[1708072116.730518][7757:7759] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0008 Attribute 0x0000_0000 DataVersion: 2359286215
410+
[1708072116.730552][7757:7759] CHIP:TOO: CurrentLevel: 100
366411
cluster: "LogCommands"
367412
command: "UserPrompt"
368413
PICS: PICS_SKIP_SAMPLE_APP
@@ -394,7 +439,14 @@ tests:
394439
"Step 7a: TH configures AC2 on DUT for all implemented application
395440
clusters supporting scenes."
396441
verification: |
397-
Is DUT configured with AC2?
442+
./chip-tool levelcontrol move-to-level-with-on-off 200 0 0 0 1 1
443+
444+
DUT is configured with AC2 for application clusters which is implemented, supporting scenes and different from AC1
445+
446+
[1705040820.918043][6555:6557] CHIP:DMG: StatusIB =
447+
[1705040820.918056][6555:6557] CHIP:DMG: {
448+
[1705040820.918068][6555:6557] CHIP:DMG: status = 0x00 (SUCCESS),
449+
[1705040820.918080][6555:6557] CHIP:DMG: },
398450
cluster: "LogCommands"
399451
command: "UserPrompt"
400452
PICS: PICS_SKIP_SAMPLE_APP
@@ -442,7 +494,19 @@ tests:
442494

443495
- label: "DUT transitions to AC1 over 20s."
444496
verification: |
445-
Is the transition done over 20s?
497+
DUT transitions to AC1 over 20s.
498+
499+
TH confirm the DUT reached AC1 (on level control cluster) after 20s
500+
501+
Read CurrentLevel attribute from level control cluster
502+
503+
./chip-tool levelcontrol read current-level 1 1
504+
505+
Verify CurrentLevel attribute value on TH(chip-tool)
506+
507+
[1708072116.730389][7757:7759] CHIP:DMG: }
508+
[1708072116.730518][7757:7759] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0008 Attribute 0x0000_0000 DataVersion: 2359286215
509+
[1708072116.730552][7757:7759] CHIP:TOO: CurrentLevel: 100
446510
cluster: "LogCommands"
447511
command: "UserPrompt"
448512
PICS: PICS_SKIP_SAMPLE_APP

0 commit comments

Comments
 (0)