nixos/tests/vaultwarden: fix aarch64-linux compat (#516278)

This commit is contained in:
Martin Weinelt 2026-05-05 10:42:19 +00:00 committed by GitHub
commit 33169bee6f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -32,10 +32,11 @@ let
}
# python
''
import shutil
from selenium.webdriver.common.by import By
from selenium.webdriver import Firefox
from selenium.webdriver.firefox.options import Options
from selenium.webdriver.firefox.service import Service
from selenium.webdriver.support.ui import WebDriverWait
from selenium.webdriver.support import expected_conditions as EC
from selenium.common.exceptions import ElementClickInterceptedException
@ -50,9 +51,11 @@ let
continue
service = Service(shutil.which("geckodriver"))
options = Options()
options.add_argument('--headless')
driver = Firefox(options=options)
driver = Firefox(options=options, service=service)
driver.implicitly_wait(20)
driver.get('https://localhost/#/signup')