test: move slow and less critical tests to nightly suite
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Simon 2026-01-28 14:34:05 +01:00
parent eb2b2436be
commit 050ca4a13c
Signed by: simon
GPG key ID: 40E7A58C4AA1EDB2
9 changed files with 243 additions and 55 deletions

View file

@ -23,6 +23,7 @@ defmodule MvWeb.UserLive.ShowTest do
end
describe "mount and display" do
@tag :slow
test "mounts successfully with valid user ID", %{conn: conn, user: user} do
conn = conn_with_oidc_user(conn)
{:ok, _view, html} = live(conn, ~p"/users/#{user.id}")
@ -55,6 +56,7 @@ defmodule MvWeb.UserLive.ShowTest do
assert html =~ gettext("Not enabled")
end
@tag :slow
test "displays linked member when present", %{conn: conn} do
system_actor = Mv.Helpers.SystemActor.get_system_actor()
@ -108,6 +110,7 @@ defmodule MvWeb.UserLive.ShowTest do
end
describe "system actor user" do
@tag :slow
test "redirects to user list when viewing system actor user", %{conn: conn} do
system_actor = Mv.Helpers.SystemActor.get_system_actor()
conn = conn_with_oidc_user(conn)