Skip to content

Commit

Permalink
[Synthetics] Skip e2e tests (#137105)
Browse files Browse the repository at this point in the history
* 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 <[email protected]>
Co-authored-by: Shahzad <[email protected]>
  • Loading branch information
3 people authored Jul 26, 2022
1 parent 99b8962 commit 679b725
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
7 changes: 4 additions & 3 deletions .buildkite/scripts/pipelines/pull_request/pipeline.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'));
Expand Down
15 changes: 8 additions & 7 deletions vars/tasks.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -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/',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.' });
Expand Down

0 comments on commit 679b725

Please sign in to comment.