diff --git a/packages/react/src/Pagination/Pagination.test.tsx b/packages/react/src/Pagination/Pagination.test.tsx index 1dd82844ef..19a42d419c 100644 --- a/packages/react/src/Pagination/Pagination.test.tsx +++ b/packages/react/src/Pagination/Pagination.test.tsx @@ -106,8 +106,8 @@ describe('Pagination', () => { it('render custom aria-labels for the "previous" and "next" buttons', () => { render() - expect(screen.getByText('vorige')).toBeInTheDocument() - expect(screen.getByText('volgende')).toBeInTheDocument() + expect(screen.getByText('vorige')).toHaveAttribute('aria-label', 'Vorige pagina') + expect(screen.getByText('volgende')).toHaveAttribute('aria-label', 'Volgende pagina') }) it('supports ForwardRef in React', () => {