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/detection_response/detection_engine/sourcerer/create_runtime_field·cy·ts - Create DataView runtime field adds field to timeline adds field to timeline #183104

Closed
kibanamachine opened this issue May 9, 2024 · 5 comments · Fixed by #195662
Assignees
Labels
failed-test A test failure on a tracked branch, potentially flaky-test Team:Threat Hunting:Investigations Security Solution Investigations Team Team:Threat Hunting Security Solution Threat Hunting Team

Comments

@kibanamachine
Copy link
Contributor

kibanamachine commented May 9, 2024

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="i5c00a8c5-0e59-11ef-a7bd-95e81bc3678d" placeholder="Filter your data using KQL syntax"></textarea>`

This element `<textarea#i5c00a8c5-0e59-11ef-a7bd-95e81bc3678d.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
    at runVisibilityCheck (http://localhost:5647/__cypress/runner/cypress_runner.js:145159:58)
    at Object.isStrictlyVisible (http://localhost:5647/__cypress/runner/cypress_runner.js:145173:10)
    at runAllChecks (http://localhost:5647/__cypress/runner/cypress_runner.js:112303:26)
    at retryActionability (http://localhost:5647/__cypress/runner/cypress_runner.js:112371:16)
    at tryCatcher (http://localhost:5647/__cypress/runner/cypress_runner.js:1807:23)
    at Promise.attempt.Promise.try (http://localhost:5647/__cypress/runner/cypress_runner.js:4315:29)
    at whenStable (http://localhost:5647/__cypress/runner/cypress_runner.js:143918:68)
    at <unknown> (http://localhost:5647/__cypress/runner/cypress_runner.js:143859:14)
    at tryCatcher (http://localhost:5647/__cypress/runner/cypress_runner.js:1807:23)
    at Promise._settlePromiseFromHandler (http://localhost:5647/__cypress/runner/cypress_runner.js:1519:31)
    at Promise._settlePromise (http://localhost:5647/__cypress/runner/cypress_runner.js:1576:18)
    at Promise._settlePromise0 (http://localhost:5647/__cypress/runner/cypress_runner.js:1621:10)
    at Promise._settlePromises (http://localhost:5647/__cypress/runner/cypress_runner.js:1701:18)
    at Promise._fulfill (http://localhost:5647/__cypress/runner/cypress_runner.js:1645:18)
    at <unknown> (http://localhost:5647/__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/detection_response/detection_engine/sourcerer/create_runtime_field.cy.ts:49:21)

First failure: kibana-on-merge - main

@kibanamachine kibanamachine added the failed-test A test failure on a tracked branch, potentially flaky-test label May 9, 2024
@kibanamachine
Copy link
Contributor Author

New failure: kibana-on-merge - main

@botelastic botelastic bot added the needs-team Issues missing a team label label May 9, 2024
@kibanamachine kibanamachine added the Team:Detection Engine Security Solution Detection Engine Area label May 9, 2024
@elasticmachine
Copy link
Contributor

Pinging @elastic/security-detection-engine (Team:Detection Engine)

@botelastic botelastic bot removed the needs-team Issues missing a team label label May 9, 2024
mistic added a commit that referenced this issue May 10, 2024
@mistic
Copy link
Member

mistic commented May 10, 2024

Skipped.

main: a703ce5

@yctercero yctercero added Team:Threat Hunting Security Solution Threat Hunting Team Team:Threat Hunting:Investigations Security Solution Investigations Team and removed Team:Detection Engine Security Solution Detection Engine Area labels Jun 5, 2024
@elasticmachine
Copy link
Contributor

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

@elasticmachine
Copy link
Contributor

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

@lgestc lgestc closed this as completed Oct 18, 2024
lgestc added a commit that referenced this issue Oct 25, 2024
michaelolo24 added a commit that referenced this issue Nov 7, 2024
1. Added `cypress-network-idle` to better wait for a full page load as a
loading indicator flicker could cause flakiness.

2. List of addressed open issues:

Resolves #191819
Resolves #178367
Resolves #176757
Resolves #176759
Resolves #176758
Resolves #193840
Resolves #182206
Resolves #181977
Resolves #168768
Resolves #168769
Resolves #168770
Resolves #168771
Resolves #168772
Resolves #183104
Resolves #173854

Successful Flaky Test Runner:
https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/7267

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
mbondyra pushed a commit to mbondyra/kibana that referenced this issue Nov 8, 2024
1. Added `cypress-network-idle` to better wait for a full page load as a
loading indicator flicker could cause flakiness.

2. List of addressed open issues:

Resolves elastic#191819
Resolves elastic#178367
Resolves elastic#176757
Resolves elastic#176759
Resolves elastic#176758
Resolves elastic#193840
Resolves elastic#182206
Resolves elastic#181977
Resolves elastic#168768
Resolves elastic#168769
Resolves elastic#168770
Resolves elastic#168771
Resolves elastic#168772
Resolves elastic#183104
Resolves elastic#173854

Successful Flaky Test Runner:
https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/7267

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
CAWilson94 pushed a commit to CAWilson94/kibana that referenced this issue Nov 8, 2024
1. Added `cypress-network-idle` to better wait for a full page load as a
loading indicator flicker could cause flakiness.

2. List of addressed open issues:

Resolves elastic#191819
Resolves elastic#178367
Resolves elastic#176757
Resolves elastic#176759
Resolves elastic#176758
Resolves elastic#193840
Resolves elastic#182206
Resolves elastic#181977
Resolves elastic#168768
Resolves elastic#168769
Resolves elastic#168770
Resolves elastic#168771
Resolves elastic#168772
Resolves elastic#183104
Resolves elastic#173854

Successful Flaky Test Runner:
https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/7267

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
michaelolo24 added a commit to michaelolo24/kibana that referenced this issue Nov 26, 2024
1. Added `cypress-network-idle` to better wait for a full page load as a
loading indicator flicker could cause flakiness.

2. List of addressed open issues:

Resolves elastic#191819
Resolves elastic#178367
Resolves elastic#176757
Resolves elastic#176759
Resolves elastic#176758
Resolves elastic#193840
Resolves elastic#182206
Resolves elastic#181977
Resolves elastic#168768
Resolves elastic#168769
Resolves elastic#168770
Resolves elastic#168771
Resolves elastic#168772
Resolves elastic#183104
Resolves elastic#173854

Successful Flaky Test Runner:
https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/7267

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit 3f236b1)
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 Team:Threat Hunting Security Solution Threat Hunting Team
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants