Test rear identify system LEDs of Witherspoon system.
This change includes:
- Added test cases to turn on/off rear identify LED.
- Skipped rear identify LED in NA systems.
Resolves openbmc/openbmc-test-automation#755
Change-Id: I1a7376d7815fa0a9ef38e42ec32098a588ecd28f
Signed-off-by: Rahul Maheshwari <rahulmaheshwari@in.ibm.com>
diff --git a/test_lists/skip_test_barreleye b/test_lists/skip_test_barreleye
index 4d6c736..81092ed 100644
--- a/test_lists/skip_test_barreleye
+++ b/test_lists/skip_test_barreleye
@@ -45,6 +45,7 @@
# System LED test cases which are NA for Barreleye system.
-e Test_Power_LED_And_Verify_Via_REST
-e Test_Fault_LED_And_Verify_Via_REST
+-e Test_Rear_Identify_LED_And_Verify_Via_REST
-e Verify_Enclosure_Fault_LED_On_Assertion
-e Verify_Rear_Power_LED_Association_With_Group_LED
# Network tests for xyz interface.
diff --git a/test_lists/skip_test_palmetto b/test_lists/skip_test_palmetto
index f7af86d..e705fff 100644
--- a/test_lists/skip_test_palmetto
+++ b/test_lists/skip_test_palmetto
@@ -52,6 +52,7 @@
# System LED test cases which are NA for Palmetto system.
-e Test_Beep_LED_And_Verify_Via_REST
-e Test_Fault_LED_And_Verify_Via_REST
+-e Test_Rear_Identify_LED_And_Verify_Via_REST
-e Verify_Enclosure_Fault_LED_On_Assertion
-e Verify_Rear_Power_LED_Association_With_Group_LED
# Network tests for xyz interface.
diff --git a/tests/test_led.robot b/tests/test_led.robot
index efb74a4..563c226 100644
--- a/tests/test_led.robot
+++ b/tests/test_led.robot
@@ -61,6 +61,16 @@
[Tags] Test_Fault_LED_And_Verify_Via_REST
[Template] Set System LED State
+Test Rear Identify LED And Verify Via REST
+ [Documentation] Turn On/Off rear identify LED and verify via REST.
+ #LED Name LED State
+ rear_id On
+ rear_id Off
+
+ [Tags] Test_Rear_Identify_LED_And_Verify_Via_REST
+ [Template] Set System LED State
+
+
*** Keywords ***
Set System LED State