diff --git a/public/app/features/browse-dashboards/components/BrowseActions/MoveModal.test.tsx b/public/app/features/browse-dashboards/components/BrowseActions/MoveModal.test.tsx index b5e34cdb623..c860dd6d2fd 100644 --- a/public/app/features/browse-dashboards/components/BrowseActions/MoveModal.test.tsx +++ b/public/app/features/browse-dashboards/components/BrowseActions/MoveModal.test.tsx @@ -79,7 +79,9 @@ describe('browse-dashboards MoveModal', () => { }; render(); - expect(await screen.findByText('Moving this item may change its permissions.')).toBeInTheDocument(); + expect( + await screen.findByRole('status', { name: 'Moving this item may change its permissions.' }) + ).toBeInTheDocument(); }); it('only enables the `Move` button if a folder is selected', async () => { diff --git a/public/app/features/browse-dashboards/components/BrowseActions/MoveModal.tsx b/public/app/features/browse-dashboards/components/BrowseActions/MoveModal.tsx index c235b7608a8..679cf7f1153 100644 --- a/public/app/features/browse-dashboards/components/BrowseActions/MoveModal.tsx +++ b/public/app/features/browse-dashboards/components/BrowseActions/MoveModal.tsx @@ -29,7 +29,7 @@ export const MoveModal = ({ onConfirm, onDismiss, selectedItems, ...props }: Pro return ( - {selectedFolders.length > 0 && } + {selectedFolders.length > 0 && } This action will move the following content:
This action will move the following content: