mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
# Backport This will backport the following commits from `main` to `8.x`: - [Clean up `cloud_chat` (#194571)](https://github.com/elastic/kibana/pull/194571) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Anton Dosov","email":"anton.dosov@elastic.co"},"sourceCommit":{"committedDate":"2024-10-03T11:37:47Z","message":"Clean up `cloud_chat` (#194571)\n\n## Summary\r\n\r\nClose https://github.com/elastic/kibana-team/issues/1017\r\n\r\nThis PR removes the unused Cloud Chat functionality from Kibana. The\r\nchat was not used for some time. Moreover, we've seen some issues with\r\nit where users saw it when it wasn't expected. Given the absence of\r\nautomated tests and the fact that the feature is no longer needed, we\r\nare removing it to improve the overall maintainability and reliability\r\nof the codebase. This will also decrease the amount of code loaded for\r\ntrial users of Kibana in cloud making the app slightly faster.","sha":"568e40accaaee06a6dadfec2028263889cf7104a","branchLabelMapping":{"^v9.0.0$":"main","^v8.16.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","backport:prev-minor"],"title":"Clean up `cloud_chat`","number":194571,"url":"https://github.com/elastic/kibana/pull/194571","mergeCommit":{"message":"Clean up `cloud_chat` (#194571)\n\n## Summary\r\n\r\nClose https://github.com/elastic/kibana-team/issues/1017\r\n\r\nThis PR removes the unused Cloud Chat functionality from Kibana. The\r\nchat was not used for some time. Moreover, we've seen some issues with\r\nit where users saw it when it wasn't expected. Given the absence of\r\nautomated tests and the fact that the feature is no longer needed, we\r\nare removing it to improve the overall maintainability and reliability\r\nof the codebase. This will also decrease the amount of code loaded for\r\ntrial users of Kibana in cloud making the app slightly faster.","sha":"568e40accaaee06a6dadfec2028263889cf7104a"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/194571","number":194571,"mergeCommit":{"message":"Clean up `cloud_chat` (#194571)\n\n## Summary\r\n\r\nClose https://github.com/elastic/kibana-team/issues/1017\r\n\r\nThis PR removes the unused Cloud Chat functionality from Kibana. The\r\nchat was not used for some time. Moreover, we've seen some issues with\r\nit where users saw it when it wasn't expected. Given the absence of\r\nautomated tests and the fact that the feature is no longer needed, we\r\nare removing it to improve the overall maintainability and reliability\r\nof the codebase. This will also decrease the amount of code loaded for\r\ntrial users of Kibana in cloud making the app slightly faster.","sha":"568e40accaaee06a6dadfec2028263889cf7104a"}}]}] BACKPORT--> Co-authored-by: Anton Dosov <anton.dosov@elastic.co>
71 lines
3.1 KiB
TypeScript
71 lines
3.1 KiB
TypeScript
/*
|
|
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
|
* or more contributor license agreements. Licensed under the "Elastic License
|
|
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
|
|
* Public License v 1"; you may not use this file except in compliance with, at
|
|
* your election, the "Elastic License 2.0", the "GNU Affero General Public
|
|
* License v3.0 only", or the "Server Side Public License, v 1".
|
|
*/
|
|
|
|
import { FtrConfigProviderContext, findTestPluginPaths } from '@kbn/test';
|
|
import path from 'path';
|
|
|
|
export default async function ({ readConfigFile }: FtrConfigProviderContext) {
|
|
const functionalConfig = await readConfigFile(require.resolve('../functional/config.base.js'));
|
|
|
|
return {
|
|
rootTags: ['runOutsideOfCiGroups'],
|
|
testFiles: [
|
|
require.resolve('./test_suites/usage_collection'),
|
|
require.resolve('./test_suites/telemetry'),
|
|
require.resolve('./test_suites/core'),
|
|
require.resolve('./test_suites/custom_visualizations'),
|
|
require.resolve('./test_suites/hardening'),
|
|
require.resolve('./test_suites/panel_actions'),
|
|
require.resolve('./test_suites/core_plugins'),
|
|
require.resolve('./test_suites/management'),
|
|
require.resolve('./test_suites/application_links'),
|
|
require.resolve('./test_suites/data_plugin'),
|
|
require.resolve('./test_suites/saved_objects_management'),
|
|
require.resolve('./test_suites/saved_objects_hidden_type'),
|
|
require.resolve('./test_suites/shared_ux'),
|
|
],
|
|
services: {
|
|
...functionalConfig.get('services'),
|
|
},
|
|
pageObjects: functionalConfig.get('pageObjects'),
|
|
servers: functionalConfig.get('servers'),
|
|
esTestCluster: {
|
|
...functionalConfig.get('esTestCluster'),
|
|
serverArgs: ['xpack.security.enabled=false'],
|
|
},
|
|
apps: functionalConfig.get('apps'),
|
|
screenshots: functionalConfig.get('screenshots'),
|
|
junit: {
|
|
reportName: 'Plugin Functional Tests',
|
|
},
|
|
kbnTestServer: {
|
|
...functionalConfig.get('kbnTestServer'),
|
|
serverArgs: [
|
|
...functionalConfig.get('kbnTestServer.serverArgs'),
|
|
|
|
// Required to load new platform plugins via `--plugin-path` flag.
|
|
'--env.name=development',
|
|
'--corePluginDeprecations.oldProperty=hello',
|
|
'--corePluginDeprecations.secret=100',
|
|
'--corePluginDeprecations.noLongerUsed=still_using',
|
|
// for testing set buffer duration to 0 to immediately flush counters into saved objects.
|
|
'--usageCollection.usageCounters.bufferDuration=0',
|
|
// We want to test when the banner is shown
|
|
'--telemetry.banner=true',
|
|
// explicitly enable the cloud integration plugins to validate the rendered config keys
|
|
'--xpack.cloud_integrations.experiments.enabled=true',
|
|
'--xpack.cloud_integrations.experiments.launch_darkly.sdk_key=a_string',
|
|
'--xpack.cloud_integrations.experiments.launch_darkly.client_id=a_string',
|
|
'--xpack.cloud_integrations.full_story.enabled=true',
|
|
'--xpack.cloud_integrations.full_story.org_id=a_string',
|
|
...findTestPluginPaths(path.resolve(__dirname, 'plugins')),
|
|
],
|
|
},
|
|
};
|
|
}
|