Simplify scrobbled tracks layout

Remove no results view
This commit is contained in:
Claudio Ortolina
2025-09-16 21:01:44 +03:00
parent 08a42e3edc
commit f42f050de0
4 changed files with 74 additions and 120 deletions
@@ -96,17 +96,6 @@ defmodule MusicLibraryWeb.ScrobbledTracksLiveTest do
assert html =~ "Unique Album Title"
end
test "shows no results message for non-matching search", %{conn: conn} do
{:ok, index_live, _html} = live(conn, ~p"/scrobbled-tracks")
html =
index_live
|> form("form[phx-submit='search']", %{query: "NonexistentTrack"})
|> render_submit()
assert html =~ "Try adjusting your search"
end
end
describe "Edit track" do