test: fix tests and skip tests for initials generation
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Simon 2025-09-29 16:05:00 +02:00
parent e3dd333e89
commit 863821f3ae
Signed by: simon
GPG key ID: 40E7A58C4AA1EDB2
5 changed files with 28 additions and 21 deletions

View file

@ -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