The most complete open-source travel planner: real-time collaboration, bookings, budgets, packing lists, journals, offline PWA, SSO and an AI-ready MCP server, with planet-wide place search and routing built in.
TypeScript budget-trackercollaborativedockeritinerarymcp-serveroffline-firstopen-sourceopenstreetmappacking-listpwareal-timeself-hostedselfhostedtraveltravel-apptravel-journaltravel-plannertripitwanderlog
test: update tests to use English translation strings
Isaias Tavaresecbb1de8de36
diff --git a/client/src/components/Photos/PhotoUpload.test.tsx b/client/src/components/Photos/PhotoUpload.test.tsxindex 13bf07f4d..3f716c4ea 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(<PhotoUpload {...defaultProps} />)- expect(screen.getByText('Fotos hier ablegen')).toBeInTheDocument()+ expect(screen.getByText('Drop photos here')).toBeInTheDocument()// Upload icon rendered via lucide-react as SVGexpect(document.querySelector('svg')).toBeTruthy()})@@ -51,7 +51,7 @@ describe('PhotoUpload', () => {it('FE-COMP-PHOTOUPLOAD-002: options section hidden before files are selected', () => {render(<PhotoUpload {...defaultProps} />)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(<PhotoUpload {...defaultProps} />)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.tsxindex 8455b41fb..22298b8cc 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.tsxindex 49d05bc99..cf2053376 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();});});});