[9.1] [FTR to Scout] Migrate x-pack dashboard group2 tests (#249233)#252042
Merged
csr merged 1 commit intoelastic:9.1from Feb 6, 2026
Merged
[9.1] [FTR to Scout] Migrate x-pack dashboard group2 tests (#249233)#252042csr merged 1 commit intoelastic:9.1from
x-pack dashboard group2 tests (#249233)#252042csr merged 1 commit intoelastic:9.1from
Conversation
8c7a0ab to
00d4e28
Compare
Contributor
⏳ Build in-progress, with failures
Failed CI Steps
Test Failures
History
|
dmlemeshko
reviewed
Feb 6, 2026
Comment on lines
+74
to
+75
| // Add panel flow | ||
| this.addTopNavButton = this.page.testSubj.locator('dashboardAddTopNavButton'); |
Contributor
There was a problem hiding this comment.
It seems like this data-test-subj couldn't be located and cause test failures:
TimeoutError: locator.click: Timeout 10000ms exceeded.
Call log:
- waiting for locator('[data-test-subj="dashboardAddTopNavButton"]')
at Proxy.openLibraryFlyout (src/platform/packages/shared/kbn-scout/src/playwright/page_objects/dashboard_app.ts:231:32)
at Proxy.addEmbeddable (src/platform/packages/shared/kbn-scout/src/playwright/page_objects/dashboard_app.ts:278:16)
at Proxy.addPanelFromLibrary (src/platform/packages/shared/kbn-scout/src/playwright/page_objects/dashboard_app.ts:300:17)
at x-pack/platform/plugins/private/discover_enhanced/test/scout/ui/tests/saved_search_embeddable.spec.ts:76:33
) 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-apm-synthtrace-client/src/lib/serializable.ts # 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 # x-pack/platform/test/functional/apps/dashboard/group2/_async_dashboard.ts # x-pack/platform/test/functional/apps/dashboard/group2/config.ts # x-pack/platform/test/functional/apps/dashboard/group2/dashboard_lens_by_value.ts # x-pack/platform/test/functional/apps/dashboard/group2/dashboard_maps_by_value.ts # x-pack/platform/test/functional/apps/dashboard/group2/dashboard_panel_listing.ts # x-pack/platform/test/functional/apps/dashboard/group2/dashboard_search_by_value.ts # x-pack/platform/test/functional/apps/dashboard/group2/index.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 # x-pack/platform/test/functional/apps/dashboard/group2/panel_time_range.ts # x-pack/platform/test/functional/apps/dashboard/group2/panel_titles.ts # x-pack/platform/test/functional/apps/dashboard/group2/sync_colors.ts
00d4e28 to
2908c6e
Compare
dmlemeshko
approved these changes
Feb 6, 2026
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:x-packdashboardgroup2tests (#249233)Questions ?
Please refer to the Backport tool documentation