test: fix tests and skip tests for initials generation
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
e3dd333e89
commit
863821f3ae
5 changed files with 28 additions and 21 deletions
|
|
@ -288,7 +288,7 @@ defmodule MvWeb.UserLive.IndexTest do
|
|||
|> element("input[type='checkbox'][name='select_all'][checked]")
|
||||
|> has_element?()
|
||||
|
||||
# Select second user
|
||||
# Select second user
|
||||
html = view |> element("input[type='checkbox'][name='#{user2.id}']") |> render_click()
|
||||
|
||||
# Now select all should be automatically checked (all individual users are selected)
|
||||
|
|
@ -388,7 +388,7 @@ defmodule MvWeb.UserLive.IndexTest do
|
|||
assert html =~ "Email"
|
||||
assert html =~ "OIDC ID"
|
||||
# Should show the authenticated user at minimum
|
||||
assert html =~ "user@example.com"
|
||||
assert html =~ "oidc.user" # Matches the generated email pattern oidc.user{unique_id}@example.com
|
||||
end
|
||||
|
||||
test "handles users with missing OIDC ID", %{conn: conn} do
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue