Added delay for page to load completely

Change-Id: I372c7ba57ffd92e5cbc3dae42c085f56d5d853d5
Signed-off-by: rramyasr-in <rramyasr@in.ibm.com>
diff --git a/gui/gui_test/hardware_status_menu/test_inventory_and_leds_sub_menu.robot b/gui/gui_test/hardware_status_menu/test_inventory_and_leds_sub_menu.robot
index 1c9ee80..3219441 100644
--- a/gui/gui_test/hardware_status_menu/test_inventory_and_leds_sub_menu.robot
+++ b/gui/gui_test/hardware_status_menu/test_inventory_and_leds_sub_menu.robot
@@ -10,8 +10,8 @@
 
 *** Variables ***
 
-${xpath_inventory_and_leds_heading}  //h1[text()="Inventory and LEDs"]
-
+${xpath_inventory_and_leds_heading}         //h1[text()="Inventory and LEDs"]
+${xpath_page_loading_progress_ba}           //*[@aria-label='Page loading progress bar']
 *** Test Cases ***
 
 Verify Navigation To Inventory And LEDs Page
@@ -43,3 +43,4 @@
     Click Element  ${xpath_hardware_status_menu}
     Click Element  ${xpath_inventory_and_leds_sub_menu}
     Wait Until Keyword Succeeds  30 sec  5 sec  Location Should Contain  inventory
+    Wait Until Element Is Not Visible   ${xpath_page_loading_progress_bar}  timeout=30