diff --git a/x-pack/test/functional/apps/uptime/synthetics_integration.ts b/x-pack/test/functional/apps/uptime/synthetics_integration.ts index cc11505f53ebd..50cf0a75a7f24 100644 --- a/x-pack/test/functional/apps/uptime/synthetics_integration.ts +++ b/x-pack/test/functional/apps/uptime/synthetics_integration.ts @@ -170,8 +170,7 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) { }); }); - // FLAKY: https://github.com/elastic/kibana/issues/109329 - describe.skip('create new policy', () => { + describe('create new policy', () => { let version: string; beforeEach(async () => { @@ -215,6 +214,10 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) { 'service.name': config.apmServiceName, tags: [config.tags], 'check.request.method': 'GET', + __ui: { + is_tls_enabled: false, + is_zip_url_tls_enabled: false, + }, }, }) ); @@ -257,6 +260,10 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) { urls: config.url, 'service.name': config.apmServiceName, tags: [config.tags], + __ui: { + is_tls_enabled: true, + is_zip_url_tls_enabled: false, + }, }, }) ); @@ -308,6 +315,10 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) { urls: config.url, 'service.name': config.apmServiceName, tags: [config.tags], + __ui: { + is_tls_enabled: true, + is_zip_url_tls_enabled: false, + }, }, }) ); @@ -381,6 +392,10 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) { password: advancedConfig.password, 'service.name': config.apmServiceName, tags: [config.tags], + __ui: { + is_tls_enabled: false, + is_zip_url_tls_enabled: false, + }, }, }) ); @@ -415,6 +430,10 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) { hosts: config.host, tags: [config.tags], 'service.name': config.apmServiceName, + __ui: { + is_tls_enabled: false, + is_zip_url_tls_enabled: false, + }, }, }) ); @@ -459,6 +478,10 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) { 'check.send': advancedConfig.requestSendCheck, 'service.name': config.apmServiceName, tags: [config.tags], + __ui: { + is_tls_enabled: false, + is_zip_url_tls_enabled: false, + }, }, }) ); @@ -493,6 +516,7 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) { hosts: config.host, 'service.name': config.apmServiceName, tags: [config.tags], + __ui: null, }, }) ); @@ -537,6 +561,14 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) { 'source.zip_url.username': config.username, 'source.zip_url.password': config.password, params: JSON.parse(config.params), + __ui: { + is_tls_enabled: false, + is_zip_url_tls_enabled: false, + script_source: { + file_name: '', + is_generated_script: false, + }, + }, }, }) ); @@ -574,6 +606,14 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) { tags: [config.tags], 'service.name': config.apmServiceName, 'source.inline.script': config.inlineScript, + __ui: { + is_tls_enabled: false, + is_zip_url_tls_enabled: false, + script_source: { + file_name: '', + is_generated_script: false, + }, + }, }, }) ); @@ -624,6 +664,14 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) { 'source.zip_url.password': config.password, params: JSON.parse(config.params), synthetics_args: [advancedConfig.syntheticsArgs], + __ui: { + is_tls_enabled: false, + is_zip_url_tls_enabled: false, + script_source: { + file_name: '', + is_generated_script: false, + }, + }, }, }) );