diff --git a/tests/console/include/common_functions_60.py b/tests/console/include/common_functions_60.py index a76524ff78..2e0a30a416 100644 --- a/tests/console/include/common_functions_60.py +++ b/tests/console/include/common_functions_60.py @@ -18,7 +18,7 @@ def get_menu_element(driver,menu_item_text): def click_menu_element(driver,menu_item_text): return driver.execute_script("arguments[0].click();", get_menu_element(driver,menu_item_text)) -def refresh_N_times_until_find_element(driver,n,element_text,how=By.ID,refresh_time=10): +def refresh_N_times_until_find_element(driver,n,element_text,how=By.ID,refresh_time=5): from selenium.common.exceptions import TimeoutException i = 1 diff --git a/tests/run_console_tests.py b/tests/run_console_tests.py index 13308706b8..0ce64d3fc9 100755 --- a/tests/run_console_tests.py +++ b/tests/run_console_tests.py @@ -39,7 +39,6 @@ print "Tests skipped: %s" % c.skipped print "Tests with errors: %s" % c.errors if (len(c.failures)+len(c.errors)+len(c.skipped)) != 0: - sys.exit(1) + raise Exception(Build failed) + -else: - sys.exit(0)