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/pagination·cy·ts - Pagination "before each" hook for "should select 25 items per page by default" "before each" hook for "should select 25 items per page by default" #169413

Closed
kibanamachine opened this issue Oct 19, 2023 · 3 comments · Fixed by #173531
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

kibanamachine commented Oct 19, 2023

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="i0e689391-6e8e-11ee-a807-99a1aa9f8394" placeholder="Filter your data using KQL syntax"></textarea>`

This element `<textarea#i0e689391-6e8e-11ee-a807-99a1aa9f8394.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: `Pagination`
    at runVisibilityCheck (http://localhost:5612/__cypress/runner/cypress_runner.js:145086:58)
    at Object.isStrictlyVisible (http://localhost:5612/__cypress/runner/cypress_runner.js:145100:10)
    at runAllChecks (http://localhost:5612/__cypress/runner/cypress_runner.js:112037:26)
    at retryActionability (http://localhost:5612/__cypress/runner/cypress_runner.js:112105:16)
    at tryCatcher (http://localhost:5612/__cypress/runner/cypress_runner.js:1807:23)
    at Promise.attempt.Promise.try (http://localhost:5612/__cypress/runner/cypress_runner.js:4315:29)
    at whenStable (http://localhost:5612/__cypress/runner/cypress_runner.js:143908:68)
    at <unknown> (http://localhost:5612/__cypress/runner/cypress_runner.js:143849:14)
    at tryCatcher (http://localhost:5612/__cypress/runner/cypress_runner.js:1807:23)
    at Promise._settlePromiseFromHandler (http://localhost:5612/__cypress/runner/cypress_runner.js:1519:31)
    at Promise._settlePromise (http://localhost:5612/__cypress/runner/cypress_runner.js:1576:18)
    at Promise._settlePromise0 (http://localhost:5612/__cypress/runner/cypress_runner.js:1621:10)
    at Promise._settlePromises (http://localhost:5612/__cypress/runner/cypress_runner.js:1701:18)
    at Promise._fulfill (http://localhost:5612/__cypress/runner/cypress_runner.js:1645:18)
    at <unknown> (http://localhost:5612/__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/pagination.cy.ts:38:20)

First failure: CI Build - main

@kibanamachine kibanamachine added the failed-test A test failure on a tracked branch, potentially flaky-test label Oct 19, 2023
@botelastic botelastic bot added the needs-team Issues missing a team label label Oct 19, 2023
@kibanamachine kibanamachine added the Team:Threat Hunting:Investigations Security Solution Investigations Team label Oct 19, 2023
@botelastic botelastic bot removed the needs-team Issues missing a team label label Oct 19, 2023
@kibanamachine
Copy link
Contributor Author

New failure: CI Build - main

@kibanamachine
Copy link
Contributor Author

New failure: CI Build - main

mistic added a commit that referenced this issue Nov 16, 2023
@mistic
Copy link
Member

mistic commented Nov 16, 2023

Skipped.

main: 4d4566a

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