[9.3] [Upgrade Assistant] Migrate ES deprecations flaky integration tests to unit tests (#258142)#260111
Merged
kapral18 merged 3 commits intoelastic:9.3from Mar 31, 2026
Merged
Conversation
3 tasks
f7f6090 to
cd4d765
Compare
…o unit tests (elastic#258142) - Migrates ES deprecations coverage from flaky client integration tests to focused unit tests. - Adds unit coverage for the ES deprecations page/table (refresh, counts, filters/search, pagination) and key deprecation types (default, index settings, cluster settings, ML snapshots, indices reindex/readonly actions, data streams migration). - Removes the legacy `__jest__/client_integration/es_deprecations` specs and harness. - Closes elastic#241740 - Closes elastic#248431 - Closes elastic#248433 - Closes elastic#257356 - [Integration → unit test mapping (gist)](https://gist.github.com/kapral18/223345de2e7b80156a8d82c94ca05098) - [x] `node scripts/check_changes.ts` - [x] `yarn test:jest x-pack/platform/plugins/private/upgrade_assistant/public/application/components/es_deprecations` - [x] `yarn test:type_check --project x-pack/platform/plugins/private/upgrade_assistant/tsconfig.json` <!-- This is an auto-generated comment: release notes by coderabbit.ai --> * **Tests** * Reorganized test infrastructure for Elasticsearch deprecations module, consolidating mock data into centralized fixtures and refactoring integration tests into focused unit tests for individual components and scenarios. <!-- end of auto-generated comment: release notes by coderabbit.ai --> (cherry picked from commit bca01c1)
Co-authored-by: Claude <noreply@anthropic.com>
cd4d765 to
410e79b
Compare
Contributor
💚 Build Succeeded
Metrics [docs]Async chunks
History
|
SoniaSanzV
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