mirror of
https://github.com/grafana/grafana.git
synced 2026-09-05 04:40:13 -05:00
Nested folders: Create basic Move/Delete modals (#67140)
* add modal scaffolding * add some unit tests * remove dummy api, add some TODO comments * small test refactor * another small test refactor * fix unit tests due to aria-label/data-testid change
This commit is contained in:
+1
-1
@@ -68,7 +68,7 @@ describe('SelectedLogsGroups', () => {
|
||||
await waitFor(() =>
|
||||
expect(screen.getByText('Are you sure you want to clear all log groups?')).toBeInTheDocument()
|
||||
);
|
||||
await waitFor(() => userEvent.click(screen.getByLabelText('Confirm Modal Danger Button')));
|
||||
await waitFor(() => userEvent.click(screen.getByRole('button', { name: 'Yes' })));
|
||||
expect(defaultProps.onChange).toHaveBeenCalledWith([]);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user