diff --git a/frontend/__tests__/a11y/components/EntityActions.a11y.test.tsx b/frontend/__tests__/a11y/components/EntityActions.a11y.test.tsx index ee85711ccf..78e422ac67 100644 --- a/frontend/__tests__/a11y/components/EntityActions.a11y.test.tsx +++ b/frontend/__tests__/a11y/components/EntityActions.a11y.test.tsx @@ -34,7 +34,7 @@ describe('EntityActions a11y', () => { /> ) - const toggleButton = screen.getByTestId('program-actions-button') + const toggleButton = screen.getByRole('button', { name: /Program actions menu/ }) fireEvent.click(toggleButton) const results = await axe(container) diff --git a/frontend/__tests__/a11y/components/Footer.a11y.test.tsx b/frontend/__tests__/a11y/components/Footer.a11y.test.tsx index 48443c4ab5..23d79de291 100644 --- a/frontend/__tests__/a11y/components/Footer.a11y.test.tsx +++ b/frontend/__tests__/a11y/components/Footer.a11y.test.tsx @@ -16,7 +16,7 @@ describe('Footer a11y', () => { it('should not have any accessibility violations when section is opened', async () => { const { container } = render(