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/rule_edit/indicator_match_rule·cy·ts - Detection rules, Indicator Match, Edit without suppression enables suppression on time interval enables suppression on time interval #196711

Open
kibanamachine opened this issue Oct 17, 2024 · 6 comments
Assignees
Labels
Environment:ECH failed-es-promotion Feature:Alert Suppression Security Solution Alert Suppression feature Feature:Indicator Match Rule Security Solution Indicator Match rule type Feature:Rule Edit Security Solution Detection Rule Editing workflow impact:medium Addressing this issue will have a medium level of impact on the quality/strength of our product. skipped-test Team:Detection Engine Security Solution Detection Engine Area v9.0.0

Comments

@kibanamachine
Copy link
Contributor

kibanamachine commented Oct 17, 2024

A test failed on a tracked branch

CypressError: Timed out retrying after 150000ms: `cy.type()` failed because this element is `disabled`:

`<input type="number" id="i9fc0c7e1-8c92-11ef-8f0f-e72092920c96" min="1" max="9007199254740991" step="any" class="euiFieldNumber css-5c3crt-euiFieldNumber-inGroup" data-test-subj="alertSuppressionDurationInput" disabled="" value="5">`

Fix this problem, or use `{force: true}` to disable error checking.

https://on.cypress.io/element-cannot-be-interacted-with
    at Object.isNotDisabled (http://localhost:5655/__cypress/runner/cypress_runner.js:145125:58)
    at runAllChecks (http://localhost:5655/__cypress/runner/cypress_runner.js:112282:26)
    at retryActionability (http://localhost:5655/__cypress/runner/cypress_runner.js:112371:16)
    at tryCatcher (http://localhost:5655/__cypress/runner/cypress_runner.js:1807:23)
    at Promise.attempt.Promise.try (http://localhost:5655/__cypress/runner/cypress_runner.js:4315:29)
    at whenStable (http://localhost:5655/__cypress/runner/cypress_runner.js:143918:68)
    at <unknown> (http://localhost:5655/__cypress/runner/cypress_runner.js:143859:14)
    at tryCatcher (http://localhost:5655/__cypress/runner/cypress_runner.js:1807:23)
    at Promise._settlePromiseFromHandler (http://localhost:5655/__cypress/runner/cypress_runner.js:1519:31)
    at Promise._settlePromise (http://localhost:5655/__cypress/runner/cypress_runner.js:1576:18)
    at Promise._settlePromise0 (http://localhost:5655/__cypress/runner/cypress_runner.js:1621:10)
    at Promise._settlePromises (http://localhost:5655/__cypress/runner/cypress_runner.js:1701:18)
    at Promise._fulfill (http://localhost:5655/__cypress/runner/cypress_runner.js:1645:18)
    at <unknown> (http://localhost:5655/__cypress/runner/cypress_runner.js:5450:46)
From Your Spec Code:
    at setAlertSuppressionDuration (webpack:///./tasks/create_new_rule.ts:954:51)
    at Context.eval (webpack:///./e2e/detection_response/detection_engine/rule_edit/indicator_match_rule.cy.ts:72:36)

First failure: kibana-elasticsearch-serverless-verify-and-promote - main

@kibanamachine kibanamachine added the failed-test A test failure on a tracked branch, potentially flaky-test label Oct 17, 2024
@botelastic botelastic bot added the needs-team Issues missing a team label label Oct 17, 2024
@kibanamachine
Copy link
Contributor Author

@kibanamachine kibanamachine added failed-es-promotion Team:Detection Engine Security Solution Detection Engine Area labels Oct 17, 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 Oct 17, 2024
@kibanamachine
Copy link
Contributor Author

New failure: kibana-on-merge - main

1 similar comment
@kibanamachine
Copy link
Contributor Author

New failure: kibana-on-merge - main

@mistic
Copy link
Member

mistic commented Oct 21, 2024

Skipped.

main: 64aef09

@yctercero yctercero added impact:medium Addressing this issue will have a medium level of impact on the quality/strength of our product. and removed blocker labels Dec 27, 2024
@yctercero
Copy link
Contributor

@vitaliidm could you take a look at this test? Could we get similar coverage using unit tests?

@yctercero yctercero added Feature:Indicator Match Rule Security Solution Indicator Match rule type Feature:Alert Suppression Security Solution Alert Suppression feature Feature:Rule Edit Security Solution Detection Rule Editing workflow Environment:ECH Test:Cypress and removed failed-test A test failure on a tracked branch, potentially flaky-test Team:Detection Engine Security Solution Detection Engine Area labels Dec 27, 2024
@botelastic botelastic bot added the needs-team Issues missing a team label label Dec 27, 2024
@yctercero yctercero added Team:Detection Engine Security Solution Detection Engine Area and removed Test:Cypress labels Dec 27, 2024
@botelastic botelastic bot removed the needs-team Issues missing a team label label Dec 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Environment:ECH failed-es-promotion Feature:Alert Suppression Security Solution Alert Suppression feature Feature:Indicator Match Rule Security Solution Indicator Match rule type Feature:Rule Edit Security Solution Detection Rule Editing workflow impact:medium Addressing this issue will have a medium level of impact on the quality/strength of our product. skipped-test Team:Detection Engine Security Solution Detection Engine Area v9.0.0
Projects
None yet
Development

No branches or pull requests

5 participants