Skip to content

[9.2] [FTR to Scout] Migrate x-pack dashboard group2 tests (#249233)#252041

Merged
csr merged 1 commit intoelastic:9.2from
csr:backport/9.2/pr-249233
Feb 6, 2026
Merged

[9.2] [FTR to Scout] Migrate x-pack dashboard group2 tests (#249233)#252041
csr merged 1 commit intoelastic:9.2from
csr:backport/9.2/pr-249233

Conversation

@csr
Copy link
Copy Markdown
Member

@csr csr commented Feb 6, 2026

Backport

This will backport the following commits from main to 9.2:

Questions ?

Please refer to the Backport tool documentation

@csr csr requested a review from kibanamachine as a code owner February 6, 2026 09:37
@csr csr added the backport This PR is a backport of another PR label Feb 6, 2026
@csr csr enabled auto-merge (squash) February 6, 2026 09:37
@elasticmachine
Copy link
Copy Markdown
Contributor

elasticmachine commented Feb 6, 2026

)

This PR migrates the all FTR tests belonging to the
`x-pack/platform/test/functional/apps/dashboard/group2/config.ts` config
to Scout.

## Migration

All tests were migrated and older tests deleted. We still maintain the
**same** test coverage.

## Results

* **Scout tests are over 4x faster** tests than FTR 🚀 Total runtime:
Scout (**7 seconds**) vs FTR (**29 seconds**)
* Most of these tests are designed to run on **both local deployments**
and **Elastic Cloud** ("deployment-agnostic"). The FTR tests only ran on
local stateful. Scout makes this easy to achieve: we just need to write
the test once and add the appropriate tags!

### Why are Scout tests faster?

* Scout uses two parallel workers to run the tests.
* We ingest Elasticsearch archives just once, in the [global setup
hook](https://docs.elastic.dev/appex-qa/scout/global-setup-hook), before
test execution start.
* FTR test cases that shared identical parts of the user flow were
merged into a single Scout test case.
* We keep [Scout best
practices](https://docs.elastic.dev/appex-qa/scout/best-practices) in
mind: we use Playwright auto-waiting, we design page objects to be
performant, and more.

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit 50444e3)
Co-authored-by: Cursor <cursoragent@cursor.com>

# Conflicts:
#	.buildkite/scout_ci_config.yml
#	src/platform/packages/shared/kbn-scout/src/playwright/page_objects/dashboard_app.ts
#	src/platform/packages/shared/kbn-scout/src/playwright/page_objects/discover_app.ts
#	src/platform/plugins/shared/dashboard/moon.yml
#	src/platform/plugins/shared/dashboard/tsconfig.json
#	src/platform/plugins/shared/data/public/search/session/sessions_mgmt/lib/documentation.ts
#	x-pack/platform/test/functional/apps/dashboard/group2/_async_dashboard.ts
#	x-pack/platform/test/functional/apps/dashboard/group2/dashboard_panel_listing.ts
#	x-pack/platform/test/functional/apps/dashboard/group2/migration_smoke_tests/controls_migration_smoke_test.ts
#	x-pack/platform/test/functional/apps/dashboard/group2/migration_smoke_tests/lens_migration_smoke_test.ts
#	x-pack/platform/test/functional/apps/dashboard/group2/migration_smoke_tests/tsvb_migration_smoke_test.ts
#	x-pack/platform/test/functional/apps/dashboard/group2/migration_smoke_tests/visualize_migration_smoke_test.ts
@csr csr force-pushed the backport/9.2/pr-249233 branch from 8ad2a20 to 1243f23 Compare February 6, 2026 10:00
@csr csr requested a review from dmlemeshko February 6, 2026 10:07
@csr csr merged commit 565caa3 into elastic:9.2 Feb 6, 2026
13 checks passed
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants