diff --git a/client/src/components/Photos/PhotoUpload.test.tsx b/client/src/components/Photos/PhotoUpload.test.tsx
index 13bf07f4..3f716c4e 100644
--- a/client/src/components/Photos/PhotoUpload.test.tsx
+++ b/client/src/components/Photos/PhotoUpload.test.tsx
@@ -43,7 +43,7 @@ describe('PhotoUpload', () => {
it('FE-COMP-PHOTOUPLOAD-001: renders dropzone with upload instructions', () => {
render()
- expect(screen.getByText('Fotos hier ablegen')).toBeInTheDocument()
+ expect(screen.getByText('Drop photos here')).toBeInTheDocument()
// Upload icon rendered via lucide-react as SVG
expect(document.querySelector('svg')).toBeTruthy()
})
@@ -51,7 +51,7 @@ describe('PhotoUpload', () => {
it('FE-COMP-PHOTOUPLOAD-002: options section hidden before files are selected', () => {
render()
expect(screen.queryByText('Tag verknüpfen')).not.toBeInTheDocument()
- expect(screen.queryByPlaceholderText('Optionale Beschriftung...')).not.toBeInTheDocument()
+ expect(screen.queryByPlaceholderText('Optional caption...')).not.toBeInTheDocument()
})
it('FE-COMP-PHOTOUPLOAD-003: upload button is disabled when no files selected', () => {
@@ -66,7 +66,7 @@ describe('PhotoUpload', () => {
await uploadFiles([makeFile()])
expect(screen.getByAltText('photo.jpg')).toBeInTheDocument()
expect(screen.getByText('Tag verknüpfen')).toBeInTheDocument()
- expect(screen.getByPlaceholderText('Optionale Beschriftung...')).toBeInTheDocument()
+ expect(screen.getByPlaceholderText('Optional caption...')).toBeInTheDocument()
})
it('FE-COMP-PHOTOUPLOAD-005: file count label updates correctly', async () => {
@@ -120,7 +120,7 @@ describe('PhotoUpload', () => {
render()
await uploadFiles([makeFile()])
- await userEvent.type(screen.getByPlaceholderText('Optionale Beschriftung...'), 'Vacation')
+ await userEvent.type(screen.getByPlaceholderText('Optional caption...'), 'Vacation')
await userEvent.click(getSubmitButton())
diff --git a/client/src/pages/FilesPage.test.tsx b/client/src/pages/FilesPage.test.tsx
index 8455b41f..22298b8c 100644
--- a/client/src/pages/FilesPage.test.tsx
+++ b/client/src/pages/FilesPage.test.tsx
@@ -100,7 +100,7 @@ describe('FilesPage', () => {
expect(screen.getByTestId('file-manager')).toBeInTheDocument();
});
- expect(screen.getByText(/2 Dateien/)).toBeInTheDocument();
+ expect(screen.getByText(/2 files for/i)).toBeInTheDocument();
});
});
@@ -205,7 +205,7 @@ describe('FilesPage', () => {
expect(screen.getByTestId('file-manager')).toBeInTheDocument();
});
- expect(screen.getByRole('heading', { name: /Dateien & Dokumente/i })).toBeInTheDocument();
+ expect(screen.getByRole('heading', { name: /Files & Documents/i })).toBeInTheDocument();
});
});
});
diff --git a/client/src/pages/PhotosPage.test.tsx b/client/src/pages/PhotosPage.test.tsx
index 49d05bc9..cf205337 100644
--- a/client/src/pages/PhotosPage.test.tsx
+++ b/client/src/pages/PhotosPage.test.tsx
@@ -118,7 +118,7 @@ describe('PhotosPage', () => {
expect(screen.getByTestId('photo-gallery')).toBeInTheDocument();
});
- expect(screen.getByText(/1 Fotos/)).toBeInTheDocument();
+ expect(screen.getByText(/1 photos for/i)).toBeInTheDocument();
});
});
@@ -224,7 +224,7 @@ describe('PhotosPage', () => {
expect(screen.getByTestId('photo-gallery')).toBeInTheDocument();
});
- expect(screen.getByRole('heading', { name: /fotos/i })).toBeInTheDocument();
+ expect(screen.getByRole('heading', { name: /photos/i })).toBeInTheDocument();
});
});
});