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
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue