Skip to content

Commit

Permalink
adjust Elastic Synthetics integration functional tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dominiqueclarke committed Nov 10, 2021
1 parent 7d27afe commit 67bd238
Showing 1 changed file with 51 additions and 4 deletions.
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

0 comments on commit 67bd238

Please sign in to comment.