diff --git a/e2e/settings.spec.ts b/e2e/settings.spec.ts index e7b3940fa..430c698b8 100644 --- a/e2e/settings.spec.ts +++ b/e2e/settings.spec.ts @@ -61,7 +61,8 @@ test("font picker supports manual families and CJK fallback in browser developme expect(interLoaded).toBe(true); await family.fill("Inter"); await family.press("Enter"); - await expect(dialog.getByLabel("Font preview")).toHaveCSS("font-family", /^"Inter", "Inter Variable",/); + // Computed styles drop redundant quotes around single-token families ("Inter" -> Inter). + await expect(dialog.getByLabel("Font preview")).toHaveCSS("font-family", /^Inter, "Inter Variable",/); const fallback = dialog.getByRole("combobox", { name: "Fallback font", exact: true }); await family.fill("Maple Mono NF"); await family.press("Enter");