diff --git a/proto/src/components/Footer.test.tsx b/proto/src/components/Footer.test.tsx index dae4655..278d265 100755 --- a/proto/src/components/Footer.test.tsx +++ b/proto/src/components/Footer.test.tsx @@ -1,6 +1,7 @@ import { render, screen } from '@testing-library/react' import '@testing-library/jest-dom' import Footer from './Footer' +import { common } from '@/content' describe('Footer', () => { it('should render company information', () => { @@ -15,7 +16,8 @@ describe('Footer', () => { expect(screen.getByText('info@mozdit.hu')).toBeInTheDocument() expect(screen.getAllByText('mozdIT Bt.').length).toBeGreaterThan(0) - expect(screen.getByText('Budapest, Magyarország')).toBeInTheDocument() + // Address is CMS-editable (common.json footer.address) — assert the source value + expect(screen.getByText(common.footer.address)).toBeInTheDocument() }) it('should render navigation links', () => {