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

@ -44,6 +44,7 @@ defmodule Mv.SeedsTest do
end
describe "Seeds script" do
@tag :slow
test "runs successfully and creates basic data", %{actor: actor} do
# Smoke test: verify seeds created essential data structures
{:ok, users} = Ash.read(Mv.Accounts.User, actor: actor)
@ -57,6 +58,7 @@ defmodule Mv.SeedsTest do
assert length(roles) >= 5, "Seeds should create at least 5 authorization roles"
end
@tag :slow
test "is idempotent when run multiple times", %{actor: actor} do
# Seeds already run once in setup - count current state
{:ok, users_count_1} = Ash.read(Mv.Accounts.User, actor: actor)