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:5682/__cypress/runner/cypress_runner.js:112363:74)
at tryCatcher (http://localhost:5682/__cypress/runner/cypress_runner.js:1807:23)
at Promise.attempt.Promise.try (http://localhost:5682/__cypress/runner/cypress_runner.js:4315:29)
at whenStable (http://localhost:5682/__cypress/runner/cypress_runner.js:143918:68)
at <unknown> (http://localhost:5682/__cypress/runner/cypress_runner.js:143859:14)
at tryCatcher (http://localhost:5682/__cypress/runner/cypress_runner.js:1807:23)
at Promise._settlePromiseFromHandler (http://localhost:5682/__cypress/runner/cypress_runner.js:1519:31)
at Promise._settlePromise (http://localhost:5682/__cypress/runner/cypress_runner.js:1576:18)
at Promise._settlePromise0 (http://localhost:5682/__cypress/runner/cypress_runner.js:1621:10)
at Promise._settlePromises (http://localhost:5682/__cypress/runner/cypress_runner.js:1701:18)
at Promise._fulfill (http://localhost:5682/__cypress/runner/cypress_runner.js:1645:18)
at <unknown> (http://localhost:5682/__cypress/runner/cypress_runner.js:5450:46)
From Your Spec Code:
at openFirstAlertAssigningActionMenu (webpack:///./tasks/alert_assignments.ts:62:41)
at updateAssigneesForFirstAlert (webpack:///./tasks/alert_assignments.ts:169:2)
at Context.eval (webpack:///./e2e/detection_response/detection_engine/detection_alerts/assignments/assignments.cy.ts:69:35)
A test failed on a tracked branch
First failure: CI Build - main