Skip to content

[index management] Move tests from FTR to scout#242825

Merged
kapral18 merged 54 commits into
mainfrom
index_mgmnt_playwright
Dec 3, 2025
Merged

[index management] Move tests from FTR to scout#242825
kapral18 merged 54 commits into
mainfrom
index_mgmnt_playwright

Conversation

@mattkime
Copy link
Copy Markdown
Contributor

@mattkime mattkime commented Nov 13, 2025

Summary

Moving index management tests from FTR to scout. Scout hates it when the data-test-subj value has been used more than once so there are some changes to address that.

@mattkime mattkime changed the title home_page test port [index management] Move tests from FTR to scout Nov 14, 2025
@mattkime mattkime added Feature:Index Management Index and index templates UI Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more t// release_note:skip Skip the PR/issue when compiling release notes backport:all-open Backport to all branches that could still receive a release labels Nov 14, 2025
@kapral18 kapral18 force-pushed the index_mgmnt_playwright branch 2 times, most recently from eac0c46 to 0da9380 Compare December 2, 2025 15:19
- Replace waitFor({ state: 'hidden' }) with expect().toBeHidden()
- Replace waitFor({ state: 'visible' }) with expect().toBeVisible()
- Change indexLinkVisible to indexLink returning locator for caller assertions
- Update test to use web-first assertion for index visibility check
- Use EuiFieldTextWrapper for text input fields in mappings and preview tests
@kapral18 kapral18 force-pushed the index_mgmnt_playwright branch from f022395 to 968d9f4 Compare December 2, 2025 17:22
@kibanamachine
Copy link
Copy Markdown
Contributor

Flaky Test Runner Stats

🎉 All tests passed! - kibana-flaky-test-suite-runner#9964

[✅] x-pack/platform/plugins/shared/index_management/test/scout/ui/playwright.config.ts: 25/25 tests passed.

see run history

@elasticmachine
Copy link
Copy Markdown
Contributor

💛 Build succeeded, but was flaky

Failed CI Steps

Test Failures

  • [job] [logs] FTR Configs #28 / Agent Builder agents Edit agent should edit agent name
  • [job] [logs] FTR Configs #120 / discover/tabs duplication of a tab should restore the previous app and global states
  • [job] [logs] FTR Configs #63 / Entity Analytics - Privilege Monitoring @ess @serverless @skipInServerlessMKI Entity Privilege Monitoring Engine Plain Index Sync Plain index sync should not create duplicate users

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
indexManagement 719.5KB 719.7KB +219.0B
Unknown metric groups

ESLint disabled in files

id before after diff
indexManagement 3 4 +1

ESLint disabled line counts

id before after diff
indexManagement 16 17 +1

Total ESLint disabled count

id before after diff
indexManagement 19 21 +2

History

@kapral18 kapral18 merged commit 7423325 into main Dec 3, 2025
12 checks passed
@kapral18 kapral18 deleted the index_mgmnt_playwright branch December 3, 2025 07:31
@kibanamachine
Copy link
Copy Markdown
Contributor

Starting backport for target branches: 8.19, 9.1, 9.2

https://github.com/elastic/kibana/actions/runs/19885991373

@kibanamachine
Copy link
Copy Markdown
Contributor

💔 All backports failed

Status Branch Result
8.19 Backport failed because of merge conflicts
9.1 Backport failed because of merge conflicts
9.2 Backport failed because of merge conflicts

Manual backport

To create the backport manually run:

node scripts/backport --pr 242825

Questions ?

Please refer to the Backport tool documentation

kapral18 pushed a commit to kapral18/kibana that referenced this pull request Dec 3, 2025
## Summary

Moving index management tests from FTR to scout. Scout hates it when the
data-test-subj value has been used more than once so there are some
changes to address that.

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Karen Grigoryan <karen.grigoryan@elastic.co>
(cherry picked from commit 7423325)

# Conflicts:
#	x-pack/platform/plugins/shared/index_management/__jest__/client_integration/helpers/test_subjects.ts
#	x-pack/platform/plugins/shared/index_management/moon.yml
#	x-pack/platform/plugins/shared/index_management/tsconfig.json
kapral18 pushed a commit to kapral18/kibana that referenced this pull request Dec 3, 2025
## Summary

Moving index management tests from FTR to scout. Scout hates it when the
data-test-subj value has been used more than once so there are some
changes to address that.

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Karen Grigoryan <karen.grigoryan@elastic.co>
(cherry picked from commit 7423325)

