Skip to content

Commit

Permalink
Update x-pack/plugins/cases/public/components/connectors/thehive/case…
Browse files Browse the repository at this point in the history
…_fields.test.tsx

Co-authored-by: Antonio <antoniodcoelho@gmail.com>
  • Loading branch information
delanni and adcoelho authored Sep 10, 2024
1 parent c0c72a3 commit 6d80f05
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ describe('TheHive Cases Fields', () => {
</MockFormWrapperComponent>
);

await userEvent.selectOptions(screen.getByTestId('tlp-field'), '4');
await userEvent.selectOptions(await screen.findByTestId('tlp-field'), '4');
expect(await screen.findByTestId('tlp-field')).toHaveValue(TheHiveTLP.RED.toString());
});
});

0 comments on commit 6d80f05

Please sign in to comment.