fix(i18n): finish career activity copy
This commit is contained in:
@@ -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%/);
|
||||
|
||||
Reference in New Issue
Block a user