Skip to content

Commit

Permalink
[SMOKECO-TC] Fix smokeco tests as per test plan document (#29701)
Browse files Browse the repository at this point in the history
* Add SMOKECO.M.ManuallyControlledTest PICS

* Add top-level PICS

* Change top-level PICS

---------

Co-authored-by: Hare <[email protected]>
  • Loading branch information
2 people authored and pull[bot] committed Nov 16, 2023
1 parent 1df5d3f commit 5959425
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions src/app/tests/suites/certification/Test_TC_SMOKECO_2_2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ name:
Server

PICS:
- SMOKECO.S
- SMOKECO.S.F00

config:
nodeId: 0x12344321
Expand Down Expand Up @@ -145,7 +145,7 @@ tests:
value: "y"

- label: "Step 10: TH reads TestInProgress attribute from DUT"
PICS: SMOKECO.S.A0005
PICS: SMOKECO.S.A0005 && SMOKECO.M.ManuallyControlledTest
command: "readAttribute"
attribute: "TestInProgress"
response:
Expand Down
4 changes: 2 additions & 2 deletions src/app/tests/suites/certification/Test_TC_SMOKECO_2_3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ name:
4.2.3. [TC-SMOKECO-2.3] Primary Functionality - CO Alarm with DUT as Server

PICS:
- SMOKECO.S
- SMOKECO.S.F01

config:
nodeId: 0x12344321
Expand Down Expand Up @@ -144,7 +144,7 @@ tests:
value: "y"

- label: "Step 10: TH reads TestInProgress attribute from DUT"
PICS: SMOKECO.S.A0005
PICS: SMOKECO.S.A0005 && SMOKECO.M.ManuallyControlledTest
command: "readAttribute"
attribute: "TestInProgress"
response:
Expand Down
12 changes: 6 additions & 6 deletions src/app/tests/suites/certification/Test_TC_SMOKECO_2_4.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -511,7 +511,7 @@ tests:
- label:
"Step 38: TH waits for a report of TestInProgress attribute from DUT
with a timeout of 180 seconds"
PICS: SMOKECO.S.A0005
PICS: SMOKECO.S.A0005 && SMOKECO.M.ManuallyControlledTest
command: "waitForReport"
attribute: "TestInProgress"
timeout: 180
Expand All @@ -521,7 +521,7 @@ tests:
type: boolean

- label: "Step 39: TH reads ExpressedState attribute from DUT"
PICS: SMOKECO.S.A0000
PICS: SMOKECO.S.A0000 && SMOKECO.M.ManuallyControlledTest
command: "readAttribute"
attribute: "ExpressedState"
response:
Expand All @@ -532,7 +532,7 @@ tests:
- label:
"Step 40: TH waits for a report of TestInProgress attribute from DUT
with a timeout of 180 seconds"
PICS: SMOKECO.S.A0005
PICS: SMOKECO.S.A0005 && SMOKECO.M.ManuallyControlledTest
command: "waitForReport"
attribute: "TestInProgress"
timeout: 180
Expand All @@ -542,15 +542,15 @@ tests:
type: boolean

- label: "Step 41: TH reads SelfTestComplete event from DUT"
PICS: SMOKECO.S.E05
PICS: SMOKECO.S.E05 && SMOKECO.M.ManuallyControlledTest
command: "readEvent"
event: "SelfTestComplete"
eventNumber: "LastReceivedEventNumber + 1"
response:
value: {}

- label: "Step 42: TH reads ExpressedState attribute from DUT"
PICS: SMOKECO.S.A0000
PICS: SMOKECO.S.A0000 && SMOKECO.M.ManuallyControlledTest
command: "readAttribute"
attribute: "ExpressedState"
response:
Expand All @@ -559,7 +559,7 @@ tests:
type: enum8

- label: "Step 43: TH reads AllClear event from DUT"
PICS: SMOKECO.S.E0a
PICS: SMOKECO.S.E0a && SMOKECO.M.ManuallyControlledTest
command: "readEvent"
event: "AllClear"
eventNumber: "LastReceivedEventNumber + 1"
Expand Down

0 comments on commit 5959425

Please sign in to comment.