fix(ci): wait for Vault to load sign in form before filling it out (#3585)

Fixes flaky tests:


https://github.com/firezone/firezone/actions/runs/7803717485/job/21284091520#step:21:1357
This commit is contained in:
Jamil
2024-02-06 11:10:31 -08:00
committed by GitHub
parent 931dd972bd
commit 232b3874f9

View File

@@ -98,7 +98,6 @@ defmodule Web.AcceptanceCase.Vault do
def userpass_flow(session, oidc_login, oidc_password) do
session
|> assert_text("Method")
|> fill_in(Query.css("[data-test-select=\"auth-method\"]"), with: "userpass")
|> fill_in(Query.fillable_field("username"), with: oidc_login)
|> fill_in(Query.fillable_field("password"), with: oidc_password)