diff options
author | Robert Schütz <nix@dotlambda.de> | 2023-01-13 05:24:14 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-13 05:24:14 -0800 |
commit | 0a9df042f23bda9187c24c13ab1e5f56b09b665a (patch) | |
tree | e57029119b603a3d1f22d923eb5a3ced970833e5 /nixos/tests | |
parent | 9f87711f0ddedc8291090b244fbfdd3848a0fde7 (diff) | |
parent | eb4891d2d3331a0a1c06098f7af1574fa671f363 (diff) |
Merge pull request #207595 from wahjava/update-vaultwarden
vaultwarden: 1.26.0 -> 1.27.0
Diffstat (limited to 'nixos/tests')
-rw-r--r-- | nixos/tests/vaultwarden.nix | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/nixos/tests/vaultwarden.nix b/nixos/tests/vaultwarden.nix index c0e1d0585b931..d0b11e00538fd 100644 --- a/nixos/tests/vaultwarden.nix +++ b/nixos/tests/vaultwarden.nix @@ -107,7 +107,7 @@ let wait = WebDriverWait(driver, 10) - wait.until(EC.title_contains("Create Account")) + wait.until(EC.title_contains("Create account")) driver.find_element(By.CSS_SELECTOR, 'input#register-form_input_email').send_keys( '${userEmail}' @@ -122,18 +122,20 @@ let '${userPassword}' ) - driver.find_element(By.XPATH, "//button[contains(., 'Create Account')]").click() + driver.find_element(By.XPATH, "//button[contains(., 'Create account')]").click() - wait.until_not(EC.title_contains("Create Account")) + wait.until_not(EC.title_contains("Create account")) + + driver.find_element(By.XPATH, "//button[contains(., 'Continue')]").click() driver.find_element(By.CSS_SELECTOR, 'input#login_input_master-password').send_keys( '${userPassword}' ) - driver.find_element(By.XPATH, "//button[contains(., 'Log In')]").click() + driver.find_element(By.XPATH, "//button[contains(., 'Log in')]").click() - wait.until(EC.title_contains("Bitwarden Web Vault")) + wait.until(EC.title_contains("Vaultwarden Web Vault")) - driver.find_element(By.XPATH, "//button[contains(., 'Add Item')]").click() + driver.find_element(By.XPATH, "//button[contains(., 'Add item')]").click() driver.find_element(By.CSS_SELECTOR, 'input#name').send_keys( 'secrets' |