elastic / kibana

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

Failing test: Security Solution Cypress.x-pack/test/security_solution_cypress/cypress/e2e/investigations/timelines/row_renderers·cy·ts - Row renderers "before each" hook for "Selected renderer can be disabled with one click" "before each" hook for "Selected renderer can be disabled with one click" #182021

Open kibanamachine opened 6 months ago

kibanamachine commented 6 months ago

A test failed on a tracked branch

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

`<textarea class="euiTextArea euiTextArea--resizeVertical euiTextArea--fullWidth kbnQueryBar__textarea kbnQueryBar__textarea--withIcon kbnQueryBar__textarea--isClearable" autocomplete="off" spellcheck="false" aria-label="Start typing to search and filter the Security page" aria-autocomplete="list" role="textbox" data-test-subj="timelineQueryInput" rows="1" id="i50823ee1-0653-11ef-b67d-c17cb6ae8553" placeholder="Filter your data using KQL syntax"></textarea>`

This element `<textarea#i50823ee1-0653-11ef-b67d-c17cb6ae8553.euiTextArea.euiTextArea--resizeVertical.euiTextArea--fullWidth.kbnQueryBar__textarea.kbnQueryBar__textarea--withIcon.kbnQueryBar__textarea--isClearable>` 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: `Row renderers`
    at runVisibilityCheck (http://localhost:5659/__cypress/runner/cypress_runner.js:145159:58)
    at Object.isStrictlyVisible (http://localhost:5659/__cypress/runner/cypress_runner.js:145173:10)
    at runAllChecks (http://localhost:5659/__cypress/runner/cypress_runner.js:112303:26)
    at retryActionability (http://localhost:5659/__cypress/runner/cypress_runner.js:112371:16)
    at tryCatcher (http://localhost:5659/__cypress/runner/cypress_runner.js:1807:23)
    at Promise.attempt.Promise.try (http://localhost:5659/__cypress/runner/cypress_runner.js:4315:29)
    at whenStable (http://localhost:5659/__cypress/runner/cypress_runner.js:143918:68)
    at <unknown> (http://localhost:5659/__cypress/runner/cypress_runner.js:143859:14)
    at tryCatcher (http://localhost:5659/__cypress/runner/cypress_runner.js:1807:23)
    at Promise._settlePromiseFromHandler (http://localhost:5659/__cypress/runner/cypress_runner.js:1519:31)
    at Promise._settlePromise (http://localhost:5659/__cypress/runner/cypress_runner.js:1576:18)
    at Promise._settlePromise0 (http://localhost:5659/__cypress/runner/cypress_runner.js:1621:10)
    at Promise._settlePromises (http://localhost:5659/__cypress/runner/cypress_runner.js:1701:18)
    at Promise._fulfill (http://localhost:5659/__cypress/runner/cypress_runner.js:1645:18)
    at <unknown> (http://localhost:5659/__cypress/runner/cypress_runner.js:5450:46)
From Your Spec Code:
    at executeTimelineKQL (webpack:///./tasks/timeline.ts:336:51)
    at populateTimeline (webpack:///./tasks/timeline.ts:414:2)
    at Context.eval (webpack:///./e2e/investigations/timelines/row_renderers.cy.ts:43:21)

First failure: CI Build - main

kibanamachine commented 6 months ago

New failure: CI Build - main

elasticmachine commented 6 months ago

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

mistic commented 6 months ago

Skipped.

main: c83cb88