Use tabs for scrobble activity toggle

This commit is contained in:
Claudio Ortolina
2025-06-25 12:05:23 +03:00
parent 0c84adde59
commit 08bc50d5dd
3 changed files with 394 additions and 386 deletions
@@ -178,7 +178,7 @@ defmodule MusicLibraryWeb.StatsLive.IndexTest do
|> assert_has("#album-#{machinarium_soundtrack_track.scrobbled_at_uts}",
text: "Wishlisted"
)
|> refute_has("p", text: machinarium_soundtrack_track.title)
|> assert_has("[hidden] p", text: machinarium_soundtrack_track.title)
|> assert_has("p", text: machinarium_soundtrack_track.album.title)
|> assert_has("#album-#{the_last_flight_track.scrobbled_at_uts}", text: "Collected")
|> assert_has("#album-#{the_mystery_of_time_track.scrobbled_at_uts}",