From d2456a326815268edd026b508674dcde571f48dc Mon Sep 17 00:00:00 2001 From: Deluan Date: Sun, 3 May 2026 10:43:15 -0400 Subject: [PATCH] test: add ascii tree diagram to top-level album e2e test --- core/artwork/e2e/album_test.go | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/core/artwork/e2e/album_test.go b/core/artwork/e2e/album_test.go index 9de974339..02a3ca83a 100644 --- a/core/artwork/e2e/album_test.go +++ b/core/artwork/e2e/album_test.go @@ -121,6 +121,14 @@ var _ = Describe("Album artwork resolution", func() { // Reproduces https://github.com/navidrome/navidrome/issues/5456 When("a top-level multi-disc album has cover.jpg at the album root and per-disc folder.jpg", func() { + // Album/ (top-level folder, Path=".") + // ├── CD1/ + // │ ├── 01 - Track.mp3 + // │ └── folder.jpg + // ├── CD2/ + // │ ├── 01 - Track.mp3 + // │ └── folder.jpg + // └── cover.jpg ← should win (album-root) It("prefers the album-root cover.jpg", func() { conf.Server.CoverArtPriority = defaultCoverPriority setLayout(fstest.MapFS{