Skip to content

Commit

Permalink
Update x-pack/plugins/cases/public/components/configure_cases/connect…
Browse files Browse the repository at this point in the history
…ors.test.tsx

Co-authored-by: Antonio <[email protected]>
  • Loading branch information
georgianaonoleata1904 and adcoelho authored Oct 28, 2024
1 parent e8379f1 commit af0659b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ describe('Connectors', () => {
it('shows the add connector flyout when the button is clicked', async () => {
appMockRender.render(<Connectors {...props} />);

await userEvent.click(screen.getByTestId('add-new-connector'));
await userEvent.click(await screen.findByTestId('add-new-connector'));
expect(onAddNewConnector).toHaveBeenCalled();
});

Expand Down

0 comments on commit af0659b

Please sign in to comment.