[9.2] [Security Solution] Delete skipped enrichments.cy.ts Cypress test and orphaned code (#252494)#252584
Merged
kibanamachine merged 1 commit intoelastic:9.2from Feb 10, 2026
Conversation
… orphaned code (elastic#252494) ## Summary Deletes the `enrichments.cy.ts` Cypress test that has been skipped since March 2024 (elastic#176965) and removes all orphaned code that was only used by this test. **Why delete instead of fix:** - The test has been skipped for ~2 years with no progress toward re-enabling - The key selector (`EnrichedDataRow`) no longer exists in the application code — the alert flyout enrichment UI was redesigned - The legacy risk engine code was removed in elastic#201810, further invalidating the test's assumptions - Server-side alert enrichment with risk scores is already well-covered by API integration tests across multiple rule types (custom query, ESQL, EQL, threshold, new terms, ML) **Deleted:** - `cypress/e2e/entity_analytics/enrichments.cy.ts` — the skipped test - `es_archives/risk_scores_new_updated/` — es_archive only used by this test **Cleaned up orphaned selectors:** - `ENRICHED_DATA_ROW` from `cypress/screens/alerts_details.ts` - `HOST_RISK_HEADER_COLUMN`, `USER_RISK_HEADER_COLUMN`, `HOST_RISK_COLUMN`, `USER_RISK_COLUMN`, `ACTION_COLUMN` from `cypress/screens/alerts.ts` (cherry picked from commit 9a7adf3)
Contributor
💚 Build Succeeded
Metrics [docs]
|
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.2:Questions ?
Please refer to the Backport tool documentation