test(e2e): expect installed Inter before bundled Inter Variable (#2305)

Цей коміт міститься в:
arookieofc committed 2026-11-09 17:16:27 +08:00
1 джерело 73d3862087
коміт c103a148f2
1 file changed
+1 -1
+1 -1
Переглянути файл
@@ -61,7 +61,7 @@ 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 Variable",/);
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");