fix: resolve test failures across translations, contact form, and vitest config

- Add 18 missing translation keys to all non-English locales (de, es, fr, it, ja, nl, pt) with English fallback values
- Fix contact form submit test targeting prefix input instead of given_name
- Exclude .next/ build output from vitest to prevent Playwright spec conflicts
This commit is contained in:
Linus Rath
2026-03-16 22:51:49 +01:00
parent dc3e5b7706
commit 7cf79d8775
9 changed files with 185 additions and 16 deletions
@@ -67,7 +67,8 @@ describe('ContactForm', () => {
render(<ContactForm onSave={onSave} onCancel={vi.fn()} />);
const inputs = screen.getAllByRole('textbox');
fireEvent.change(inputs[0], { target: { value: 'Jane' } });
const givenNameInput = screen.getByPlaceholderText('given_name');
fireEvent.change(givenNameInput, { target: { value: 'Jane' } });
fireEvent.submit(screen.getByText('save').closest('form')!);