feat(cv): organize template and document controls

This commit is contained in:
cesnimda
2026-10-08 00:16:44 +02:00
parent 673cff1145
commit d8d262e4d1
99 changed files with 27605 additions and 82 deletions
@@ -110,6 +110,9 @@ for (const [mode, language, width] of [["light", "en", 1440], ["dark", "nb", 144
const canonicalBefore = (await (await page.request.get(`${apiUrl}/career/profile`)).json()).profile;
await page.goto(`/career/builder/${owner.cvId}`);
await page.getByRole("tab", { name: t.cvEditorCustomize, exact: true }).click();
const advanced = page.getByRole("button", { name: t.cvEditorAdvancedSettings, exact: true });
await advanced.focus(); await page.keyboard.press("Enter");
await expect(advanced).toHaveAttribute("aria-expanded", "true");
for (const name of [t.cvEditorHeadingFont, t.cvEditorBodyFont, t.cvEditorHeadingTreatment, t.cvEditorHeaderTreatment]) await expect(page.getByRole("combobox", { name, exact: true })).toBeVisible();
const heading = page.getByRole("combobox", { name: new RegExp(t.cvEditorHeadingFont) });
await heading.focus();