diff --git a/packages/web/e2e/layout.spec.mjs b/packages/web/e2e/layout.spec.mjs index a6c67f9..0ca0df8 100644 --- a/packages/web/e2e/layout.spec.mjs +++ b/packages/web/e2e/layout.spec.mjs @@ -7,7 +7,9 @@ * once inside a session; * - the models page at 390x844 must not overflow horizontally, and text must not overlap * (the group header's provider name used to get pushed out of the button box and overlap - * the group-level actions); + * the group-level actions), and its model dialog opts every field out of browser autofill + * (the API-key box used to receive the account's saved password, the box above it the + * username); * - every chat-page dropdown menu, opened at phone widths (375/390), must keep its panel * inside the viewport and must not shove the page sideways (the model menu used to run * ~34px off-screen left, the skills menu ~92px off-screen right — with its autofocused @@ -212,6 +214,36 @@ test("layout: en draft + context gauge + mobile models", async ({ page }) => { expect(d.scrollWidth, "models @390 no horizontal overflow").toBeLessThanOrEqual(d.clientWidth); expect(await textOverlapCount(page), "models @390 no overlapping text").toBe(0); + // --- Model dialog: no field may invite the browser's saved login. The dialog's fields are + // unowned (no