fix(webui): normalize Jellyfin match label
CI / build-and-test (push) Canceled after 0s
CI / apple-contracts (push) Canceled after 0s
CI / compose-contracts (push) Canceled after 0s

This commit is contained in:
2026-07-30 12:09:36 -04:00
parent b4429ea565
commit 09cb3cdb24
2 changed files with 5 additions and 4 deletions
+1 -3
View File
@@ -242,9 +242,7 @@
id={candidateProvider(candidate) || backend.toLowerCase()}
definition={provider(candidateProvider(candidate))}
/>
{candidateProvider(candidate)
? providerName(candidateProvider(candidate))
: backend}
{providerName(candidateProvider(candidate))}
{#if resolution?.targetType === "local" && candidate.components?.localPreference}
<span>· +{percent(candidate.components.localPreference)} local boost</span>
{/if}
+4 -1
View File
@@ -1034,7 +1034,10 @@ test("Tentative mappings sort by confidence and deep links open review", async (
await expect(dialog.locator(".candidate-provider").filter({ hasText: "Apple Music - Gamdl" })).toBeVisible();
await expect(dialog.getByText("MusicBrainz album")).toHaveCount(0);
await expect(dialog.locator(".candidate-card .mapping-art > span").first()).toBeVisible();
await expect(dialog.locator(".automatic-candidates").getByText("· +7% local boost")).toBeVisible();
await expect(
dialog.locator(".automatic-candidates .candidate-provider")
.filter({ hasText: "Jellyfin · +7% local boost" }),
).toBeVisible();
await expect(dialog.locator(".automatic-candidates .candidate-confidence").getByText("89%")).toBeVisible();
await expect(dialog.locator(".automatic-candidates").getByText("preference score")).toHaveCount(0);
await dialog.getByLabel("Search local library and playable providers").fill("Kiss Me More");