Added delay for sensor page to load completely.
Changes:
- Add a timeout of 15 minutes for progress bar to complete on sensor page.
Tested: -
- Successfully ran this from /gui/gui_test/hardware_status_menu/test_sensors_sub_menu.robot
Change-Id: I11f25e4973394f14a0ab755d46ca9366e04b4b58
Signed-off-by: rramyasr-in <rramyasr@in.ibm.com>
diff --git a/gui/gui_test/hardware_status_menu/test_sensors_sub_menu.robot b/gui/gui_test/hardware_status_menu/test_sensors_sub_menu.robot
index 4654378..9d1b1a2 100644
--- a/gui/gui_test/hardware_status_menu/test_sensors_sub_menu.robot
+++ b/gui/gui_test/hardware_status_menu/test_sensors_sub_menu.robot
@@ -129,9 +129,9 @@
Click Element ${xpath_hardware_status_menu}
Click Element ${xpath_sensor_sub_menu}
Wait Until Keyword Succeeds 30 sec 5 sec Location Should Contain sensors
- Wait Until Element Is Not Visible ${xpath_page_loading_progress_bar} timeout=30
- # Added delay for sensor page to load completely.
- Sleep 100s
+
+ # Added delay for sensor page to load completely by waiting for disapperance of progress bar.
+ Wait Until Element Is Not Visible ${xpath_page_loading_progress_bar} timeout=15min
Clean Up Filter Values