From f4de6a8676a9caac57e4ce4d25d223cfe4394fd0 Mon Sep 17 00:00:00 2001 From: Walter Rafelsberger Date: Thu, 20 Apr 2023 13:55:41 +0200 Subject: [PATCH] fix data-test-subj in jest test --- .../spike_analysis_table/use_copy_to_clipboard_action.test.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);