[Tagging] Adding Tags for test suite - phase 2
Added Tags for test_esel.robot, test_fw_version.robot
test_generic_conf.robot, test_sensors.robot
Resolves openbmc/openbmc-test-automation#290
Change-Id: Iac19176bfa83fd0720e7bf07c86bd2a55e3833c3
Signed-off-by: Sridevi Ramesh <sridevra@in.ibm.com>
diff --git a/tests/test_generic_conf.robot b/tests/test_generic_conf.robot
index 8a6a5c0..7ba12fd 100755
--- a/tests/test_generic_conf.robot
+++ b/tests/test_generic_conf.robot
@@ -20,20 +20,21 @@
*** Test Cases ***
-Get the boot_flags
+Get Boot Flags
[Documentation] ***GOOD PATH***
... This test case tries to get the boot flags
- ...
+ [Tags] Get_Boot_Flags
${resp}= Read Attribute ${SETTING_HOST} boot_flags
should not be empty ${resp}
-Get the power
+Get Power Value
[Documentation] ***GOOD PATH***
... This test case tries to get the power value and it should be
... between ${MIN_POWER_VALUE} and ${MAX_POWER_VALUE}
+ [Tags] Get_Power_Value
${powerValue}= Read Attribute ${SETTING_HOST} power_cap
should be true ${powerValue} >= ${MIN_POWER_VALUE} and ${powerValue} <= ${MAX_POWER_VALUE}
@@ -66,11 +67,12 @@
Should Not Be Equal ${value} ${valueToBeSet}
-Set the power with MIN_POWER_VALUE
+Set Power With Min Power Value
[Documentation] ***BAD PATH***
... This test case sets the power value less then
... MIN_ALLOWED_VALUE,Expectation is it should get error.
+ [Tags] Set_Power_With_Min_Power_Value
${valueToBeSet}= Set Variable ${MIN_POWER_VALUE}
${valueDict}= create dictionary data=${valueToBeSet}
@@ -78,11 +80,12 @@
${value}= Read Attribute ${SETTING_HOST} power_cap
Should Be Equal ${value} ${valueToBeSet}
-Set the power with MAX_POWER_VALUE
+Set Power With Max Power Value
[Documentation] ***GOOD PATH***
... This test case sets the power value with MAX_POWER_VALUE
... and it should be set.
+ [Tags] Set_Power_With_Max_Power_Value
${valueToBeSet}= Set Variable ${MAX_POWER_VALUE}
${valueDict}= create dictionary data=${valueToBeSet}