Added Refresh GUI keyword for the page to load compeletly after refresh
Change-Id: I34e037dfd88e75e8a43e0f1c0259071e6f6520e5
Signed-off-by: Ashwini Chandrappa <Ashwini.Chandrappa777@ibm.com>
diff --git a/gui/lib/gui_resource.robot b/gui/lib/gui_resource.robot
index a7dcd9c..38266f4 100644
--- a/gui/lib/gui_resource.robot
+++ b/gui/lib/gui_resource.robot
@@ -120,3 +120,11 @@
Click Element ${xpath_profile_settings}
Click Element At Coordinates ${xpath_default_UTC} 0 0
Click Element ${xpath_profile_save_button}
+
+
+Refresh GUI
+ [Documentation] Refresh GUI via refresh button in header.
+
+ Click Element ${xpath_refresh_button}
+ # Added delay for page to load fully after refresh.
+ Sleep 5s