[Cases] Fix configure cases flaky test (#116575)
This commit is contained in:
parent
f598c43435
commit
5338e1965f
1 changed files with 129 additions and 129 deletions
|
@ -47,6 +47,7 @@ describe('ConfigureCases', () => {
|
|||
iconClass: 'logoSecurity',
|
||||
});
|
||||
});
|
||||
|
||||
beforeEach(() => {
|
||||
useActionTypesMock.mockImplementation(() => useActionTypesResponse);
|
||||
});
|
||||
|
@ -451,10 +452,8 @@ describe('ConfigureCases', () => {
|
|||
).toBe('Update My Connector 2');
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
// Failing: See https://github.com/elastic/kibana/issues/115366
|
||||
describe.skip('closure options', () => {
|
||||
describe('closure options', () => {
|
||||
let wrapper: ReactWrapper;
|
||||
let persistCaseConfigure: jest.Mock;
|
||||
|
||||
|
@ -504,9 +503,9 @@ describe.skip('closure options', () => {
|
|||
closureType: 'close-by-pushing',
|
||||
});
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
describe('user interactions', () => {
|
||||
describe('user interactions', () => {
|
||||
beforeEach(() => {
|
||||
useCaseConfigureMock.mockImplementation(() => ({
|
||||
...useCaseConfigureResponse,
|
||||
|
@ -597,4 +596,5 @@ describe('user interactions', () => {
|
|||
wrapper.find('[data-test-subj="case-configure-action-bottom-bar"]').exists()
|
||||
).toBeFalsy();
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue