Use a dropdown to import records

This commit is contained in:
Claudio Ortolina
2024-10-25 10:29:42 +01:00
parent 1d701bee82
commit 781d9f8640
3 changed files with 63 additions and 10 deletions
@@ -377,7 +377,7 @@ defmodule MusicLibraryWeb.RecordIndexTest do
end)
import_live
|> element("#musicbrainz_#{first_result_id} button", "CD")
|> element("#musicbrainz_#{first_result_id} a", "CD")
|> render_click()
[record] = MusicLibrary.Repo.all(MusicLibrary.Records.Record)