[Cases] Fix configure cases flaky test (#116575) (#116602)

Co-authored-by: Christos Nasikas <christos.nasikas@elastic.co>
This commit is contained in:
Kibana Machine 2021-10-30 07:46:14 -04:00 committed by GitHub
parent ebeddd3d61
commit 26b3137981
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;
@ -598,3 +597,4 @@ describe('user interactions', () => {
).toBeFalsy();
});
});
});