elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.7k stars 8.12k forks source link

[Security Solution] Flaky test: bulk_edit_rules_actions.cy.ts #176908

Open banderror opened 6 months ago

banderror commented 6 months ago

Related to: https://github.com/elastic/kibana/issues/178810

Summary

One of our Cypress tests for bulk editing rule actions failed in the Serverless CD pipeline for Elasticsearch. The test was retried and succeeded on the 2nd try, so we haven't got an automatically created ticket.

Build: https://buildkite.com/elastic/kibana-elasticsearch-serverless-verify-and-promote/builds/565#018da2c5-8c87-4a0a-863f-794d5b38b736

Test path:

e2e/detection_response/rule_management/rule_actions/bulk_actions/bulk_edit_rules_actions.cy.ts:162:32

Test name:

Detection rules, bulk edit of rule actions
  Restricted action privileges
    User with no privileges can't add rule actions

Error:

AssertionError: Timed out retrying after 150000ms: Expected to find element: `[data-test-subj^="callout-missing-user-privileges"]`, but never found it.

Let's look into it and:

elasticmachine commented 6 months ago

Pinging @elastic/security-detections-response (Team:Detections and Resp)

elasticmachine commented 6 months ago

Pinging @elastic/security-solution (Team: SecuritySolution)

elasticmachine commented 6 months ago

Pinging @elastic/security-detection-rule-management (Team:Detection Rule Management)