test: move slow and less critical tests to nightly suite
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
eb2b2436be
commit
050ca4a13c
9 changed files with 243 additions and 55 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue