HW CI power on test
Moving the test keyword from old to new state manager keywords.
Update the test tag as per guideline.
Resolves openbmc/openbmc-test-automation#304
Change-Id: Icb4cabba303f65c0f53724f28744c5e777eade39
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/test_lists/HW_CI b/test_lists/HW_CI
index fa7acbf..a039d7c 100644
--- a/test_lists/HW_CI
+++ b/test_lists/HW_CI
@@ -4,7 +4,7 @@
-i Create_error_log_on_single_FRU
-i Delete_error_log
#Basic poweron test
--i power_on_test
+-i Power_On_Test
#Clear event and create a logs
-i clear_any_logs
-i write_a_log
diff --git a/tests/test_basic_poweron.robot b/tests/test_basic_poweron.robot
index 685eeb0..b87f1c0 100644
--- a/tests/test_basic_poweron.robot
+++ b/tests/test_basic_poweron.robot
@@ -1,9 +1,9 @@
*** Settings ***
-Documentation This module will test basic power on use cases for CI
+Documentation Test power on for HW CI.
-Resource ../lib/boot/boot_resource_master.robot
Resource ../lib/openbmc_ffdc.robot
Resource ../lib/utils.robot
+Resource ../lib/state_manager.robot
Test Setup Start SOL Console Logging
Test Teardown Test Exit Logs
@@ -12,17 +12,17 @@
*** Test Cases ***
-power on test
- [Documentation] Power OFF and power ON
- [Tags] power_on_test
+Power On Test
+ [Documentation] Power off and on.
+ [Tags] Power_On_Test
- BMC Power Off
- BMC Power On
+ Initiate Host PowerOff
+ Initiate Host Boot
*** Keywords ***
+
Test Exit Logs
- [Documentation] Log FFDC if failed and collect SOL
- ... Logs for debugging purpose.
+ [Documentation] Collect FFDC and SOL log.
FFDC On Test Case Fail
${sol_log}= Stop SOL Console Logging
Log ${sol_log}