Skip to content

[8.19] [scout] re-org test directory (#226411)#228175

Merged
dmlemeshko merged 13 commits intoelastic:8.19from
dmlemeshko:backport/8.19/pr-226411
Jul 16, 2025
Merged

[8.19] [scout] re-org test directory (#226411)#228175
dmlemeshko merged 13 commits intoelastic:8.19from
dmlemeshko:backport/8.19/pr-226411

Conversation

@dmlemeshko
Copy link
Copy Markdown
Contributor

Backport

This will backport the following commits from main to 8.19:

Questions ?

Please refer to the Backport tool documentation

## 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
@dmlemeshko dmlemeshko added the backport This PR is a backport of another PR label Jul 16, 2025
@dmlemeshko dmlemeshko enabled auto-merge (squash) July 16, 2025 09:37
@botelastic botelastic bot added Team:obs-ux-infra_services - DEPRECATED DEPRECATED - Use Team:obs-presentation. Team:actionable-obs Formerly "obs-ux-management", responsible for SLO, o11y alerting, significant events, & synthetics. labels Jul 16, 2025
@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/obs-ux-infra_services-team (Team:obs-ux-infra_services)

@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/obs-ux-management-team (Team:obs-ux-management)

@dmlemeshko dmlemeshko requested a review from csr July 16, 2025 09:57
@dmlemeshko dmlemeshko merged commit 7d9a46c into elastic:8.19 Jul 16, 2025
8 checks passed
@elasticmachine
Copy link
Copy Markdown
Contributor

💛 Build succeeded, but was flaky

Failed CI Steps

Test Failures

  • [job] [logs] FTR Configs #66 / InfraOps App Metrics UI Metrics UI Anomaly Flyout anomalies table in flyout with anomalies present should take users to hosts list when 'Show affected Hosts' is clicked

Metrics [docs]

✅ unchanged

History

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR Team:actionable-obs Formerly "obs-ux-management", responsible for SLO, o11y alerting, significant events, & synthetics. Team:obs-ux-infra_services - DEPRECATED DEPRECATED - Use Team:obs-presentation.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants