Show artist MusicBrainz ID (with link and copy button)

This commit is contained in:
Claudio Ortolina
2025-05-15 16:59:12 +01:00
parent f754d631f2
commit cc3cf02490
5 changed files with 37 additions and 4 deletions
@@ -70,7 +70,7 @@ defmodule MusicLibraryWeb.ArtistLive.ShowTest do
|> assert_has("div", text: "Error loading biography")
end
test "it shows the artist country", %{
test "it shows the artist country and MB id", %{
conn: conn,
artist_musicbrainz_id: artist_musicbrainz_id
} do
@@ -89,6 +89,7 @@ defmodule MusicLibraryWeb.ArtistLive.ShowTest do
|> unwrap(&render_async/1)
|> assert_has("span", text: "United Kingdom")
|> assert_has("span", text: "🇬🇧")
|> assert_has("dd", text: artist_musicbrainz_id)
end
test "it shows records from the collection and the wishlist", %{