Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Uptime] adjust Elastic Synthetics integration functional tests #118163

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
55 changes: 51 additions & 4 deletions x-pack/test/functional/apps/uptime/synthetics_integration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,7 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) {
use_output: 'default',
});

// Failing: See https://github.com/elastic/kibana/issues/116980
describe.skip('When on the Synthetics Integration Policy Create Page', function () {
describe('When on the Synthetics Integration Policy Create Page', function () {
this.tags(['ciGroup10']);
const basicConfig = {
name: monitorName,
Expand Down Expand Up @@ -171,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 @@ -216,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 @@ -258,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 @@ -309,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 @@ -382,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 @@ -416,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 @@ -460,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 @@ -494,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 @@ -538,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 @@ -575,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 @@ -625,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