Skip to content

Commit

Permalink
reset StartUpCurrentLevel to ensure test repetitions
Browse files Browse the repository at this point in the history
  • Loading branch information
lecndav committed Jun 14, 2024
1 parent 60ae46d commit 80087c4
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/app/tests/suites/certification/Test_TC_LVL_2_2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ config:
StartUpCurrentLevelConfigValue:
type: int8u
defaultValue: 5
StartUpCurrentLevelConfigResetValue:
type: int8u
defaultValue: 100

tests:
- label:
Expand Down Expand Up @@ -230,6 +233,16 @@ tests:
type: int8u
notValue: StartUpCurrentLevelValue

#This is a reset step that is needed to reset the value of the attribute to another value then the one used in 6b in order to ensure successful test repetitions.
- label:
"writes back StartUpCurrentLevel attribute to the DUT with
a different value than that in 6c"
PICS: LVL.S.A4000
command: "writeAttribute"
attribute: "StartUpCurrentLevel"
arguments:
value: StartUpCurrentLevelConfigResetValue

#This is a reset step that is needed to reset the value of the attribute to the default values so as to not effect other test cases.
- label: "writes back default value of OnOffTransitionTime attribute"
PICS: LVL.S.A0010
Expand Down

0 comments on commit 80087c4

Please sign in to comment.