mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
[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:
parent
0164963a7c
commit
f327c2d693
4 changed files with 17 additions and 10 deletions
|
@ -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'));
|
||||
}
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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*"
|
||||
|
|
|
@ -33,7 +33,7 @@ const apmMobileServiceOverview = url.format({
|
|||
rangeTo,
|
||||
},
|
||||
});
|
||||
describe('Mobile Service overview page', () => {
|
||||
describe.skip('Mobile Service overview page', () => {
|
||||
before(() => {
|
||||
synthtrace.index(
|
||||
generateMobileData({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue