test(cv): follow explicit template preview application
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user