# Conflicts:
#	x-pack/platform/plugins/shared/index_management/__jest__/client_integration/helpers/test_subjects.ts
#	x-pack/platform/plugins/shared/index_management/moon.yml
#	x-pack/platform/plugins/shared/index_management/tsconfig.json
#	x-pack/platform/test/functional/apps/index_management/home_page.ts
#	x-pack/platform/test/functional/apps/index_management/index_details_page.ts
#	x-pack/platform/test/functional/apps/index_management/index_template_wizard.ts
@kapral18
Copy link
Copy Markdown
Contributor

kapral18 commented Dec 3, 2025

💔 Some backports could not be created

Status Branch Result
9.2
9.1
8.19 Conflict resolution was aborted by the user

Note: Successful backport PRs will be merged automatically after passing CI.

Manual backport

To create the backport manually run:

node scripts/backport --pr 242825

Questions ?

Please refer to the Backport tool documentation

@kapral18
Copy link
Copy Markdown
Contributor

kapral18 commented Dec 3, 2025

💚 All backports created successfully

Status Branch Result
8.19

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation

kapral18 pushed a commit to kapral18/kibana that referenced this pull request Dec 3, 2025
## Summary

Moving index management tests from FTR to scout. Scout hates it when the
data-test-subj value has been used more than once so there are some
changes to address that.

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Karen Grigoryan <karen.grigoryan@elastic.co>
(cherry picked from commit 7423325)

# Conflicts:
#	x-pack/platform/plugins/shared/index_management/__jest__/client_integration/helpers/test_subjects.ts
#	x-pack/platform/plugins/shared/index_management/moon.yml
#	x-pack/platform/plugins/shared/index_management/tsconfig.json
#	x-pack/platform/test/functional/apps/index_management/home_page.ts
#	x-pack/platform/test/functional/apps/index_management/index_details_page.ts
#	x-pack/platform/test/functional/apps/index_management/index_template_wizard.ts
kapral18 added a commit that referenced this pull request Dec 3, 2025
)

# Backport

