Skip to content

Commit

Permalink
fix failing unit test. This was probably in a race-case with the user…
Browse files Browse the repository at this point in the history
…-events version bump
  • Loading branch information
delanni committed Sep 10, 2024
1 parent 2789775 commit c0c72a3
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ import type { AppMockRenderer } from '../../../common/mock';
import { createAppMockRenderer } from '../../../common/mock';
import { TheHiveTLP } from './types';

// Failing: See https://github.com/elastic/kibana/issues/192475
describe.skip('TheHive Cases Fields', () => {
describe('TheHive Cases Fields', () => {
const fields = {
TLP: 1,
};
Expand Down Expand Up @@ -45,7 +44,7 @@ describe.skip('TheHive Cases Fields', () => {
</MockFormWrapperComponent>
);

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

0 comments on commit c0c72a3

Please sign in to comment.