Skip to content

Commit

Permalink
Fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
notthebee committed Apr 5, 2024
1 parent 76594b4 commit b9ffcbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion testing/selenium/acceptance.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ def register_2fa(driver, base_url, username, password, ssh_agent):
WebDriverWait(driver, 20).until(EC.element_to_be_clickable((By.ID, "dialog-verify"))).click()
WebDriverWait(driver, 20).until(EC.element_to_be_clickable((By.ID, "dialog-next"))).click()

WebDriverWait(driver, 20).until(EC.presence_of_element_located((By.ID, "secret-url"))).get_attribute("value")
secret_field = WebDriverWait(driver, 20).until(EC.presence_of_element_located((By.ID, "secret-url"))).get_attribute("value")
save_screenshot("6_SecetURL.png")

logger.debug("Scraping the TOTP secret")
Expand Down

0 comments on commit b9ffcbe

Please sign in to comment.