refactor: move slow performance tests to extra test 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
fce01ddf83
commit
67e06e12ce
10 changed files with 433 additions and 5 deletions
|
|
@ -114,6 +114,7 @@ defmodule MvWeb.GroupLive.IndexTest do
|
|||
end
|
||||
end
|
||||
|
||||
@moduletag :slow
|
||||
describe "performance" do
|
||||
test "page loads efficiently with many groups", %{conn: conn} do
|
||||
# Create multiple groups
|
||||
|
|
|
|||
|
|
@ -219,6 +219,7 @@ defmodule MvWeb.GroupLive.ShowTest do
|
|||
end
|
||||
end
|
||||
|
||||
@moduletag :slow
|
||||
describe "performance" do
|
||||
test "member list is loaded efficiently (no N+1 queries)", %{conn: conn} do
|
||||
group = Fixtures.group_fixture()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue