feat(ui): migrate Career import review and version history

This commit is contained in:
cesnimda
2026-10-12 19:28:25 +02:00
parent ec23b650f7
commit 5d6e32358c
20 changed files with 10454 additions and 124 deletions
@@ -350,7 +350,7 @@ test('[P7-02 PRES-C01 C02] existing raw source copy and history entry remain rea
await navigateSection(page, 'en', 'profile');
const label = t.profileCvVersionHistory.replace('{count}', String(history.length));
await page.getByRole('button', { name: label, exact: true }).click();
await expect(page.getByRole('button', { name: t.profileCvVersionRestore, exact: true }).first()).toBeVisible();
await expect(page.getByRole('button', { name: new RegExp(`^${t.careerRestoreVersion.replace('{version}', '\\d+')}$`) }).first()).toBeVisible();
expect(await (await page.request.get(`${apiUrl}/career/profile`)).json()).toEqual(before);
expect(await (await page.request.get(`${apiUrl}/career/profile/versions`)).json()).toEqual(history);
await info.attach('native-career-source-history-entry', { body: JSON.stringify({ clipboardContentPreservedWithExplicitWindowsLineEndingNormalization: true, historyEntryVisible: true,