diff --git a/x-pack/plugins/aiops/public/components/spike_analysis_table/use_copy_to_clipboard_action.test.tsx b/x-pack/plugins/aiops/public/components/spike_analysis_table/use_copy_to_clipboard_action.test.tsx index 966c4d1466afb3..0984c76a4b1708 100644 --- a/x-pack/plugins/aiops/public/components/spike_analysis_table/use_copy_to_clipboard_action.test.tsx +++ b/x-pack/plugins/aiops/public/components/spike_analysis_table/use_copy_to_clipboard_action.test.tsx @@ -34,7 +34,7 @@ describe('useCopyToClipboardAction', () => { (result.current as Action).render(significantTerms[0]) ); - const button = getByTestId('aiopsTableActionButtonEnabled'); + const button = getByTestId('aiopsTableActionButtonCopyToClipboard enabled'); userEvent.hover(button);