[Synthetics] Skip e2e tests (#137105)

* Update add_monitor_private_location.ts

* skip test

* Update x-pack/plugins/synthetics/e2e/journeys/private_locations/add_monitor_private_location.ts

* Apply suggestions from code review

* Apply suggestions from code review

* skip synthetics e2e tests tests

* Update vars/tasks.groovy

* Update vars/tasks.groovy

* skip test suite

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Shahzad <shahzad.muhammad@elastic.co>
This commit is contained in:
Dominique Clarke 2022-07-26 11:09:36 -04:00 committed by GitHub
parent 99b896243a
commit 679b7259eb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 12 additions and 12 deletions

View file

@ -114,9 +114,10 @@ const uploadPipeline = (pipelineContent: string | object) => {
pipeline.push(getPipeline('.buildkite/pipelines/pull_request/observability_plugin.yml'));
}
if (await doAnyChangesMatch([/^x-pack\/plugins\/synthetics/])) {
pipeline.push(getPipeline('.buildkite/pipelines/pull_request/synthetics_plugin.yml'));
}
// Skipped due to https://github.com/elastic/kibana/issues/137185
// if (await doAnyChangesMatch([/^x-pack\/plugins\/synthetics/])) {
// pipeline.push(getPipeline('.buildkite/pipelines/pull_request/synthetics_plugin.yml'));
// }
if (await doAnyChangesMatch([/^x-pack\/plugins\/ux/])) {
pipeline.push(getPipeline('.buildkite/pipelines/pull_request/ux_plugin_e2e.yml'));

View file

@ -156,13 +156,14 @@ def functionalXpack(Map params = [:]) {
}
}
whenChanged([
'x-pack/plugins/synthetics/',
]) {
if (githubPr.isPr()) {
task(kibanaPipeline.functionalTestProcess('xpack-UptimePlaywright', './test/scripts/jenkins_uptime_playwright.sh'))
}
}
// Skipped, process is hanging https://github.com/elastic/kibana/issues/137185
// whenChanged([
// 'x-pack/plugins/synthetics/',
// ]) {
// if (githubPr.isPr()) {
// task(kibanaPipeline.functionalTestProcess('xpack-UptimePlaywright', './test/scripts/jenkins_uptime_playwright.sh'))
// }
// }
whenChanged([
'x-pack/plugins/ux/',

View file

@ -57,9 +57,7 @@ journey('AddPrivateLocationMonitor', async ({ page, params: { kibanaUrl } }) =>
await page.click('text=Installed integrations');
expect(page.url()).toBe(`${kibanaUrl}/app/integrations/installed`);
await page.click(`text=Elastic Synthetics`);
expect(page.url()).toBe(`${kibanaUrl}/app/integrations/detail/synthetics-0.9.5/overview`);
await page.click('text=Integration policies');
expect(page.url()).toBe(`${kibanaUrl}/app/integrations/detail/synthetics-0.9.5/policies`);
});
step('Click text=Edit Elastic Synthetics integration', async () => {
await assertText({ page, text: 'This table contains 1 rows out of 1 rows; Page 1 of 1.' });