feat(cv): redesign editor frame and section navigation

This commit is contained in:
cesnimda
2026-10-07 12:42:16 +02:00
parent efc9e7bdd4
commit 44b944e5ed
45 changed files with 19230 additions and 55 deletions
+6 -2
View File
@@ -509,10 +509,14 @@ test("the Code template exports a long structured CV as searchable multi-page PD
await page.goto(`/career/builder/${variant.id}`);
await expect(page.getByLabel("CV name")).toHaveValue("Code PDF Verification");
await expect(page.getByRole("tab", { name: "Template" })).toHaveAttribute("aria-selected", "true");
await expect(page.getByRole("tab", { name: "Content" })).toHaveAttribute("aria-selected", "true");
await page.getByRole("tab", { name: "Content" }).click();
await page.getByRole("button", { name: "Expand Experience" }).click();
await page.getByRole("button", { name: "Expand Education" }).click();
await expect(page.getByRole("button", { name: "Collapse Experience" })).toBeVisible();
// Open the second disclosure with its keyboard contract while the long first
// section expands, avoiding a pointer target moving during the Collapse reflow.
await page.getByRole("button", { name: "Expand Education" }).focus();
await page.keyboard.press("Enter");
await expect(page.getByRole("button", { name: "Collapse Experience" })).toBeVisible();
await expect(page.getByRole("button", { name: "Collapse Education" })).toBeVisible();