From 80087c49f5133e1236d4991ffd8f3f5053f45173 Mon Sep 17 00:00:00 2001 From: David Lechner Date: Fri, 14 Jun 2024 11:04:40 +0200 Subject: [PATCH] reset StartUpCurrentLevel to ensure test repetitions --- .../tests/suites/certification/Test_TC_LVL_2_2.yaml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/app/tests/suites/certification/Test_TC_LVL_2_2.yaml b/src/app/tests/suites/certification/Test_TC_LVL_2_2.yaml index 6b7feb98e1445e..201d4a521c7e0f 100644 --- a/src/app/tests/suites/certification/Test_TC_LVL_2_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_LVL_2_2.yaml @@ -39,6 +39,9 @@ config: StartUpCurrentLevelConfigValue: type: int8u defaultValue: 5 + StartUpCurrentLevelConfigResetValue: + type: int8u + defaultValue: 100 tests: - label: @@ -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