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

@ -93,6 +93,7 @@ defmodule MvWeb.RoleLive.ShowTest do
%{conn: conn, actor: system_actor}
end
@tag :slow
test "mounts successfully with valid role ID", %{conn: conn} do
role = create_role()
@ -101,6 +102,7 @@ defmodule MvWeb.RoleLive.ShowTest do
assert html =~ role.name
end
@tag :slow
test "displays role name", %{conn: conn} do
role = create_role(%{name: "Test Role Name"})
@ -127,6 +129,7 @@ defmodule MvWeb.RoleLive.ShowTest do
assert html =~ gettext("No description")
end
@tag :slow
test "displays permission set name", %{conn: conn} do
role = create_role(%{permission_set_name: "read_only"})
@ -152,6 +155,7 @@ defmodule MvWeb.RoleLive.ShowTest do
assert html =~ gettext("Yes")
end
@tag :slow
test "displays non-system role badge when is_system_role is false", %{conn: conn} do
role = create_role()
@ -178,6 +182,7 @@ defmodule MvWeb.RoleLive.ShowTest do
%{conn: conn, actor: system_actor}
end
@tag :slow
test "back button navigates to role list", %{conn: conn} do
role = create_role()