Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Security Solution] Add rule upgrade preview FE integration tests (Rule Upgrade Flyout) #210377

Draft
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

maximpn
Copy link
Contributor

@maximpn maximpn commented Feb 10, 2025

Addresses: #205645

Summary

TBD

@maximpn maximpn added test release_note:skip Skip the PR/issue when compiling release notes v9.0.0 Team:Detections and Resp Security Detection Response Team Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. Team:Detection Rule Management Security Detection Rule Management Team Feature:Prebuilt Detection Rules Security Solution Prebuilt Detection Rules area backport:version Backport to applied version labels v8.18.0 v9.1.0 v8.19.0 labels Feb 10, 2025
@maximpn maximpn self-assigned this Feb 10, 2025
@elasticmachine
Copy link
Contributor

🤖 Jobs for this PR can be triggered through checkboxes. 🚧

ℹ️ To trigger the CI, please tick the checkbox below 👇

  • Click to trigger kibana-pull-request for this PR!
  • Click to trigger kibana-deploy-project-from-pr for this PR!
  • Click to trigger kibana-deploy-cloud-from-pr for this PR!

@maximpn maximpn added the impact:high Addressing this issue will have a high level of impact on the quality/strength of our product. label Feb 10, 2025
@elasticmachine
Copy link
Contributor

elasticmachine commented Feb 10, 2025

💔 Build Failed

Failed CI Steps

Test Failures

  • [job] [logs] Jest Tests #14 / Sourcerer Hooks calls addWarning if defaultDataView has an error
  • [job] [logs] Jest Tests #14 / Sourcerer Hooks calls addWarning if defaultDataView has an error
  • [job] [logs] Jest Tests #14 / Sourcerer Hooks does call addError if updateSourcererDataView receives a non-abort error
  • [job] [logs] Jest Tests #14 / Sourcerer Hooks does call addError if updateSourcererDataView receives a non-abort error
  • [job] [logs] Jest Tests #14 / Sourcerer Hooks does not call addError if updateSourcererDataView receives an AbortError
  • [job] [logs] Jest Tests #14 / Sourcerer Hooks does not call addError if updateSourcererDataView receives an AbortError
  • [job] [logs] Jest Tests #14 / Sourcerer Hooks handles detections page
  • [job] [logs] Jest Tests #14 / Sourcerer Hooks handles detections page
  • [job] [logs] Jest Tests #14 / Sourcerer Hooks index field search called twice when default and timeline have different dataViewId
  • [job] [logs] Jest Tests #14 / Sourcerer Hooks index field search called twice when default and timeline have different dataViewId
  • [job] [logs] Jest Tests #14 / Sourcerer Hooks index field search is not repeated when default and timeline have same dataViewId
  • [job] [logs] Jest Tests #14 / Sourcerer Hooks index field search is not repeated when default and timeline have same dataViewId
  • [job] [logs] Jest Tests #14 / Sourcerer Hooks initialization settings does needToBeInit and skipScopeUpdate=false if scope is timeline and selectedPatterns/missingPatterns are empty
  • [job] [logs] Jest Tests #14 / Sourcerer Hooks initialization settings does needToBeInit and skipScopeUpdate=false if scope is timeline and selectedPatterns/missingPatterns are empty
  • [job] [logs] Jest Tests #14 / Sourcerer Hooks initialization settings does needToBeInit and skipScopeUpdate=true if scope is timeline and selectedPatterns have value
  • [job] [logs] Jest Tests #14 / Sourcerer Hooks initialization settings does needToBeInit and skipScopeUpdate=true if scope is timeline and selectedPatterns have value
  • [job] [logs] Jest Tests #14 / Sourcerer Hooks initialization settings does needToBeInit if scope is default and selectedPatterns/missingPatterns are empty
  • [job] [logs] Jest Tests #14 / Sourcerer Hooks initialization settings does needToBeInit if scope is default and selectedPatterns/missingPatterns are empty
  • [job] [logs] Jest Tests #14 / Sourcerer Hooks initialization settings does not needToBeInit if scope is default and selectedPatterns/missingPatterns have values
  • [job] [logs] Jest Tests #14 / Sourcerer Hooks initialization settings does not needToBeInit if scope is default and selectedPatterns/missingPatterns have values
  • [job] [logs] Jest Tests #14 / Sourcerer Hooks initialization settings does not needToBeInit if scope is timeline and data view has patternList
  • [job] [logs] Jest Tests #14 / Sourcerer Hooks initialization settings does not needToBeInit if scope is timeline and data view has patternList
  • [job] [logs] Jest Tests #14 / Sourcerer Hooks initializes dataview with data from query string
  • [job] [logs] Jest Tests #14 / Sourcerer Hooks initializes dataview with data from query string
  • [job] [logs] Jest Tests #14 / Sourcerer Hooks initializes loading default and timeline index patterns
  • [job] [logs] Jest Tests #14 / Sourcerer Hooks initializes loading default and timeline index patterns
  • [job] [logs] Jest Tests #14 / Sourcerer Hooks sets default selected patterns to the URL when there is no sorcerer URL param in the query string
  • [job] [logs] Jest Tests #14 / Sourcerer Hooks sets default selected patterns to the URL when there is no sorcerer URL param in the query string
  • [job] [logs] Jest Tests #14 / Sourcerer Hooks sets signal index name
  • [job] [logs] Jest Tests #14 / Sourcerer Hooks sets signal index name
  • [job] [logs] Jest Tests #14 / Sourcerer Hooks useSourcererDataView Should put any excludes in the index pattern at the end of the pattern list, and sort both the includes and excludes
  • [job] [logs] Jest Tests #14 / Sourcerer Hooks useSourcererDataView Should put any excludes in the index pattern at the end of the pattern list, and sort both the includes and excludes
  • [job] [logs] Jest Tests #14 / Sourcerer Hooks useSourcererDataView should update the title and name of the data view according to the selected patterns
  • [job] [logs] Jest Tests #14 / Sourcerer Hooks useSourcererDataView should update the title and name of the data view according to the selected patterns

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
securitySolution 21.5MB 21.5MB +419.0B

History

cc @maximpn

@maximpn maximpn force-pushed the add-frontend-integration-tests-for-rule-upgrade-flyout branch from d6bb948 to e47b970 Compare February 10, 2025 18:07
@maximpn maximpn force-pushed the add-frontend-integration-tests-for-rule-upgrade-flyout branch from e051a96 to 345d49e Compare February 13, 2025 13:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:version Backport to applied version labels Feature:Prebuilt Detection Rules Security Solution Prebuilt Detection Rules area impact:high Addressing this issue will have a high level of impact on the quality/strength of our product. release_note:skip Skip the PR/issue when compiling release notes Team:Detection Rule Management Security Detection Rule Management Team Team:Detections and Resp Security Detection Response Team Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. test v8.18.0 v8.19.0 v9.0.0 v9.1.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants