From 2226bb85cf6abccc8b2c061cbbb1acfc1ffc04f1 Mon Sep 17 00:00:00 2001 From: ericbsd Date: Wed, 24 Apr 2024 14:00:05 -0300 Subject: [PATCH] Adding longer wait for ha_enable --- tests/bdd/ha-bhyve02/test_NAS_T0933.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/bdd/ha-bhyve02/test_NAS_T0933.py b/tests/bdd/ha-bhyve02/test_NAS_T0933.py index 420d661235f..9dd30ce7845 100644 --- a/tests/bdd/ha-bhyve02/test_NAS_T0933.py +++ b/tests/bdd/ha-bhyve02/test_NAS_T0933.py @@ -249,6 +249,7 @@ def press_initiate_failover_check_confirm_and_press_failover(driver): driver.find_element_by_xpath(xpaths.checkbox.confirm).click() assert wait_on_element(driver, 5, xpaths.button.failover) driver.find_element_by_xpath(xpaths.button.failover).click() + time.sleep(10) @then('Wait for the login page to appear') @@ -273,8 +274,7 @@ def at_the_login_page_enter_root_and_password(driver, user, password): if wait_on_element(driver, 5, xpaths.popup.help): assert wait_on_element(driver, 10, xpaths.button.close, 'clickable') driver.find_element_by_xpath(xpaths.button.close).click() - # wait_on_element need to be replace with wait_on_element when NAS-118299 - assert wait_on_element(driver, 30, xpaths.topToolbar.ha_enable) + assert wait_on_element(driver, 60, xpaths.topToolbar.ha_enable) @then(parsers.parse('ssh and input {tdbdump_command} after failover'))