kibana
kibana copied to clipboard
Failing test: Security Solution Cypress.x-pack/test/security_solution_cypress/cypress/e2e/detection_response/detection_engine/detection_alerts/assignments/assignments·cy·ts - Alert user assignment - ESS & Serverless Basic rendering alert with many assignees (collapsed into badge) in alert's details flyout alert with many assignees (collapsed into badge) in alert's details flyout
A test failed on a tracked branch
CypressError: Timed out retrying after 150050ms: `cy.click()` failed because the page updated while this command was executing. Cypress tried to locate elements based on this query:
> cy.get([data-test-subj="alert-assignees-context-menu-item"])
We initially found matching element(s), but while waiting for them to become actionable, they disappeared from the page. Common situations why this happens:
- Your JS framework re-rendered asynchronously
- Your app code reacted to an event firing and removed the element
You can typically solve this by breaking up a chain. For example, rewrite:
> `cy.get('button').click().click()`
to
> `cy.get('button').as('btn').click()`
> `cy.get('@btn').click()`
https://on.cypress.io/element-has-detached-from-dom
at retryActionability (http://localhost:5691/__cypress/runner/cypress_runner.js:112097:74)
at tryCatcher (http://localhost:5691/__cypress/runner/cypress_runner.js:1807:23)
at Promise.attempt.Promise.try (http://localhost:5691/__cypress/runner/cypress_runner.js:4315:29)
at whenStable (http://localhost:5691/__cypress/runner/cypress_runner.js:143908:68)
at <unknown> (http://localhost:5691/__cypress/runner/cypress_runner.js:143849:14)
at tryCatcher (http://localhost:5691/__cypress/runner/cypress_runner.js:1807:23)
at Promise._settlePromiseFromHandler (http://localhost:5691/__cypress/runner/cypress_runner.js:1519:31)
at Promise._settlePromise (http://localhost:5691/__cypress/runner/cypress_runner.js:1576:18)
at Promise._settlePromise0 (http://localhost:5691/__cypress/runner/cypress_runner.js:1621:10)
at Promise._settlePromises (http://localhost:5691/__cypress/runner/cypress_runner.js:1701:18)
at Promise._fulfill (http://localhost:5691/__cypress/runner/cypress_runner.js:1645:18)
at <unknown> (http://localhost:5691/__cypress/runner/cypress_runner.js:5450:46)
From Your Spec Code:
at openAlertAssigningActionMenu (webpack:///./tasks/alert_assignments.ts:61:41)
at updateAssigneesForAlert (webpack:///./tasks/alert_assignments.ts:172:2)
at Context.eval (webpack:///./e2e/detection_response/detection_engine/detection_alerts/assignments/assignments.cy.ts:106:30)
First failure: CI Build - main
New failure: CI Build - 8.12
New failure: CI Build - main
New failure: CI Build - main
New failure: CI Build - 8.12
Addressed in https://github.com/elastic/kibana/pull/173284
New failure: CI Build - main
Pinging @elastic/security-detections-response (Team:Detections and Resp)
Pinging @elastic/security-solution (Team: SecuritySolution)
We refactored these tests in https://github.com/elastic/kibana/pull/176930 also the last failure happened more than two months ago. Closing it for now.
cc @yctercero