Add guided CV builder controls
CI and Deploy / test (push) Failing after 0s
CI and Deploy / deploy (push) Has been skipped

This commit is contained in:
2026-04-20 21:22:31 +02:00
parent eea327e1f6
commit 657cb95a48
3 changed files with 59 additions and 6 deletions
+7 -4
View File
@@ -248,9 +248,8 @@ test('profile page rewrite tools use selected template and saved job context', a
expect(await screen.findByText(/template-driven cv builder/i)).toBeInTheDocument();
fireEvent.click(screen.getByText(/harvard/i));
fireEvent.mouseDown(screen.getAllByRole('combobox')[1]);
fireEvent.click(await screen.findByText(/senior backend engineer · acme systems/i));
fireEvent.change(screen.getByLabelText(/prompt-based cv brief/i), { target: { value: 'Highlight backend platform ownership, distributed systems, and cross-team delivery.' } });
fireEvent.change(screen.getByLabelText(/target role/i), { target: { value: 'Senior Platform Engineer' } });
const rewriteButton = screen.getByRole('button', { name: /build preview/i });
fireEvent.click(rewriteButton);
@@ -259,7 +258,11 @@ test('profile page rewrite tools use selected template and saved job context', a
sectionName: null,
style: 'harvard',
templateId: 'harvard',
jobApplicationId: 42,
jobApplicationId: null,
promptBackground: 'Highlight backend platform ownership, distributed systems, and cross-team delivery.',
targetRole: 'Senior Platform Engineer',
language: 'English',
tone: 'Concise and direct',
}));
});