Skip to content

Commit

Permalink
Adding longer wait for ha_enable
Browse files Browse the repository at this point in the history
  • Loading branch information
ericbsd committed Apr 24, 2024
1 parent ff3ef4a commit 2226bb8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/bdd/ha-bhyve02/test_NAS_T0933.py
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand All @@ -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'))
Expand Down

0 comments on commit 2226bb8

Please sign in to comment.