Skip to content

[Security Solution] Get rid of ES Archiver in Rule Management tests #234180

@banderror

Description

@banderror

Summary

Remove the dependency on esArchiver from all the API integration and Cypress tests owned by the @elastic/security-detection-rule-management team.

Context

ES Archiver is a complex dependency that is prone to bugs and flakiness. We want to remove it from our tests. In order to do this, the corresponding tests need to be refactored to rely on using Kibana APIs or Elasticsearch APIs directly. Initial effort was done in #229492.

List of tests

API integration tests which depend on esArchiver:

  • x-pack/solutions/security/test/security_solution_api_integration/test_suites/detections_response/rules_management/rule_bulk_actions/trial_license_complete_tier/perform_bulk_action.ts
  • x-pack/solutions/security/test/security_solution_api_integration/test_suites/detections_response/rules_management/rule_creation/basic_license_essentials_tier/create_ml_rules_privileges.ts
  • x-pack/solutions/security/test/security_solution_api_integration/test_suites/detections_response/rules_management/rule_creation/basic_license_essentials_tier/create_rules.ts
  • x-pack/solutions/security/test/security_solution_api_integration/test_suites/detections_response/rules_management/rule_management/trial_license_complete_tier/get_rule_execution_results.ts
  • x-pack/solutions/security/test/security_solution_api_integration/test_suites/detections_response/rules_management/rule_read/trial_license_complete_tier/resolve_read_rules.ts

Cypress tests which depend on esArchiver:

  • Nothing owned by Rule Management at the time of creating this ticket

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions