fix(i18n): finish career activity copy

This commit is contained in:
cesnimda
2026-08-29 21:57:40 +02:00
parent a704c75440
commit 457f0601c0
13 changed files with 272 additions and 91 deletions
+10
View File
@@ -416,6 +416,16 @@ test('/career shows the profile completeness overview', async () => {
expect(await screen.findByText(/70%/)).toBeInTheDocument();
});
test('/career localizes completeness and review confidence without changing CV data', async () => {
window.localStorage.setItem('uiLanguage', 'nb');
renderWith(CareerProfilePage);
expect(await screen.findByText(/Legg til neste: Prosjekter/i)).toBeInTheDocument();
fireEvent.click(screen.getByRole('tab', { name: 'Karriereprofil' }));
expect(screen.getByText(/Høy 92%/i)).toBeInTheDocument();
expect(screen.getByDisplayValue('Demo User')).toBeInTheDocument();
});
test('/career separates overview, profile and import while preserving unsaved profile edits', async () => {
renderWith(CareerProfilePage);
await screen.findByText(/70%/);