diff --git a/src/plugins/data_source_management/public/components/toast_button/manage_data_source_button.test.tsx b/src/plugins/data_source_management/public/components/toast_button/manage_data_source_button.test.tsx index 72df90e01501..3c1f8bf6bad2 100644 --- a/src/plugins/data_source_management/public/components/toast_button/manage_data_source_button.test.tsx +++ b/src/plugins/data_source_management/public/components/toast_button/manage_data_source_button.test.tsx @@ -20,7 +20,7 @@ describe('ManageDataSourceButton', () => { it('renders a button with correct label', () => { const { getByTestId } = render(getManageDataSourceButton(applicationMock)); - const container = getByTestId('dataSourceManageDataSourceButtonContainer'); + const container = getByTestId('manageDataSourceButtonContainer'); expect(container).toBeInTheDocument(); expect(container).toHaveTextContent('Manage data sources'); });