[9.3] [Upgrade Assistant] Migrate Kibana deprecations flaky integration tests to unit tests (#258981)#260129
Merged
kapral18 merged 1 commit intoelastic:9.3from Mar 31, 2026
Merged
Conversation
Merged
2 tasks
d3b8403 to
5b13485
Compare
…ts to unit tests (elastic#258981) ## Summary - Migrates Kibana deprecations coverage from flaky client integration tests to focused unit tests. - Adds unit coverage for the Kibana deprecations list/table (refresh, counts, filters/clear, details link) and the details flyout (manual steps, docs link, quick resolve success/failure). - Removes legacy `__jest__/client_integration/kibana_deprecations` specs and drops `shared_imports` usage in favor of `@kbn/es-ui-shared-plugin/public` imports. ## Closes - Closes elastic#253915 ## Coverage mapping - [Integration → unit test mapping (gist)](https://gist.github.com/kapral18/a3d2f778d575daa2f3dfcd8e0f4b66e4) ## Test plan - [x] `node scripts/check_changes.ts` - [x] `yarn test:jest x-pack/platform/plugins/private/upgrade_assistant/public/application/components/kibana_deprecations --silent` Assisted with Cursor using GPT-5.2 --------- Co-authored-by: Cursor <cursoragent@cursor.com> (cherry picked from commit 5c40b03) # Conflicts: # x-pack/platform/plugins/private/upgrade_assistant/__jest__/client_integration/kibana_deprecations/deprecation_details_flyout/deprecation_details_flyout.test.ts # x-pack/platform/plugins/private/upgrade_assistant/__jest__/client_integration/kibana_deprecations/deprecations_table/deprecations_table.test.ts # x-pack/platform/plugins/private/upgrade_assistant/__jest__/client_integration/kibana_deprecations/deprecations_table/error_handling.test.ts
5b13485 to
ef79088
Compare
Contributor
💚 Build Succeeded
Metrics [docs]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