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/fields_browser·cy·ts - Fields Browser Editing the timeline "before each" hook for "should add/remove columns from the alerts table when the user checks/un-checks them" "before each" hook for "should add/remove columns from the alerts table when the user checks/un-checks them" #183460

Open
kibanamachine opened this issue May 15, 2024 · 1 comment
Labels
failed-test A test failure on a tracked branch, potentially flaky-test Team:Threat Hunting:Investigations Security Solution Investigations Team

Comments

@kibanamachine
Copy link
Contributor

A test failed on a tracked branch

CypressError: Timed out retrying after 150050ms: `cy.click()` failed because this element is not visible:

`<button class="euiButtonEmpty fields-button css-1gnu6l8-euiButtonDisplay-euiButtonEmpty-xs-empty-text" type="button" aria-label="Fields" data-test-subj="show-field-browser">...</button>`

This element `<button.euiButtonEmpty.fields-button.css-1gnu6l8-euiButtonDisplay-euiButtonEmpty-xs-empty-text>` is not visible because its parent `<div.timeline-portal-overlay-mask.css-yl445g.timeline-portal-overlay-mask--hidden>` has CSS property: `display: none`

Fix this problem, or use `{force: true}` to disable error checking.

https://on.cypress.io/element-cannot-be-interacted-with

Because this error occurred during a `before each` hook we are skipping the remaining tests in the current suite: `Fields Browser`
    at runVisibilityCheck (http://localhost:5692/__cypress/runner/cypress_runner.js:145133:58)
    at Object.isStrictlyVisible (http://localhost:5692/__cypress/runner/cypress_runner.js:145147:10)
    at runAllChecks (http://localhost:5692/__cypress/runner/cypress_runner.js:112282:26)
    at retryActionability (http://localhost:5692/__cypress/runner/cypress_runner.js:112350:16)
    at tryCatcher (http://localhost:5692/__cypress/runner/cypress_runner.js:1807:23)
    at Promise.attempt.Promise.try (http://localhost:5692/__cypress/runner/cypress_runner.js:4315:29)
    at whenStable (http://localhost:5692/__cypress/runner/cypress_runner.js:143892:68)
    at <unknown> (http://localhost:5692/__cypress/runner/cypress_runner.js:143833:14)
    at tryCatcher (http://localhost:5692/__cypress/runner/cypress_runner.js:1807:23)
    at Promise._settlePromiseFromHandler (http://localhost:5692/__cypress/runner/cypress_runner.js:1519:31)
    at Promise._settlePromise (http://localhost:5692/__cypress/runner/cypress_runner.js:1576:18)
    at Promise._settlePromise0 (http://localhost:5692/__cypress/runner/cypress_runner.js:1621:10)
    at Promise._settlePromises (http://localhost:5692/__cypress/runner/cypress_runner.js:1701:18)
    at Promise._fulfill (http://localhost:5692/__cypress/runner/cypress_runner.js:1645:18)
    at <unknown> (http://localhost:5692/__cypress/runner/cypress_runner.js:5450:46)
From Your Spec Code:
    at openTimelineFieldsBrowser (webpack:///./tasks/timeline.ts:374:41)
    at Context.eval (webpack:///./e2e/investigations/timelines/fields_browser.cy.ts:54:30)

First failure: kibana-on-merge - main

@kibanamachine kibanamachine added the failed-test A test failure on a tracked branch, potentially flaky-test label May 15, 2024
@botelastic botelastic bot added the needs-team Issues missing a team label label May 15, 2024
@kibanamachine kibanamachine added the Team:Threat Hunting:Investigations Security Solution Investigations Team label May 15, 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 May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
failed-test A test failure on a tracked branch, potentially flaky-test Team:Threat Hunting:Investigations Security Solution Investigations Team
Projects
None yet
Development

No branches or pull requests

2 participants