GUI automation changes with respect to new navigation menu
This commit has following changes:
- Modified GUI suites suite setup to use new navigation menus
structure
- Updated data-test-id xpaths related to navigation menu
with new ones
- Modified some test cases name to reflect new menu name
- Updated GUI suite documentation to reflect new menu structure
- Removed unsupported KVM suite file
- Removed LED suite file as it now comes under hardware inventory
Change-Id: Ia6500f3649fa32b60ac439b0c9b96b7e1a427425
Signed-off-by: Rahul Maheshwari <rahulmaheshwari@in.ibm.com>
diff --git a/gui/gui_test/operations_menu/test_factory_reset_sub_menu.robot b/gui/gui_test/operations_menu/test_factory_reset_sub_menu.robot
index bec8a03..a8644b4 100644
--- a/gui/gui_test/operations_menu/test_factory_reset_sub_menu.robot
+++ b/gui/gui_test/operations_menu/test_factory_reset_sub_menu.robot
@@ -1,6 +1,6 @@
*** Settings ***
-Documentation Test suite for OpenBMC GUI "Factory reset" sub-menu of "Control" menu.
+Documentation Test suite for OpenBMC GUI "Factory reset" sub-menu of "Operation" menu.
Resource ../../lib/gui_resource.robot
@@ -53,6 +53,6 @@
[Documentation] Do test suite setup tasks.
Launch Browser And Login GUI
- Click Element ${xpath_control_menu}
+ Click Element ${xpath_operations_menu}
Click Element ${xpath_factory_reset_sub_menu}
Wait Until Keyword Succeeds 30 sec 5 sec Location Should Contain factory-reset
diff --git a/gui/gui_test/operations_menu/test_firmware_sub_menu.robot b/gui/gui_test/operations_menu/test_firmware_sub_menu.robot
index d438ad2..aab4574 100644
--- a/gui/gui_test/operations_menu/test_firmware_sub_menu.robot
+++ b/gui/gui_test/operations_menu/test_firmware_sub_menu.robot
@@ -1,6 +1,6 @@
*** Settings ***
-Documentation Test OpenBMC Firmware Update" sub menu of "Configuration".
+Documentation Test OpenBMC Firmware Update" sub menu of "Operations".
Resource ../../lib/gui_resource.robot
@@ -44,6 +44,6 @@
[Documentation] Do test case setup tasks.
Launch Browser And Login GUI
- Click Element ${xpath_server_configuration}
+ Click Element ${xpath_operations_menu}
Click Element ${xpath_firmware_update_sub_menu}
Wait Until Keyword Succeeds 30 sec 10 sec Location Should Contain firmware
diff --git a/gui/gui_test/operations_menu/test_reboot_bmc_sub_menu.robot b/gui/gui_test/operations_menu/test_reboot_bmc_sub_menu.robot
index d83008a..61ee371 100644
--- a/gui/gui_test/operations_menu/test_reboot_bmc_sub_menu.robot
+++ b/gui/gui_test/operations_menu/test_reboot_bmc_sub_menu.robot
@@ -1,6 +1,6 @@
*** Settings ***
-Documentation Test OpenBMC GUI "Reboot BMC" sub-menu of "Server control".
+Documentation Test OpenBMC GUI "Reboot BMC" sub-menu of "Operation" menu.
Resource ../../lib/gui_resource.robot
@@ -52,6 +52,6 @@
Test Setup Execution
[Documentation] Do test case setup tasks.
- Click Element ${xpath_control_menu}
+ Click Element ${xpath_operations_menu}
Click Element ${xpath_reboot_bmc_sub_menu}
Wait Until Keyword Succeeds 30 sec 10 sec Location Should Contain reboot-bmc
diff --git a/gui/gui_test/operations_menu/test_server_power_operations_sub_menu.robot b/gui/gui_test/operations_menu/test_server_power_operations_sub_menu.robot
index 42c12c1..52d3123 100644
--- a/gui/gui_test/operations_menu/test_server_power_operations_sub_menu.robot
+++ b/gui/gui_test/operations_menu/test_server_power_operations_sub_menu.robot
@@ -1,6 +1,6 @@
*** Settings ***
-Documentation Test OpenBMC GUI "Server power operations" sub-menu of "Server control".
+Documentation Test OpenBMC GUI "Server power operations" sub-menu of "Operations".
Resource ../../lib/gui_resource.robot
Resource ../../../lib/state_manager.robot
@@ -175,6 +175,6 @@
Navigate to Server Power Operation Page
[Documentation] Go to server power operation page.
- Click Element ${xpath_control_menu}
+ Click Element ${xpath_operations_menu}
Click Element ${xpath_server_power_operations_sub_menu}
Wait Until Keyword Succeeds 30 sec 10 sec Location Should Contain server-power-operations
diff --git a/gui/gui_test/operations_menu/test_sol_console_sub_menu.robot b/gui/gui_test/operations_menu/test_sol_console_sub_menu.robot
index ede2ff8..a33c104 100644
--- a/gui/gui_test/operations_menu/test_sol_console_sub_menu.robot
+++ b/gui/gui_test/operations_menu/test_sol_console_sub_menu.robot
@@ -1,6 +1,6 @@
*** Settings ***
-Documentation Test OpenBMC GUI "Serial over LAN Console" sub-menu of "Control".
+Documentation Test OpenBMC GUI "Serial over LAN Console" sub-menu of "Operations".
Resource ../../lib/gui_resource.robot
@@ -42,6 +42,6 @@
Test Setup Execution
[Documentation] Do test case setup tasks.
- Click Element ${xpath_control_menu}
+ Click Element ${xpath_operations_menu}
Click Element ${xpath_sol_sub_menu}
Wait Until Keyword Succeeds 30 sec 10 sec Location Should Contain serial-over-lan