diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_advanced_fields/custom_fields/global_data_tags_table.test.tsx b/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_advanced_fields/custom_fields/global_data_tags_table.test.tsx index 29c7db990d950..9a6df0653cd06 100644 --- a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_advanced_fields/custom_fields/global_data_tags_table.test.tsx +++ b/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_advanced_fields/custom_fields/global_data_tags_table.test.tsx @@ -125,7 +125,7 @@ describe('GlobalDataTagsTable', () => { { name: 'newTag2', value: '123 123' }, ], }); - }); + }, 10000); it('should edit an existing tag', async () => { renderComponent(globalDataTags); diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/index.test.tsx b/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/index.test.tsx index 8d02fc1793dd5..b8c46a4688e6b 100644 --- a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/index.test.tsx +++ b/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/index.test.tsx @@ -300,7 +300,7 @@ describe('When on the package policy create page', () => { test('should use custom "cancel" URL', () => { expect(cancelLink.href).toBe(expectedRouteState.onCancelUrl); expect(cancelButton.href).toBe(expectedRouteState.onCancelUrl); - }); + }, 10000); }); }); diff --git a/x-pack/plugins/fleet/public/components/manage_agent_policies_modal.test.tsx b/x-pack/plugins/fleet/public/components/manage_agent_policies_modal.test.tsx index 174212e6cf64d..39ad4df038b8d 100644 --- a/x-pack/plugins/fleet/public/components/manage_agent_policies_modal.test.tsx +++ b/x-pack/plugins/fleet/public/components/manage_agent_policies_modal.test.tsx @@ -64,8 +64,7 @@ jest.mock('../hooks', () => ({ }), })); -// FLAKY: https://github.com/elastic/kibana/issues/189004 -describe.skip('ManageAgentPoliciesModal', () => { +describe('ManageAgentPoliciesModal', () => { let testRenderer: TestRenderer; const mockOnClose = jest.fn(); const mockPolicies = [{ name: 'Test policy', revision: 2, id: 'policy1' }] as AgentPolicy[]; @@ -115,7 +114,7 @@ describe.skip('ManageAgentPoliciesModal', () => { expect(usePackagePolicyWithRelatedData('', {}).savePackagePolicy).toHaveBeenCalledWith({ policy_ids: ['policy1', 'policy2'], }); - }); + }, 10000); it('should keep managed policy when policies are changed', async () => { (useGetAgentPolicies as jest.Mock).mockReturnValue({