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

Failing test: Security Solution Cypress.x-pack/test/security_solution_cypress/cypress/e2e/investigations/timelines/unified_components/table_row_actions·cy·ts - Unified Timeline table Row Actions should refresh the table when alert status is changed should refresh the table when alert status is changed #196851

Open
kibanamachine opened this issue Oct 18, 2024 · 5 comments
Labels
blocker failed-test A test failure on a tracked branch, potentially flaky-test skipped-test Team:Threat Hunting:Investigations Security Solution Investigations Team v9.0.0

Comments

@kibanamachine
Copy link
Contributor

kibanamachine commented Oct 18, 2024

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="acknowledged-alert-status"])

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:5687/__cypress/runner/cypress_runner.js:112363:74)
    at tryCatcher (http://localhost:5687/__cypress/runner/cypress_runner.js:1807:23)
    at Promise.attempt.Promise.try (http://localhost:5687/__cypress/runner/cypress_runner.js:4315:29)
    at whenStable (http://localhost:5687/__cypress/runner/cypress_runner.js:143918:68)
    at <unknown> (http://localhost:5687/__cypress/runner/cypress_runner.js:143859:14)
    at tryCatcher (http://localhost:5687/__cypress/runner/cypress_runner.js:1807:23)
    at Promise._settlePromiseFromHandler (http://localhost:5687/__cypress/runner/cypress_runner.js:1519:31)
    at Promise._settlePromise (http://localhost:5687/__cypress/runner/cypress_runner.js:1576:18)
    at Promise._settlePromise0 (http://localhost:5687/__cypress/runner/cypress_runner.js:1621:10)
    at Promise._settlePromises (http://localhost:5687/__cypress/runner/cypress_runner.js:1701:18)
    at Promise._fulfill (http://localhost:5687/__cypress/runner/cypress_runner.js:1645:18)
    at <unknown> (http://localhost:5687/__cypress/runner/cypress_runner.js:5450:46)
From Your Spec Code:
    at Context.eval (webpack:///./e2e/investigations/timelines/unified_components/table_row_actions.cy.ts:44:42)

First failure: kibana-on-merge - main

@kibanamachine kibanamachine added the failed-test A test failure on a tracked branch, potentially flaky-test label Oct 18, 2024
@botelastic botelastic bot added the needs-team Issues missing a team label label Oct 18, 2024
@kibanamachine
Copy link
Contributor Author

New failure: kibana-on-merge - main

@kibanamachine kibanamachine added the Team:Threat Hunting:Investigations Security Solution Investigations Team label Oct 18, 2024
@elasticmachine
Copy link
Contributor

Pinging @elastic/security-threat-hunting-investigations (Team:Threat Hunting:Investigations)

@botelastic botelastic bot removed the needs-team Issues missing a team label label Oct 18, 2024
@kibanamachine
Copy link
Contributor Author

New failure: kibana-on-merge - main

1 similar comment
@kibanamachine
Copy link
Contributor Author

New failure: kibana-on-merge - main

@mistic
Copy link
Member

mistic commented Oct 21, 2024

Skipped.

main: f77badd

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocker failed-test A test failure on a tracked branch, potentially flaky-test skipped-test Team:Threat Hunting:Investigations Security Solution Investigations Team v9.0.0
Projects
None yet
Development

No branches or pull requests

3 participants