[scout] re-org test directory#226411
Conversation
🔍 Preview links for changed docs |
|
Starting backport for target branches: 8.19, 9.1 |
💔 All backports failed
Manual backportTo create the backport manually run: Questions ?Please refer to the Backport tool documentation |
|
Friendly reminder: Looks like this PR hasn’t been backported yet. |
2 similar comments
|
Friendly reminder: Looks like this PR hasn’t been backported yet. |
|
Friendly reminder: Looks like this PR hasn’t been backported yet. |
## Summary
Since Scout will soon support `api` testing, we need to re-org scout
test directory so that both ui and api playwright configs can be
discovered and executed independently. Proposed structure:
```
- plugin
|- test
|- scout
|- common // fixtures/constants to share across both 'ui' and 'api' tests
|- ui
|-tests
|-parallel_tests
|-playwright.config.ts
|-playwright.parallel.config.ts
|- api
|-tests
|-parallel_tests
|-playwright.config.ts
|-playwright.parallel.config.ts
```
This PR updates all the existing scout directories
---------
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit 5d49f1b)
# Conflicts:
# .github/CODEOWNERS
# x-pack/platform/plugins/shared/onechat/public/application/pages/chat.tsx
# x-pack/solutions/observability/plugins/observability/test/scout/README.md
# x-pack/solutions/observability/plugins/observability/test/scout/ui/fixtures/generators.ts
# x-pack/solutions/observability/plugins/observability/test/scout/ui/playwright.config.ts
# x-pack/solutions/observability/plugins/observability/test/scout/ui/tests/landing.spec.ts
# x-pack/solutions/observability/plugins/observability/tsconfig.json
# x-pack/solutions/observability/plugins/observability/ui_tests/playwright.config.ts
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
# Backport This will backport the following commits from `main` to `9.1`: - [[scout] re-org test directory (#226411)](#226411) <!--- Backport version: 10.0.1 --> ### 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-07-08T11:54:40Z","message":"[scout] re-org test directory (#226411)\n\n## Summary\n\nSince Scout will soon support `api` testing, we need to re-org scout\ntest directory so that both ui and api playwright configs can be\ndiscovered and executed independently. Proposed structure:\n\n```\n- plugin\n |- test\n |- scout\n |- common // fixtures/constants to share across both 'ui' and 'api' tests\n |- ui\n |-tests\n |-parallel_tests\n |-playwright.config.ts\n |-playwright.parallel.config.ts\n |- api\n |-tests\n |-parallel_tests\n |-playwright.config.ts\n |-playwright.parallel.config.ts\n```\n\nThis PR updates all the existing scout directories\n\n---------\n\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"5d49f1bb0de978e1896254378161c3da23a7d8e6","branchLabelMapping":{"^v9.2.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport missing","Team:obs-ux-infra_services","Team:obs-ux-management","backport:version","v9.1.0","v8.19.0","v9.2.0"],"title":"[scout] re-org test directory","number":226411,"url":"https://github.com/elastic/kibana/pull/226411","mergeCommit":{"message":"[scout] re-org test directory (#226411)\n\n## Summary\n\nSince Scout will soon support `api` testing, we need to re-org scout\ntest directory so that both ui and api playwright configs can be\ndiscovered and executed independently. Proposed structure:\n\n```\n- plugin\n |- test\n |- scout\n |- common // fixtures/constants to share across both 'ui' and 'api' tests\n |- ui\n |-tests\n |-parallel_tests\n |-playwright.config.ts\n |-playwright.parallel.config.ts\n |- api\n |-tests\n |-parallel_tests\n |-playwright.config.ts\n |-playwright.parallel.config.ts\n```\n\nThis PR updates all the existing scout directories\n\n---------\n\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"5d49f1bb0de978e1896254378161c3da23a7d8e6"}},"sourceBranch":"main","suggestedTargetBranches":["9.1","8.19"],"targetPullRequestStates":[{"branch":"9.1","label":"v9.1.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.19","label":"v8.19.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.2.0","branchLabelMappingKey":"^v9.2.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/226411","number":226411,"mergeCommit":{"message":"[scout] re-org test directory (#226411)\n\n## Summary\n\nSince Scout will soon support `api` testing, we need to re-org scout\ntest directory so that both ui and api playwright configs can be\ndiscovered and executed independently. Proposed structure:\n\n```\n- plugin\n |- test\n |- scout\n |- common // fixtures/constants to share across both 'ui' and 'api' tests\n |- ui\n |-tests\n |-parallel_tests\n |-playwright.config.ts\n |-playwright.parallel.config.ts\n |- api\n |-tests\n |-parallel_tests\n |-playwright.config.ts\n |-playwright.parallel.config.ts\n```\n\nThis PR updates all the existing scout directories\n\n---------\n\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"5d49f1bb0de978e1896254378161c3da23a7d8e6"}}]}] BACKPORT-->
## Summary
Since Scout will soon support `api` testing, we need to re-org scout
test directory so that both ui and api playwright configs can be
discovered and executed independently. Proposed structure:
```
- plugin
|- test
|- scout
|- common // fixtures/constants to share across both 'ui' and 'api' tests
|- ui
|-tests
|-parallel_tests
|-playwright.config.ts
|-playwright.parallel.config.ts
|- api
|-tests
|-parallel_tests
|-playwright.config.ts
|-playwright.parallel.config.ts
```
This PR updates all the existing scout directories
---------
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit 5d49f1b)
# Conflicts:
# .github/CODEOWNERS
# src/platform/packages/shared/kbn-scout/src/config/discovery/search_configs.ts
# x-pack/platform/packages/private/ml/kibana_theme/tsconfig.json
# x-pack/solutions/observability/plugins/apm/test/scout/README.md
# x-pack/solutions/observability/plugins/apm/test/scout/ui/fixtures/constants.ts
# x-pack/solutions/observability/plugins/apm/test/scout/ui/fixtures/index.ts
# x-pack/solutions/observability/plugins/apm/test/scout/ui/fixtures/page_objects/service_inventory.ts
# x-pack/solutions/observability/plugins/apm/test/scout/ui/fixtures/page_objects/service_map.ts
# x-pack/solutions/observability/plugins/apm/test/scout/ui/fixtures/synthtrace/opbeans.ts
# x-pack/solutions/observability/plugins/apm/test/scout/ui/parallel.playwright.config.ts
# x-pack/solutions/observability/plugins/apm/test/scout/ui/parallel_tests/global_setup.ts
# x-pack/solutions/observability/plugins/apm/test/scout/ui/parallel_tests/service_inventory/service_inventory.spec.ts
# x-pack/solutions/observability/plugins/apm/test/scout/ui/parallel_tests/sevice_map/service_map.spec.ts
# x-pack/solutions/observability/plugins/apm/test/scout/ui/tsconfig.json
# x-pack/solutions/observability/plugins/apm/ui_tests/fixtures/constants.ts
# x-pack/solutions/observability/plugins/apm/ui_tests/parallel.playwright.config.ts
# x-pack/solutions/observability/plugins/apm/ui_tests/tsconfig.json
# x-pack/solutions/observability/plugins/observability/test/scout/README.md
# x-pack/solutions/observability/plugins/observability/test/scout/ui/fixtures/generators.ts
# x-pack/solutions/observability/plugins/observability/test/scout/ui/playwright.config.ts
# x-pack/solutions/observability/plugins/observability/test/scout/ui/tests/landing.spec.ts
# x-pack/solutions/observability/plugins/observability/tsconfig.json
# x-pack/solutions/observability/plugins/observability/ui_tests/playwright.config.ts
# x-pack/solutions/observability/plugins/observability_onboarding/README.md
# x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/documents/constants.ts
# x-pack/solutions/search/plugins/search_indices/public/components/index_documents/constants.ts
# x-pack/test/kubernetes_security/basic/config.ts
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
# Backport This will backport the following commits from `main` to `8.19`: - [[scout] re-org test directory (#226411)](#226411) <!--- Backport version: 10.0.1 --> ### 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-07-08T11:54:40Z","message":"[scout] re-org test directory (#226411)\n\n## Summary\n\nSince Scout will soon support `api` testing, we need to re-org scout\ntest directory so that both ui and api playwright configs can be\ndiscovered and executed independently. Proposed structure:\n\n```\n- plugin\n |- test\n |- scout\n |- common // fixtures/constants to share across both 'ui' and 'api' tests\n |- ui\n |-tests\n |-parallel_tests\n |-playwright.config.ts\n |-playwright.parallel.config.ts\n |- api\n |-tests\n |-parallel_tests\n |-playwright.config.ts\n |-playwright.parallel.config.ts\n```\n\nThis PR updates all the existing scout directories\n\n---------\n\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"5d49f1bb0de978e1896254378161c3da23a7d8e6","branchLabelMapping":{"^v9.2.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:obs-ux-infra_services","Team:obs-ux-management","backport:version","v9.1.0","v8.19.0","v9.2.0"],"title":"[scout] re-org test directory","number":226411,"url":"https://github.com/elastic/kibana/pull/226411","mergeCommit":{"message":"[scout] re-org test directory (#226411)\n\n## Summary\n\nSince Scout will soon support `api` testing, we need to re-org scout\ntest directory so that both ui and api playwright configs can be\ndiscovered and executed independently. Proposed structure:\n\n```\n- plugin\n |- test\n |- scout\n |- common // fixtures/constants to share across both 'ui' and 'api' tests\n |- ui\n |-tests\n |-parallel_tests\n |-playwright.config.ts\n |-playwright.parallel.config.ts\n |- api\n |-tests\n |-parallel_tests\n |-playwright.config.ts\n |-playwright.parallel.config.ts\n```\n\nThis PR updates all the existing scout directories\n\n---------\n\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"5d49f1bb0de978e1896254378161c3da23a7d8e6"}},"sourceBranch":"main","suggestedTargetBranches":["8.19"],"targetPullRequestStates":[{"branch":"9.1","label":"v9.1.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/227936","number":227936,"state":"MERGED","mergeCommit":{"sha":"b161e45ccb15fd7f3108fdad8bea31a9e186dcc4","message":"[9.1] [scout] re-org test directory (#226411) (#227936)\n\n# Backport\n\nThis will backport the following commits from `main` to `9.1`:\n- [[scout] re-org test directory\n(#226411)](https://github.com/elastic/kibana/pull/226411)\n\n\n\n### Questions ?\nPlease refer to the [Backport tool\ndocumentation](https://github.com/sorenlouv/backport)\n\n"}},{"branch":"8.19","label":"v8.19.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.2.0","branchLabelMappingKey":"^v9.2.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/226411","number":226411,"mergeCommit":{"message":"[scout] re-org test directory (#226411)\n\n## Summary\n\nSince Scout will soon support `api` testing, we need to re-org scout\ntest directory so that both ui and api playwright configs can be\ndiscovered and executed independently. Proposed structure:\n\n```\n- plugin\n |- test\n |- scout\n |- common // fixtures/constants to share across both 'ui' and 'api' tests\n |- ui\n |-tests\n |-parallel_tests\n |-playwright.config.ts\n |-playwright.parallel.config.ts\n |- api\n |-tests\n |-parallel_tests\n |-playwright.config.ts\n |-playwright.parallel.config.ts\n```\n\nThis PR updates all the existing scout directories\n\n---------\n\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"5d49f1bb0de978e1896254378161c3da23a7d8e6"}}]}] BACKPORT--> --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
## Summary
Since Scout will soon support `api` testing, we need to re-org scout
test directory so that both ui and api playwright configs can be
discovered and executed independently. Proposed structure:
```
- plugin
|- test
|- scout
|- common // fixtures/constants to share across both 'ui' and 'api' tests
|- ui
|-tests
|-parallel_tests
|-playwright.config.ts
|-playwright.parallel.config.ts
|- api
|-tests
|-parallel_tests
|-playwright.config.ts
|-playwright.parallel.config.ts
```
This PR updates all the existing scout directories
---------
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Summary
Since Scout will soon support
apitesting, we need to re-org scout test directory so that both ui and api playwright configs can be discovered and executed independently. Proposed structure:This PR updates all the existing scout directories