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:
@@ -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')!);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user