Fix xpath for logout button.
Resolves openbmc/openbmc-test-automation#1405
Change-Id: Ibd148a8c40aa387d984bb31551d7f442675fdcd9
Signed-off-by: Rahul Maheshwari <rahulmaheshwari@in.ibm.com>
diff --git a/gui/obmc_gui/lib/resource.robot b/gui/obmc_gui/lib/resource.robot
index 52717cf..9ed6c32 100644
--- a/gui/obmc_gui/lib/resource.robot
+++ b/gui/obmc_gui/lib/resource.robot
@@ -194,7 +194,7 @@
[Documentation] Log out of OpenBMC GUI.
SSHLibrary.Close All Connections
# Passing direct id element "header" as an argument to Click Element.
- Click Element header
+ Click Element ${xpath_button_logout}
Wait Until Page Contains Element ${xpath_button_login}
Test Teardown Execution