Show record ID on wishlist and collection detail pages

This commit is contained in:
Claudio Ortolina
2025-01-27 23:29:01 +00:00
parent 59371ba7be
commit 97eb01f6a6
4 changed files with 68 additions and 15 deletions
@@ -29,6 +29,7 @@ defmodule MusicLibraryWeb.CollectionLive.ShowTest do
|> assert_has("p", text: Record.format_long_label(record.format))
|> assert_has("p", text: Record.type_long_label(record.type))
|> assert_has("dd", text: Record.format_as_date(record.purchased_at))
|> assert_has("dd", text: record.id)
|> assert_has("dd", text: Record.format_as_date(record.inserted_at))
|> assert_has("dd", text: Record.format_as_date(record.updated_at))
|> assert_has("img[src='#{cover_url}']")