feat(ui): migrate Career import review and version history
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user