дзеркало
https://github.com/l0ng-ai/openidea.git
синхронізовано 2026-11-09 19:25:54 +02:00
test(e2e): match computed-style serialization in the Inter font assertion (#2305)
Цей коміт міститься в:
1 джерело
c103a148f2
коміт
950cb4b4fb
1 file changed
+2
-1
@@ -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");
|
||||
|
||||
Reference in new issue
Заблокувати користувача