Fix for GUI CT-Failures
Changes:
- Fixed "Verify GUI Logout" test case failure
- Corrected the xpath for xpath_logout_button and xpath_sensors_search
Change-Id: Idd544f22a7d2a93714f8302908abe08a9506387f
Signed-off-by: Sushma M M <sushmm99@in.ibm.com>
diff --git a/gui/data/resource_variables.py b/gui/data/resource_variables.py
index 694fd07..f47a852 100644
--- a/gui/data/resource_variables.py
+++ b/gui/data/resource_variables.py
@@ -123,7 +123,7 @@
# New GUI variables
xpath_login_button = "//button[@type='submit']"
- xpath_logout_button = "//button[@id='app-header-logout']"
+ xpath_logout_button = "//*[@data-test-id='appHeader-link-logout']"
# xpath for overview menu
xpath_overview_menu = "//a[@href='#/']"