[9.3] [Index Management] Migrate flaky integration tests to unit tests (#258942)#260061
Merged
kapral18 merged 1 commit intoelastic:9.3from Mar 31, 2026
Merged
[9.3] [Index Management] Migrate flaky integration tests to unit tests (#258942)#260061kapral18 merged 1 commit intoelastic:9.3from
kapral18 merged 1 commit intoelastic:9.3from
Conversation
3 tasks
c1c60ff to
7f43af1
Compare
…stic#258942) - Migrates flaky Index Management client integration coverage to focused unit/section tests (mappings editor + template wizard). - Speeds up `mappings_editor.test.tsx` by mocking UI-heavy bits and adds compensation unit tests for `TypeParameter` and `ReferenceFieldSelects`. - Removes legacy `__jest__/client_integration` specs/helpers for these areas. - Closes elastic#257682 - Closes elastic#256305 - Closes elastic#253534 - Closes elastic#239816 - Closes elastic#239817 - Closes elastic#239818 - Closes elastic#254922 - Closes elastic#254951 - [Integration → unit test mapping (gist)](https://gist.github.com/kapral18/24d218baaddaa374822493dd812cfe7e) - [x] `node scripts/check_changes.ts` - [x] `yarn test:jest x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/mappings_editor.test.tsx x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/mappings_editor.edit_field.test.tsx x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/mappings_editor.text_datatype.test.tsx x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/select_inference_id.test.tsx x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/type_parameter.test.tsx x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/reference_field_selects.test.tsx` - [x] `yarn test:jest x-pack/platform/plugins/shared/index_management/public/application/sections/template_clone/template_clone.test.tsx x-pack/platform/plugins/shared/index_management/public/application/sections/template_create/template_create.test.tsx x-pack/platform/plugins/shared/index_management/public/application/sections/template_edit/template_edit.test.tsx x-pack/platform/plugins/shared/index_management/public/application/components/template_form/utils/build_template_from_wizard_data.test.ts x-pack/platform/plugins/shared/index_management/public/application/components/template_form/steps/step_components.test.tsx x-pack/platform/plugins/shared/index_management/public/application/components/template_form/steps/step_logistics.test.tsx x-pack/platform/plugins/shared/index_management/public/application/components/template_form/steps/step_review.test.tsx` --------- Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com> (cherry picked from commit a31fae8)
7f43af1 to
854f47c
Compare
Contributor
💛 Build succeeded, but was flaky
Failed CI StepsMetrics [docs]Module Count
Async chunks
Unknown metric groupsESLint disabled in files
ESLint disabled line counts
Total ESLint disabled count
History
|
damian-polewski
approved these changes
Mar 31, 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.3:Questions ?
Please refer to the Backport tool documentation