This will backport the following commits from `main` to `9.2`:
- [[index management] Move tests from FTR to scout
(#242825)](#242825)

<!--- Backport version: 10.2.0 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)

<!--BACKPORT [{"author":{"name":"Matthew
Kime","email":"matt@mattki.me"},"sourceCommit":{"committedDate":"2025-12-03T07:31:36Z","message":"[index
management] Move tests from FTR to scout (#242825)\n\n##
Summary\n\nMoving index management tests from FTR to scout. Scout hates
it when the\ndata-test-subj value has been used more than once so there
are some\nchanges to address that.\n\n---------\n\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\nCo-authored-by: Karen
Grigoryan
<karen.grigoryan@elastic.co>","sha":"74233253898ba714584572dceabb404738047e4e","branchLabelMapping":{"^v9.3.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Feature:Index
Management","Team:Kibana
Management","release_note:skip","backport:all-open","v9.3.0"],"title":"[index
management] Move tests from FTR to
scout","number":242825,"url":"https://github.com/elastic/kibana/pull/242825","mergeCommit":{"message":"[index
management] Move tests from FTR to scout (#242825)\n\n##
Summary\n\nMoving index management tests from FTR to scout. Scout hates
it when the\ndata-test-subj value has been used more than once so there
are some\nchanges to address that.\n\n---------\n\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\nCo-authored-by: Karen
Grigoryan
<karen.grigoryan@elastic.co>","sha":"74233253898ba714584572dceabb404738047e4e"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.3.0","branchLabelMappingKey":"^v9.3.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/242825","number":242825,"mergeCommit":{"message":"[index
management] Move tests from FTR to scout (#242825)\n\n##
Summary\n\nMoving index management tests from FTR to scout. Scout hates
it when the\ndata-test-subj value has been used more than once so there
are some\nchanges to address that.\n\n---------\n\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\nCo-authored-by: Karen
Grigoryan
<karen.grigoryan@elastic.co>","sha":"74233253898ba714584572dceabb404738047e4e"}}]}]
BACKPORT-->

Co-authored-by: Matthew Kime <matt@mattki.me>
kapral18 added a commit that referenced this pull request Dec 3, 2025
)

# Backport

This will backport the following commits from `main` to `9.1`:
- [[index management] Move tests from FTR to scout
(#242825)](#242825)

<!--- Backport version: 10.2.0 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)

<!--BACKPORT [{"author":{"name":"Matthew
Kime","email":"matt@mattki.me"},"sourceCommit":{"committedDate":"2025-12-03T07:31:36Z","message":"[index
management] Move tests from FTR to scout (#242825)\n\n##
Summary\n\nMoving index management tests from FTR to scout. Scout hates
it when the\ndata-test-subj value has been used more than once so there
are some\nchanges to address that.\n\n---------\n\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\nCo-authored-by: Karen
Grigoryan
<karen.grigoryan@elastic.co>","sha":"74233253898ba714584572dceabb404738047e4e","branchLabelMapping":{"^v9.3.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Feature:Index
Management","Team:Kibana
Management","release_note:skip","backport:all-open","v9.3.0"],"title":"[index
management] Move tests from FTR to
scout","number":242825,"url":"https://github.com/elastic/kibana/pull/242825","mergeCommit":{"message":"[index
management] Move tests from FTR to scout (#242825)\n\n##
Summary\n\nMoving index management tests from FTR to scout. Scout hates
it when the\ndata-test-subj value has been used more than once so there
are some\nchanges to address that.\n\n---------\n\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\nCo-authored-by: Karen
Grigoryan
<karen.grigoryan@elastic.co>","sha":"74233253898ba714584572dceabb404738047e4e"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.3.0","branchLabelMappingKey":"^v9.3.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/242825","number":242825,"mergeCommit":{"message":"[index
management] Move tests from FTR to scout (#242825)\n\n##
Summary\n\nMoving index management tests from FTR to scout. Scout hates
it when the\ndata-test-subj value has been used more than once so there
are some\nchanges to address that.\n\n---------\n\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\nCo-authored-by: Karen
Grigoryan
<karen.grigoryan@elastic.co>","sha":"74233253898ba714584572dceabb404738047e4e"}}]}]
BACKPORT-->

Co-authored-by: Matthew Kime <matt@mattki.me>
kapral18 added a commit that referenced this pull request Dec 3, 2025
…5179)

# Backport

This will backport the following commits from `main` to `8.19`:
- [[index management] Move tests from FTR to scout
(#242825)](#242825)

<!--- Backport version: 10.2.0 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)

<!--BACKPORT [{"author":{"name":"Matthew
Kime","email":"matt@mattki.me"},"sourceCommit":{"committedDate":"2025-12-03T07:31:36Z","message":"[index
management] Move tests from FTR to scout (#242825)\n\n##
Summary\n\nMoving index management tests from FTR to scout. Scout hates
it when the\ndata-test-subj value has been used more than once so there
are some\nchanges to address that.\n\n---------\n\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\nCo-authored-by: Karen
Grigoryan
<karen.grigoryan@elastic.co>","sha":"74233253898ba714584572dceabb404738047e4e","branchLabelMapping":{"^v9.3.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Feature:Index
Management","Team:Kibana
Management","release_note:skip","backport:all-open","v9.3.0"],"title":"[index
management] Move tests from FTR to
scout","number":242825,"url":"https://github.com/elastic/kibana/pull/242825","mergeCommit":{"message":"[index
management] Move tests from FTR to scout (#242825)\n\n##
Summary\n\nMoving index management tests from FTR to scout. Scout hates
it when the\ndata-test-subj value has been used more than once so there
are some\nchanges to address that.\n\n---------\n\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\nCo-authored-by: Karen
Grigoryan
<karen.grigoryan@elastic.co>","sha":"74233253898ba714584572dceabb404738047e4e"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.3.0","branchLabelMappingKey":"^v9.3.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/242825","number":242825,"mergeCommit":{"message":"[index
management] Move tests from FTR to scout (#242825)\n\n##
Summary\n\nMoving index management tests from FTR to scout. Scout hates
it when the\ndata-test-subj value has been used more than once so there
are some\nchanges to address that.\n\n---------\n\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\nCo-authored-by: Karen
Grigoryan
<karen.grigoryan@elastic.co>","sha":"74233253898ba714584572dceabb404738047e4e"}},{"url":"https://github.com/elastic/kibana/pull/245141","number":245141,"branch":"9.2","state":"OPEN"},{"url":"https://github.com/elastic/kibana/pull/245175","number":245175,"branch":"9.1","state":"OPEN"}]}]
BACKPORT-->

Co-authored-by: Matthew Kime <matt@mattki.me>
JordanSh pushed a commit to JordanSh/kibana that referenced this pull request Dec 9, 2025
## Summary

Moving index management tests from FTR to scout. Scout hates it when the
data-test-subj value has been used more than once so there are some
changes to address that.

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Karen Grigoryan <karen.grigoryan@elastic.co>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport:all-open Backport to all branches that could still receive a release Feature:Index Management Index and index templates UI release_note:skip Skip the PR/issue when compiling release notes Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more t// v8.19.9 v9.1.9 v9.2.3 v9.3.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants