[8.x] [ftr] split discover group3 config (#217486) (#217572)

# Backport

This will backport the following commits from `main` to `8.x`:
- [[ftr] split discover group3 config
(#217486)](https://github.com/elastic/kibana/pull/217486)

<!--- Backport version: 9.6.6 -->

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

<!--BACKPORT [{"author":{"name":"Dzmitry
Lemechko","email":"dzmitry.lemechko@elastic.co"},"sourceCommit":{"committedDate":"2025-04-08T16:52:13Z","message":"[ftr]
split discover group3 config (#217486)\n\n## Summary\n\nSplit long
running
config\n`src/platform/test/functional/apps/discover/group3/config.ts:
39.1\nminutes` into\n\n -
src/platform/test/functional/apps/discover/group3/config.ts 10m\n -
src/platform/test/functional/apps/discover/group9/config.ts 14m 34s\n -
src/platform/test/functional/apps/discover/group10/config.ts 18m
15s","sha":"9c560e5444de10e8aa570eed512977714eeb4498","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","FTR","backport:version","v9.1.0","v8.19.0","v9.0.1"],"title":"[ftr]
split discover group3
config","number":217486,"url":"https://github.com/elastic/kibana/pull/217486","mergeCommit":{"message":"[ftr]
split discover group3 config (#217486)\n\n## Summary\n\nSplit long
running
config\n`src/platform/test/functional/apps/discover/group3/config.ts:
39.1\nminutes` into\n\n -
src/platform/test/functional/apps/discover/group3/config.ts 10m\n -
src/platform/test/functional/apps/discover/group9/config.ts 14m 34s\n -
src/platform/test/functional/apps/discover/group10/config.ts 18m
15s","sha":"9c560e5444de10e8aa570eed512977714eeb4498"}},"sourceBranch":"main","suggestedTargetBranches":["8.x","9.0"],"targetPullRequestStates":[{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/217486","number":217486,"mergeCommit":{"message":"[ftr]
split discover group3 config (#217486)\n\n## Summary\n\nSplit long
running
config\n`src/platform/test/functional/apps/discover/group3/config.ts:
39.1\nminutes` into\n\n -
src/platform/test/functional/apps/discover/group3/config.ts 10m\n -
src/platform/test/functional/apps/discover/group9/config.ts 14m 34s\n -
src/platform/test/functional/apps/discover/group10/config.ts 18m
15s","sha":"9c560e5444de10e8aa570eed512977714eeb4498"}},{"branch":"8.x","label":"v8.19.0","branchLabelMappingKey":"^v8.19.0$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"9.0","label":"v9.0.1","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Dzmitry Lemechko <dzmitry.lemechko@elastic.co>
This commit is contained in:
Kibana Machine 2025-04-08 20:40:22 +02:00 committed by GitHub
parent fffdacbeae
commit c33fd5a5e5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 102 additions and 6 deletions

View file

@ -81,6 +81,8 @@ enabled:
- src/platform/test/functional/apps/discover/group6/config.ts
- src/platform/test/functional/apps/discover/group7/config.ts
- src/platform/test/functional/apps/discover/group8/config.ts
- src/platform/test/functional/apps/discover/group9/config.ts
- src/platform/test/functional/apps/discover/group10/config.ts
- src/platform/test/functional/apps/discover/context_awareness/config.ts
- src/platform/test/functional/apps/discover/observability/config.ts
- src/platform/test/functional/apps/getting_started/config.ts

View file

@ -0,0 +1,19 @@
/*
* 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 } from '@kbn/test';
export default async function ({ readConfigFile }: FtrConfigProviderContext) {
const functionalConfig = await readConfigFile(require.resolve('../../../config.base.js'));
return {
...functionalConfig.getAll(),
testFiles: [require.resolve('.')],
};
}

View file

@ -0,0 +1,29 @@
/*
* 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 { FtrProviderContext } from '../ftr_provider_context';
export default function ({ getService, loadTestFile }: FtrProviderContext) {
const esArchiver = getService('esArchiver');
const browser = getService('browser');
describe('discover/group10', function () {
before(async function () {
await browser.setWindowSize(1300, 800);
});
after(async function unloadMakelogs() {
await esArchiver.unload(
'src/platform/test/functional/fixtures/es_archiver/logstash_functional'
);
});
loadTestFile(require.resolve('./_lens_vis')); // 16 min
});
}

View file

@ -24,11 +24,8 @@ export default function ({ getService, loadTestFile }: FtrProviderContext) {
);
});
loadTestFile(require.resolve('./_default_columns'));
loadTestFile(require.resolve('./_drag_drop'));
loadTestFile(require.resolve('./_request_counts'));
loadTestFile(require.resolve('./_doc_viewer'));
loadTestFile(require.resolve('./_panels_toggle'));
loadTestFile(require.resolve('./_lens_vis'));
loadTestFile(require.resolve('./_default_columns')); // 2 min
loadTestFile(require.resolve('./_drag_drop')); // 1 min
loadTestFile(require.resolve('./_request_counts')); // 6 min
});
}

View file

@ -0,0 +1,19 @@
/*
* 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 } from '@kbn/test';
export default async function ({ readConfigFile }: FtrConfigProviderContext) {
const functionalConfig = await readConfigFile(require.resolve('../../../config.base.js'));
return {
...functionalConfig.getAll(),
testFiles: [require.resolve('.')],
};
}

View file

@ -0,0 +1,30 @@
/*
* 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 { FtrProviderContext } from '../ftr_provider_context';
export default function ({ getService, loadTestFile }: FtrProviderContext) {
const esArchiver = getService('esArchiver');
const browser = getService('browser');
describe('discover/group9', function () {
before(async function () {
await browser.setWindowSize(1300, 800);
});
after(async function unloadMakelogs() {
await esArchiver.unload(
'src/platform/test/functional/fixtures/es_archiver/logstash_functional'
);
});
loadTestFile(require.resolve('./_doc_viewer')); // 7 min
loadTestFile(require.resolve('./_panels_toggle')); // 5 min
});
}