[8.x] [kbn-scout] update category of server integration tests (#210783) (#210884)

# Backport

This will backport the following commits from `main` to `8.x`:
- [[kbn-scout] update category of server integration tests
(#210783)](https://github.com/elastic/kibana/pull/210783)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Jeramy
Soucy","email":"jeramy.soucy@elastic.co"},"sourceCommit":{"committedDate":"2025-02-12T16:23:20Z","message":"[kbn-scout]
update category of server integration tests (#210783)\n\n##
Summary\n\nUpdates the test category for the server integration test
configs from\nUI_TEST to
UNIT_INTEGRATION_TEST.","sha":"6bfd5a581af9ca823488dc40f0e978c576417bf4","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Security","release_note:skip","backport:version","v9.1.0","v8.19.0"],"title":"[kbn-scout]
update category of server integration
tests","number":210783,"url":"https://github.com/elastic/kibana/pull/210783","mergeCommit":{"message":"[kbn-scout]
update category of server integration tests (#210783)\n\n##
Summary\n\nUpdates the test category for the server integration test
configs from\nUI_TEST to
UNIT_INTEGRATION_TEST.","sha":"6bfd5a581af9ca823488dc40f0e978c576417bf4"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/210783","number":210783,"mergeCommit":{"message":"[kbn-scout]
update category of server integration tests (#210783)\n\n##
Summary\n\nUpdates the test category for the server integration test
configs from\nUI_TEST to
UNIT_INTEGRATION_TEST.","sha":"6bfd5a581af9ca823488dc40f0e978c576417bf4"}},{"branch":"8.x","label":"v8.19.0","branchLabelMappingKey":"^v8.19.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Jeramy Soucy <jeramy.soucy@elastic.co>
This commit is contained in:
Kibana Machine 2025-02-13 05:24:27 +11:00 committed by GitHub
parent 21c3a8b2d5
commit d79e7f33ba
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 4 additions and 4 deletions

View file

@ -17,7 +17,7 @@ export default async function ({ readConfigFile }) {
const certificateAuthorities = [readFileSync(CA_CERT_PATH)];
return {
testConfigCategory: ScoutTestRunConfigCategory.UI_TEST,
testConfigCategory: ScoutTestRunConfigCategory.UNIT_INTEGRATION_TEST,
testFiles: [require.resolve('.')],
services: {
...httpConfig.get('services'),

View file

@ -22,7 +22,7 @@ export default async function ({ readConfigFile }: FtrConfigProviderContext) {
const redirectPort = httpConfig.get('servers.kibana.port') + 1234;
return {
testConfigCategory: ScoutTestRunConfigCategory.UI_TEST,
testConfigCategory: ScoutTestRunConfigCategory.UNIT_INTEGRATION_TEST,
testFiles: [require.resolve('.')],
services: {
...httpConfig.get('services'),

View file

@ -17,7 +17,7 @@ export default async function ({ readConfigFile }) {
const certificateAuthorities = [readFileSync(CA_CERT_PATH)];
return {
testConfigCategory: ScoutTestRunConfigCategory.UI_TEST,
testConfigCategory: ScoutTestRunConfigCategory.UNIT_INTEGRATION_TEST,
testFiles: [require.resolve('.')],
services: {
...httpConfig.get('services'),

View file

@ -17,7 +17,7 @@ export default async function ({ readConfigFile }) {
const certificateAuthorities = [readFileSync(CA1_CERT_PATH), readFileSync(CA2_CERT_PATH)];
return {
testConfigCategory: ScoutTestRunConfigCategory.UI_TEST,
testConfigCategory: ScoutTestRunConfigCategory.UNIT_INTEGRATION_TEST,
testFiles: [require.resolve('.')],
services: {
...httpConfig.get('services'),