elastic / kibana

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

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 2 months ago

kibanamachine commented 2 months ago

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

elasticmachine commented 2 months ago

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