[APM] unskipping e2e tests (#177949)

https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/5380

<img width="1341" alt="Screenshot 2024-03-05 at 16 28 16"
src="fc358cce-df6f-456e-a30c-6948e79acceb">
This commit is contained in:
Cauê Marcondes 2024-03-06 15:43:34 +00:00 committed by GitHub
parent 0164963a7c
commit f327c2d693
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 17 additions and 10 deletions

View file

@ -81,8 +81,10 @@ const uploadPipeline = (pipelineContent: string | object) => {
}
if (
// Failing: See https://github.com/elastic/kibana/issues/177084
// (await doAnyChangesMatch([/^x-pack\/plugins\/apm/, /^packages\/kbn-apm-synthtrace/])) ||
(await doAnyChangesMatch([
/^x-pack\/plugins\/observability_solution\/apm/,
/^packages\/kbn-apm-synthtrace/,
])) ||
GITHUB_PR_LABELS.includes('ci:all-cypress-suites')
) {
pipeline.push(getPipeline('.buildkite/pipelines/pull_request/apm_cypress.yml'));
@ -101,7 +103,7 @@ const uploadPipeline = (pipelineContent: string | object) => {
}
if (
(await doAnyChangesMatch([/^x-pack\/plugins\/profiling/])) ||
(await doAnyChangesMatch([/^x-pack\/plugins\/observability_solution\/profiling/])) ||
GITHUB_PR_LABELS.includes('ci:all-cypress-suites')
) {
pipeline.push(getPipeline('.buildkite/pipelines/pull_request/profiling_cypress.yml'));
@ -114,21 +116,26 @@ const uploadPipeline = (pipelineContent: string | object) => {
pipeline.push(getPipeline('.buildkite/pipelines/pull_request/fleet_cypress.yml'));
}
if (await doAnyChangesMatch([/^x-pack\/plugins\/exploratory_view/])) {
if (await doAnyChangesMatch([/^x-pack\/plugins\/observability_solution\/exploratory_view/])) {
pipeline.push(getPipeline('.buildkite/pipelines/pull_request/exploratory_view_plugin.yml'));
}
if (
await doAnyChangesMatch([
/^x-pack\/plugins\/synthetics/,
/^x-pack\/plugins\/exploratory_view/,
/^x-pack\/plugins\/observability_solution\/synthetics/,
/^x-pack\/plugins\/observability_solution\/exploratory_view/,
])
) {
pipeline.push(getPipeline('.buildkite/pipelines/pull_request/synthetics_plugin.yml'));
pipeline.push(getPipeline('.buildkite/pipelines/pull_request/uptime_plugin.yml'));
}
if (await doAnyChangesMatch([/^x-pack\/plugins\/ux/, /^x-pack\/plugins\/exploratory_view/])) {
if (
await doAnyChangesMatch([
/^x-pack\/plugins\/observability_solution\/ux/,
/^x-pack\/plugins\/observability_solution\/exploratory_view/,
])
) {
pipeline.push(getPipeline('.buildkite/pipelines/pull_request/ux_plugin_e2e.yml'));
}

View file

@ -30,6 +30,6 @@ echo "--- APM Cypress Tests"
cd "$XPACK_DIR"
node plugins/apm/scripts/test/e2e.js \
node plugins/observability_solution/apm/scripts/test/e2e.js \
--kibana-install-dir "$KIBANA_BUILD_LOCATION" \
$CYPRESS_ARGS

View file

@ -13,4 +13,4 @@ echo "--- synthetics @elastic/synthetics Tests"
cd "$XPACK_DIR"
node plugins/synthetics/scripts/e2e.js --kibana-install-dir "$KIBANA_BUILD_LOCATION" --grep "MonitorManagement-monitor*"
node plugins/observability_solution/synthetics/scripts/e2e.js --kibana-install-dir "$KIBANA_BUILD_LOCATION" --grep "MonitorManagement-monitor*"

View file

@ -33,7 +33,7 @@ const apmMobileServiceOverview = url.format({
rangeTo,
},
});
describe('Mobile Service overview page', () => {
describe.skip('Mobile Service overview page', () => {
before(() => {
synthtrace.index(
generateMobileData({