Add pagination for scrobble rules

This commit is contained in:
Claudio Ortolina
2025-12-14 09:21:13 +03:00
parent b890e5cffe
commit 0df348ae19
6 changed files with 167 additions and 11 deletions
@@ -66,7 +66,7 @@ defmodule MusicLibraryWeb.ScrobbleRulesLiveTest do
|> render_click() =~
"Edit Scrobble Rule"
assert_patch(index_live, ~p"/scrobble-rules/#{scrobble_rule}/edit")
assert_patch(index_live, ~p"/scrobble-rules/#{scrobble_rule}/edit?page=1&page_size=20")
assert index_live
|> form("#scrobble_rule-form", scrobble_rule: @invalid_attrs)