feat(cv): rebuild professional resume studio

This commit is contained in:
cesnimda
2026-08-24 20:21:23 +02:00
parent dca5daa1a2
commit 367b70681a
27 changed files with 827 additions and 187 deletions
+7
View File
@@ -310,6 +310,8 @@ test("Career Workspace loads from the authenticated application shell", async ({
await page.getByRole("link", { name: "Open CV Builder" }).click();
await expect(page).toHaveURL(/\/career\/builder$/);
await page.getByRole("button", { name: "New CV" }).first().click();
await expect(page.getByRole("dialog", { name: "Create a CV" })).toBeVisible();
await page.getByRole("button", { name: "Create CV" }).click();
await expect(page).toHaveURL(/\/career\/builder\/\d+$/);
await expect(page.getByLabel("CV name")).toBeVisible();
@@ -319,6 +321,11 @@ test("Career Workspace loads from the authenticated application shell", async ({
for (const width of [375, 768, 1440]) {
await page.setViewportSize({ width, height: 900 });
await expect(page.getByLabel("CV name")).toBeVisible();
if (width === 375) {
await page.getByRole("button", { name: "Preview" }).click();
await expect(page.getByTitle("CV preview page 1")).toBeVisible();
await page.getByRole("button", { name: "Edit" }).click();
}
const overflow = await page.evaluate(() => document.documentElement.scrollWidth - document.documentElement.clientWidth);
expect(overflow).toBeLessThanOrEqual(1);
}