diff --git a/x-pack/test/api_integration/apis/management/index_lifecycle_management/policies.js b/x-pack/test/api_integration/apis/management/index_lifecycle_management/policies.js index 650a5f7fb13e8c..c13ae4a15c97ef 100644 --- a/x-pack/test/api_integration/apis/management/index_lifecycle_management/policies.js +++ b/x-pack/test/api_integration/apis/management/index_lifecycle_management/policies.js @@ -35,10 +35,9 @@ export default function ({ getService }) { after(() => Promise.all([cleanUpEsResources(), cleanUpPolicies()])); describe('list', () => { - // FAILING: https://github.com/elastic/kibana/issues/41237 - it.skip('should have a default policy to manage the Watcher history indices', async () => { + it('should have a default policy to manage the Watcher history indices', async () => { const { body } = await loadPolicies().expect(200); - const [policy = {}] = body; + const policy = body.find(policy => policy.name === DEFAULT_POLICY_NAME); // We manually set the date for deterministic test const modifiedDate = '2019-04-30T14:30:00.000Z';