Skip to content

Commit 3d7a5b0

Browse files
Diego Martin Marangesdmaranges-gd
Diego Martin Maranges
authored andcommitted
TC-CC-8.1 - modify expected result to handle wrap-around
1 parent e1375c4 commit 3d7a5b0

File tree

1 file changed

+8
-13
lines changed

1 file changed

+8
-13
lines changed

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

+8-13
Original file line numberDiff line numberDiff line change
@@ -85,13 +85,13 @@ tests:
8585
- name: "OptionsOverride"
8686
value: 0
8787

88-
- label: "Wait 10s"
88+
- label: "Wait 20s"
8989
cluster: "DelayCommands"
9090
command: "WaitForMs"
9191
arguments:
9292
values:
9393
- name: "ms"
94-
value: 10000
94+
value: 20000
9595

9696
- label: "Step 2c: TH sends StopMoveStep command to DUT"
9797
PICS: CC.S.C47.Rsp
@@ -103,18 +103,14 @@ tests:
103103
- name: "OptionsOverride"
104104
value: 0
105105

106-
#Tolerance to be computed from the range
107-
#Start value 200, expected value 250, 200 - 250 = -50, 50 % 15 = 8 , So 250+/-8 We need two range here as 254 is the max value
108-
#242...254...0...4
109-
#Multiple range not supported in YAML: https://github.com/project-chip/connectedhomeip/issues/23197
110106
- label: "Step 2d: TH reads CurrentHue attribute from DUT"
111-
PICS: CC.S.A0000
107+
PICS: CC.S.A0000 && CC.S.C01.Rsp
112108
command: "readAttribute"
113109
attribute: "CurrentHue"
114110
response:
115111
constraints:
116-
minValue: 212
117-
maxValue: 288
112+
minValue: 20
113+
maxValue: 50
118114

119115
- label: "Wait 2s"
120116
cluster: "DelayCommands"
@@ -124,15 +120,14 @@ tests:
124120
- name: "ms"
125121
value: 2000
126122

127-
#Multiple range not supported in YAML: https://github.com/project-chip/connectedhomeip/issues/23197
128123
- label: "Step 2e: TH reads CurrentHue attribute from DUT"
129-
PICS: CC.S.A0000
124+
PICS: CC.S.A0000 && CC.S.C01.Rsp
130125
command: "readAttribute"
131126
attribute: "CurrentHue"
132127
response:
133128
constraints:
134-
minValue: 212
135-
maxValue: 288
129+
minValue: 20
130+
maxValue: 50
136131

137132
- label:
138133
"Step 3a: TH sends MoveToSaturation command to DUT with Saturation=150

0 commit comments

Comments
 (0)