Skip to content

Commit 40ee0e1

Browse files
Diego Martin Marangesdmaranges-gd
Diego Martin Maranges
authored andcommitted
TC-CC-8.1: Automate
1 parent 4f956ec commit 40ee0e1

File tree

1 file changed

+14
-32
lines changed

1 file changed

+14
-32
lines changed

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

+14-32
Original file line numberDiff line numberDiff line change
@@ -108,22 +108,13 @@ tests:
108108
#242...254...0...4
109109
#Multiple range not supported in YAML: https://github.com/project-chip/connectedhomeip/issues/23197
110110
- label: "Step 2d: TH reads CurrentHue attribute from DUT"
111-
PICS: CC.S.A0000 && CC.S.C01.Rsp && PICS_SKIP_SAMPLE_APP
112-
verification: |
113-
./chip-tool colorcontrol read current-hue 1 1
114-
115-
Verify CurrentHue attribute is 250 on TH(chip-tool) Log and below is the sample log provided for the raspi platform
116-
117-
[1686057413.567938][20912:20914] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0300 Attribute 0x0000_0000 DataVersion: 1835932678
118-
[1686057413.567958][20912:20914] CHIP:TOO: CurrentHue: 250
119-
cluster: "LogCommands"
120-
command: "UserPrompt"
121-
arguments:
122-
values:
123-
- name: "message"
124-
value: "Enter 'y' after success"
125-
- name: "expectedValue"
126-
value: "y"
111+
PICS: CC.S.A0000 && CC.S.C01.Rsp
112+
command: "readAttribute"
113+
attribute: "CurrentHue"
114+
response:
115+
constraints:
116+
minValue: 200
117+
maxValue: 250
127118

128119
- label: "Wait 2s"
129120
cluster: "DelayCommands"
@@ -135,22 +126,13 @@ tests:
135126

136127
#Multiple range not supported in YAML: https://github.com/project-chip/connectedhomeip/issues/23197
137128
- label: "Step 2e: TH reads CurrentHue attribute from DUT"
138-
PICS: CC.S.A0000 && CC.S.C01.Rsp && PICS_SKIP_SAMPLE_APP
139-
verification: |
140-
./chip-tool colorcontrol read current-hue 1 1
141-
142-
After another 2 seconds, Verify CurrentHue value is stabilized at 250 on TH(chip-tool) Log and below is the sample log provided for the raspi platform
143-
144-
[1686057413.567938][20912:20914] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0300 Attribute 0x0000_0000 DataVersion: 1835932678
145-
[1686057413.567958][20912:20914] CHIP:TOO: CurrentHue: 250
146-
cluster: "LogCommands"
147-
command: "UserPrompt"
148-
arguments:
149-
values:
150-
- name: "message"
151-
value: "Enter 'y' after success"
152-
- name: "expectedValue"
153-
value: "y"
129+
PICS: CC.S.A0000 && CC.S.C01.Rsp
130+
command: "readAttribute"
131+
attribute: "CurrentHue"
132+
response:
133+
constraints:
134+
minValue: 200
135+
maxValue: 250
154136

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

0 commit comments

Comments
 (0)