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/security_and_access_menu/test_policies_sub_menu.robot b/gui/gui_test/security_and_access_menu/test_policies_sub_menu.robot
index c999ce9..c5e177a 100644
--- a/gui/gui_test/security_and_access_menu/test_policies_sub_menu.robot
+++ b/gui/gui_test/security_and_access_menu/test_policies_sub_menu.robot
@@ -1,6 +1,6 @@
*** Settings ***
-Documentation Test OpenBMC GUI "Security settings" sub-menu of "Server configuration" menu.
+Documentation Test OpenBMC GUI "Policies" sub-menu of "Security and access" menu.
Resource ../../lib/gui_resource.robot
@@ -11,32 +11,32 @@
*** Variables ***
-${xpath_security_settings_heading} //h1[text()="Security settings"]
-${xpath_bmc_ssh_toggle} //*[@data-test-id='security-toggle-bmcShell']
-${xpath_network_ipmi_toggle} //*[@data-test-id='security-toggle-networkIpmi']
+${xpath_policies_heading} //h1[text()="Policies"]
+${xpath_bmc_ssh_toggle} //*[@data-test-id='policies-toggle-bmcShell']
+${xpath_network_ipmi_toggle} //*[@data-test-id='polices-toggle-networkIpmi']
*** Test Cases ***
-Verify Navigation To Security Settings Page
- [Documentation] Verify navigation to security settings page.
- [Tags] Verify_Navigation_To_Security_Settings_Page
+Verify Navigation To Policies Page
+ [Documentation] Verify navigation to Policies page.
+ [Tags] Verify_Navigation_To_Policies_Page
- Page Should Contain Element ${xpath_security_settings_heading}
+ Page Should Contain Element ${xpath_policies_heading}
-Verify Existence Of All Sections In Security Settings Page
- [Documentation] Verify existence of all sections in security settings page.
- [Tags] Verify_Existence_Of_All_Sections_In_Security_Settings_Page
+Verify Existence Of All Sections In Policies Page
+ [Documentation] Verify existence of all sections in policies page.
+ [Tags] Verify_Existence_Of_All_Sections_In_Policies_Page
Page Should Contain Network services
Page Should Contain BMC shell (via SSH)
Page Should Contain Network IPMI (out-of-band IPMI)
-Verify Existence Of All Buttons In Security Settings Page
- [Documentation] Verify existence of All Buttons in security settings page.
- [Tags] Verify_Existence_Of_All_Buttons_In_Security_Settings_Page
+Verify Existence Of All Buttons In Policies Page
+ [Documentation] Verify existence of All Buttons in policies page.
+ [Tags] Verify_Existence_Of_All_Buttons_In_Policies_Page
Page Should Contain Element ${xpath_bmc_ssh_toggle}
Page Should Contain Element ${xpath_network_ipmi_toggle}
@@ -47,6 +47,6 @@
Test Setup Execution
[Documentation] Do test case setup tasks.
- Click Element ${xpath_server_configuration}
- Click Element ${xpath_security_settings_sub_menu}
- Wait Until Keyword Succeeds 30 sec 10 sec Location Should Contain security-settings
+ Click Element ${xpath_secuity_and_accesss_menu}
+ Click Element ${xpath_policies_sub_menu}
+ Wait Until Keyword Succeeds 30 sec 10 sec Location Should Contain policies