From d1c8e3acf8ce63705b8abf13f0a99d362cb62b71 Mon Sep 17 00:00:00 2001
From: 1Copenut <trevor.pierce@elastic.co>
Date: Wed, 23 Nov 2022 14:43:00 -0600
Subject: [PATCH] Updating 1 unit test for EuiTourStep types.

---
 .../public/query_string_input/no_data_popover.test.tsx          | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/plugins/unified_search/public/query_string_input/no_data_popover.test.tsx b/src/plugins/unified_search/public/query_string_input/no_data_popover.test.tsx
index f80fc6849409..8d41fac7ad29 100644
--- a/src/plugins/unified_search/public/query_string_input/no_data_popover.test.tsx
+++ b/src/plugins/unified_search/public/query_string_input/no_data_popover.test.tsx
@@ -75,7 +75,7 @@ describe('NoDataPopover', () => {
     };
     const instance = mount(<NoDataPopover {...props} />);
     act(() => {
-      instance.find(EuiTourStep).prop('footerAction')!.props.onClick();
+      instance.find('button[data-test-subj="noDataPopoverDismissButton"]').simulate('click');
     });
     instance.setProps({ ...props });
     expect(props.storage.set).toHaveBeenCalledWith(expect.any(String), true);