test(cv): follow explicit template preview application

This commit is contained in:
cesnimda
2026-10-26 09:06:36 +01:00
parent fc93dfb950
commit b1817aa52c
2 changed files with 8 additions and 0 deletions
+4
View File
@@ -380,6 +380,10 @@ test("Career Workspace loads from the authenticated application shell", async ({
await page.getByRole("tab", { name: "Template" }).click();
await page.getByRole("button").filter({ hasText: /^CodeTechnical/ }).click();
const templatePreview = page.getByRole("dialog", { name: "Preview design · Code", exact: true });
await expect(templatePreview.getByTitle("Template sample preview", { exact: true })).toBeVisible();
await templatePreview.getByRole("button", { name: "Apply template", exact: true }).click();
await expect(templatePreview).toHaveCount(0);
await page.getByRole("tab", { name: "Customize" }).click();
await page.getByRole("button", { name: "Advanced document settings", exact: true }).click();
await page.getByLabel("Skills presentation").click();