diff --git a/changelogs/fragments/6755.yml b/changelogs/fragments/6755.yml new file mode 100644 index 000000000000..8e06db889066 --- /dev/null +++ b/changelogs/fragments/6755.yml @@ -0,0 +1,2 @@ +fix: +- Add test for toast button and validation form ([#6755](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/6755)) \ No newline at end of file diff --git a/src/plugins/data_source_management/public/components/toast_button/reload_button.test.tsx b/src/plugins/data_source_management/public/components/toast_button/reload_button.test.tsx index 768a5c30ac5d..31223ae6943f 100644 --- a/src/plugins/data_source_management/public/components/toast_button/reload_button.test.tsx +++ b/src/plugins/data_source_management/public/components/toast_button/reload_button.test.tsx @@ -4,7 +4,7 @@ */ import { render, fireEvent } from '@testing-library/react'; -import { getReloadButton } from './reload_button'; // Replace 'yourComponent' with the actual filename +import { getReloadButton } from './reload_button'; describe('getReloadButton', () => { it('renders button with correct label', () => {