Skip to content

Commit

Permalink
Yaml scripts update (#35093)
Browse files Browse the repository at this point in the history
* Removed scripts Test_TC_SC_4_10.yaml and Test_TC_SC_4_5.yaml as Test plan have removed them

* step numbers corrected  in Test_TC_CC_7_3.yaml and action id is updated in Test_TC_ACT_3_2.yaml

* Removed scripts Test_TC_SC_4_10.yaml and Test_TC_SC_4_5.yaml as Test plan have removed them

* step numbers corrected  in Test_TC_CC_7_3.yaml and action id is updated in Test_TC_ACT_3_2.yaml

* Reverted Action of Test_TC_ACT_3_2.yaml
  • Loading branch information
Harshith-GRL authored Aug 21, 2024
1 parent 2302c57 commit 3cdef41
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 165 deletions.
6 changes: 3 additions & 3 deletions src/app/tests/suites/certification/Test_TC_ACT_3_2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ tests:
"Step 0: Preparation: TH as server exposes an Actions server cluster
on EP 1, with one action (supporting all possible commands) and
corresponding ActionLists and EndpointLists attributes: ActionList:
contains one list element (ActionListStruct): ActionIO = 0x1001 Name
contains one list element (ActionListStruct): ActionIO = 0xA001 Name
= 'some test' Type = other EndpointListID =
0xE001 SupportedCommands = 0x0fff // suppports all commands State =
Inactive EndpointLists: contains one list element
Expand Down Expand Up @@ -92,13 +92,13 @@ tests:
2. Use the above obtained ActionID to verify the following commands
./chip-tool actions instant-action 4097 1 1
./chip-tool actions instant-action 40961 1 1
disabled: true

- label: "Step 1: DUT issues an InstantAction command to TH"
PICS: ACT.C.C00.Tx
verification: |
./chip-tool actions instant-action 4097 1 1
./chip-tool actions instant-action 40961 1 1
Via the TH (bridge-app), verify the InstantAction response that contains ActionID .
Expand Down
20 changes: 10 additions & 10 deletions src/app/tests/suites/certification/Test_TC_CC_7_3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ tests:
maxValue: 13800

- label:
"Step 5a: TH sends EnhancedMoveToHue command to DUT with
"Step 3a: TH sends EnhancedMoveToHue command to DUT with
EnhancedHue=12000, Direction=0x00 (shortest distance) and
TransitionTime=0 (immediately)."
PICS: CC.S.F01 && CC.S.C40.Rsp
Expand Down Expand Up @@ -190,7 +190,7 @@ tests:
value: 100

- label:
"Step 5b: TH sends EnhancedStepHue command to DUT with StepMode=0x03
"Step 3b: TH sends EnhancedStepHue command to DUT with StepMode=0x03
(down), StepSize=6000 and TransitionTime=300 (30s)"
PICS: CC.S.F01 && CC.S.C42.Rsp
command: "EnhancedStepHue"
Expand All @@ -216,7 +216,7 @@ tests:
- name: "ms"
value: 10000

- label: "Step 5c: TH reads EnhancedCurrentHue attribute from DUT"
- label: "Step 3c: TH reads EnhancedCurrentHue attribute from DUT"
command: "readAttribute"
PICS: CC.S.F01 && CC.S.A4000 && CC.S.C41.Rsp
attribute: "EnhancedCurrentHue"
Expand All @@ -234,7 +234,7 @@ tests:
- name: "ms"
value: 10000

- label: "Step 2d: TH reads EnhancedCurrentHue attribute from DUT"
- label: "Step 3d: TH reads EnhancedCurrentHue attribute from DUT"
command: "readAttribute"
PICS: CC.S.F01 && CC.S.A4000 && CC.S.C41.Rsp
attribute: "EnhancedCurrentHue"
Expand All @@ -252,7 +252,7 @@ tests:
- name: "ms"
value: 10000

- label: "Step 2e: TH reads EnhancedCurrentHue attribute from DUT"
- label: "Step 3e: TH reads EnhancedCurrentHue attribute from DUT"
command: "readAttribute"
PICS: CC.S.F01 && CC.S.A4000 && CC.S.C41.Rsp
attribute: "EnhancedCurrentHue"
Expand All @@ -270,7 +270,7 @@ tests:
- name: "ms"
value: 5000

- label: "Step 2f: TH reads EnhancedCurrentHue attribute from DUT"
- label: "Step 3f: TH reads EnhancedCurrentHue attribute from DUT"
command: "readAttribute"
PICS: CC.S.F01 && CC.S.A4000 && CC.S.C41.Rsp
attribute: "EnhancedCurrentHue"
Expand All @@ -279,7 +279,7 @@ tests:
minValue: 5100
maxValue: 6900

- label: "Step 6a: TH reads ColorMode attribute from DUT"
- label: "Step 4a: TH reads ColorMode attribute from DUT"
PICS: CC.S.F01 && CC.S.A0008
command: "readAttribute"
attribute: "ColorMode"
Expand All @@ -289,7 +289,7 @@ tests:
minValue: 0
maxValue: 2

- label: "Step 6b: TH reads EnhancedColorMode attribute from DUT"
- label: "Step 4b: TH reads EnhancedColorMode attribute from DUT"
PICS: CC.S.F01 && CC.S.A4001
command: "readAttribute"
attribute: "EnhancedColorMode"
Expand All @@ -300,7 +300,7 @@ tests:
maxValue: 3

- label:
"Step 7a: TH sends EnhancedStepHue command to DUT with StepMode=0x01
"Step 5a: TH sends EnhancedStepHue command to DUT with StepMode=0x01
(up), StepSize=0"
PICS: CC.S.F01 && CC.S.C42.Rsp
command: "EnhancedStepHue"
Expand All @@ -320,7 +320,7 @@ tests:
error: INVALID_COMMAND

- label:
"Step 7b: TH sends EnhancedStepHue command to DUT with StepMode=0x03
"Step 5b: TH sends EnhancedStepHue command to DUT with StepMode=0x03
(down), StepSize=0"
PICS: CC.S.F01 && CC.S.C42.Rsp
command: "EnhancedStepHue"
Expand Down
60 changes: 0 additions & 60 deletions src/app/tests/suites/certification/Test_TC_SC_4_10.yaml

This file was deleted.

92 changes: 0 additions & 92 deletions src/app/tests/suites/certification/Test_TC_SC_4_5.yaml

This file was deleted.

0 comments on commit 3cdef41

Please sign in to comment.