[9.1] [scout] re-org test directory (#226411)#227936
Merged
dmlemeshko merged 2 commits intoelastic:9.1from Jul 15, 2025
Merged
Conversation
## 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
Contributor
|
Pinging @elastic/obs-ux-management-team (Team:obs-ux-management) |
Contributor
|
Pinging @elastic/obs-ux-infra_services-team (Team:obs-ux-infra_services) |
Contributor
💛 Build succeeded, but was flaky
Failed CI StepsMetrics [docs]
|
dmlemeshko
added a commit
that referenced
this pull request
Jul 16, 2025
# 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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Backport
This will backport the following commits from
mainto9.1:Questions ?
Please refer to the Backport tool documentation