Fix for GUI certificate test failure
Change-Id: I2566e6f2e1c13036f674447424f35cfdd5c0eedc
Signed-off-by: Rahul Maheshwari <rahulmaheshwari@in.ibm.com>
diff --git a/gui/test/server_config/test_obmc_gui_certificate.robot b/gui/test/server_config/test_obmc_gui_certificate.robot
index 77992f2..b5b4cd2 100644
--- a/gui/test/server_config/test_obmc_gui_certificate.robot
+++ b/gui/test/server_config/test_obmc_gui_certificate.robot
@@ -12,10 +12,9 @@
*** Variables ***
-${xpath_select_certificate_management} //a[@href='#/configuration/certificate']
-${xpath_select_server_configuration} //*[@id="nav__top-level"]/li[4]/button
-${xpath_add_certificate_button} //button[text() ="Add new certificate"]
-
+${xpath_select_certificate_management} //a[@href='#/access-control/ssl-certificates']
+${xpath_select_access_control} //*[@id="nav__top-level"]/li[5]/button
+${xpath_add_certificate_button} //*[contains(text(), "Add new certificate")]
*** Test Cases ***
@@ -41,7 +40,7 @@
[Documentation] Do test case setup tasks.
Wait Until Page Does Not Contain Element ${xpath_refresh_circle}
- Click Element ${xpath_select_server_configuration}
+ Click Element ${xpath_select_access_control}
Wait Until Page Does Not Contain Element ${xpath_refresh_circle}
Click Element ${xpath_select_certificate_management}
Wait Until Page Contains SSL certificates