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 "restores focus to the Customize Columns button when Esc is pressed" "before each" hook for "restores focus to the Customize Columns button when Esc is pressed" #169271

Closed
kibanamachine opened this issue Oct 18, 2023 · 0 comments · Fixed by #174597
Assignees
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 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="i14e4d721-6dd4-11ee-bc45-c5b599cf3f91" placeholder="Filter your data using KQL syntax"></textarea>`

This element `<textarea#i14e4d721-6dd4-11ee-bc45-c5b599cf3f91.euiTextArea.euiTextArea--resizeVertical.euiTextArea--fullWidth.kbnQueryBar__textarea.kbnQueryBar__textarea--withIcon.kbnQueryBar__textarea--isClearable>` is not visible because its parent `<div._StyledDiv-sc-1gsoud4-0.fzKnXL>` 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: `Editing the timeline`
    at runVisibilityCheck (http://localhost:5637/__cypress/runner/cypress_runner.js:145086:58)
    at Object.isStrictlyVisible (http://localhost:5637/__cypress/runner/cypress_runner.js:145100:10)
    at runAllChecks (http://localhost:5637/__cypress/runner/cypress_runner.js:112037:26)
    at retryActionability (http://localhost:5637/__cypress/runner/cypress_runner.js:112105:16)
    at tryCatcher (http://localhost:5637/__cypress/runner/cypress_runner.js:1807:23)
    at Promise.attempt.Promise.try (http://localhost:5637/__cypress/runner/cypress_runner.js:4315:29)
    at whenStable (http://localhost:5637/__cypress/runner/cypress_runner.js:143908:68)
    at <unknown> (http://localhost:5637/__cypress/runner/cypress_runner.js:143849:14)
    at tryCatcher (http://localhost:5637/__cypress/runner/cypress_runner.js:1807:23)
    at Promise._settlePromiseFromHandler (http://localhost:5637/__cypress/runner/cypress_runner.js:1519:31)
    at Promise._settlePromise (http://localhost:5637/__cypress/runner/cypress_runner.js:1576:18)
    at Promise._settlePromise0 (http://localhost:5637/__cypress/runner/cypress_runner.js:1621:10)
    at Promise._settlePromises (http://localhost:5637/__cypress/runner/cypress_runner.js:1701:18)
    at Promise._fulfill (http://localhost:5637/__cypress/runner/cypress_runner.js:1645:18)
    at <unknown> (http://localhost:5637/__cypress/runner/cypress_runner.js:5450:46)
From Your Spec Code:
    at executeTimelineKQL (webpack:///./tasks/timeline.ts:335:51)
    at populateTimeline (webpack:///./tasks/timeline.ts:407:2)
    at Context.eval (webpack:///./e2e/investigations/timelines/fields_browser.cy.ts:131:22)

First failure: CI Build - main

@kibanamachine kibanamachine added the failed-test A test failure on a tracked branch, potentially flaky-test label Oct 18, 2023
@botelastic botelastic bot added the needs-team Issues missing a team label label Oct 18, 2023
@kibanamachine kibanamachine added the Team:Threat Hunting:Investigations Security Solution Investigations Team label Oct 18, 2023
@botelastic botelastic bot removed the needs-team Issues missing a team label label Oct 18, 2023
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

Successfully merging a pull request may close this issue.

5 participants