diff --git a/lib/music_library_web/live/stats_live/index.ex b/lib/music_library_web/live/stats_live/index.ex
index b1808820..79a82fa5 100644
--- a/lib/music_library_web/live/stats_live/index.ex
+++ b/lib/music_library_web/live/stats_live/index.ex
@@ -25,7 +25,7 @@ defmodule MusicLibraryWeb.StatsLive.Index do
|> assign_counts()
|> assign_scrobble_activity(recent_tracks)
|> assign(
- scrobble_activity_mode: :tracks,
+ scrobble_activity_mode: :albums,
latest_record: latest_record,
page_title: gettext("Stats"),
nav_section: :stats
diff --git a/lib/music_library_web/live/stats_live/index.html.heex b/lib/music_library_web/live/stats_live/index.html.heex
index 51ddc26d..464db744 100644
--- a/lib/music_library_web/live/stats_live/index.html.heex
+++ b/lib/music_library_web/live/stats_live/index.html.heex
@@ -84,22 +84,10 @@
<%!-- TODO: replace with OSS version --%>
-
+
Records.change_record(%{release_ids: ["2157367e-bf73-48bb-8185-41023a54fa08"]})
|> Repo.update!()
+ # By default, we show scrobbled albums
+
session =
conn
|> visit("/")
+ |> assert_has("#album-#{machinarium_soundtrack_track.scrobbled_at_uts}",
+ text: "Wishlisted"
+ )
+ |> assert_has("#album-#{the_last_flight_track.scrobbled_at_uts}", text: "Collected")
+ |> assert_has("#album-#{the_mystery_of_time_track.scrobbled_at_uts}",
+ text: "Choose which format to import"
+ )
+ |> assert_has("#album-#{in_murmuration_track.scrobbled_at_uts}",
+ text: "No MB ID"
+ )
+ # Switch to tracks list
+ |> click_button("Tracks")
|> assert_has("#track-#{machinarium_soundtrack_track.scrobbled_at_uts}",
text: "Wishlisted"
)