Add data-test-id as xpath for access control menu for BMC gui
Change-Id: I2e140529a284bf20166d2192a64138d922a5d2db
Signed-off-by: manashsarma <manashsarma@in.ibm.com>
diff --git a/gui/data/resource_variables.py b/gui/data/resource_variables.py
index f5d1dfe..5407219 100644
--- a/gui/data/resource_variables.py
+++ b/gui/data/resource_variables.py
@@ -146,7 +146,7 @@
xpath_select_network_settings = "//a[@href='#/configuration/network-settings']"
# xpath for access control menu
- xpath_access_control_menu = "//button[@aria-controls='access-control-menu']"
+ xpath_access_control_menu = "//*[@data-test-id='nav-button-accessControl']"
xpath_ldap_sub_menu = "//a[@href='#/access-control/ldap']"
xpath_save_settings_button = "//button[contains(text(),'Save settings')]"
xpath_local_user_management_sub_menu = "//a[@href='#/access-control/local-user-management']"