Skip to content

Commit

Permalink
[Uptime] adjust Elastic Synthetics integration functional tests (#118163
Browse files Browse the repository at this point in the history
) (#119307)

Co-authored-by: Kibana Machine <[email protected]>
# Conflicts:
#	x-pack/test/functional/apps/uptime/synthetics_integration.ts
  • Loading branch information
dominiqueclarke authored Nov 22, 2021
1 parent 9bc13b3 commit 9d27a1d
Showing 1 changed file with 50 additions and 2 deletions.
52 changes: 50 additions & 2 deletions x-pack/test/functional/apps/uptime/synthetics_integration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 () => {
Expand Down Expand Up @@ -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,
},
},
})
);
Expand Down Expand Up @@ -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,
},
},
})
);
Expand Down Expand Up @@ -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,
},
},
})
);
Expand Down Expand Up @@ -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,
},
},
})
);
Expand Down Expand Up @@ -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,
},
},
})
);
Expand Down Expand Up @@ -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,
},
},
})
);
Expand Down Expand Up @@ -493,6 +516,7 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) {
hosts: config.host,
'service.name': config.apmServiceName,
tags: [config.tags],
__ui: null,
},
})
);
Expand Down Expand Up @@ -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,
},
},
},
})
);
Expand Down Expand Up @@ -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,
},
},
},
})
);
Expand Down Expand Up @@ -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,
},
},
},
})
);
Expand Down

0 comments on commit 9d27a1d

Please sign in to comment.