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: Jest Tests.x-pack/plugins/security_solution/public/detection_engine/rule_gaps/components/manual_rule_run - ManualRuleRunModal should render confirmation button disabled if invalid time range has been selected #186187

Closed
kibanamachine opened this issue Jun 13, 2024 · 8 comments
Assignees
Labels
failed-test A test failure on a tracked branch, potentially flaky-test Team:Detection Engine Security Solution Detection Engine Area

Comments

@kibanamachine
Copy link
Contributor

kibanamachine commented Jun 13, 2024

A test failed on a tracked branch

TypeError: scrollToElement.scrollIntoView is not a function
    at Time.componentDidUpdate (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1718286520154939341/elastic/kibana-on-merge/kibana/node_modules/@elastic/eui/test-env/components/date_picker/react-datepicker/src/time.js:209:27)
    at commitLifeCycles (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1718286520154939341/elastic/kibana-on-merge/kibana/node_modules/react-dom/cjs/react-dom.development.js:20684:24)
    at commitLayoutEffects (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1718286520154939341/elastic/kibana-on-merge/kibana/node_modules/react-dom/cjs/react-dom.development.js:23426:7)
    at HTMLUnknownElement.callCallback (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1718286520154939341/elastic/kibana-on-merge/kibana/node_modules/react-dom/cjs/react-dom.development.js:3945:14)
    at HTMLUnknownElement.callTheUserObjectsOperation (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1718286520154939341/elastic/kibana-on-merge/kibana/node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30)
    at innerInvokeEventListeners (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1718286520154939341/elastic/kibana-on-merge/kibana/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:350:25)
    at invokeEventListeners (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1718286520154939341/elastic/kibana-on-merge/kibana/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
    at HTMLUnknownElementImpl._dispatch (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1718286520154939341/elastic/kibana-on-merge/kibana/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
    at HTMLUnknownElementImpl.dispatchEvent (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1718286520154939341/elastic/kibana-on-merge/kibana/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
    at HTMLUnknownElement.dispatchEvent (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1718286520154939341/elastic/kibana-on-merge/kibana/node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
    at Object.invokeGuardedCallbackDev (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1718286520154939341/elastic/kibana-on-merge/kibana/node_modules/react-dom/cjs/react-dom.development.js:3994:16)
    at invokeGuardedCallback (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1718286520154939341/elastic/kibana-on-merge/kibana/node_modules/react-dom/cjs/react-dom.development.js:4056:31)
    at commitRootImpl (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1718286520154939341/elastic/kibana-on-merge/kibana/node_modules/react-dom/cjs/react-dom.development.js:23151:9)
    at unstable_runWithPriority (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1718286520154939341/elastic/kibana-on-merge/kibana/node_modules/scheduler/cjs/scheduler.development.js:468:12)
    at runWithPriority$1 (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1718286520154939341/elastic/kibana-on-merge/kibana/node_modules/react-dom/cjs/react-dom.development.js:11276:10)
    at commitRoot (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1718286520154939341/elastic/kibana-on-merge/kibana/node_modules/react-dom/cjs/react-dom.development.js:22990:3)
    at performSyncWorkOnRoot (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1718286520154939341/elastic/kibana-on-merge/kibana/node_modules/react-dom/cjs/react-dom.development.js:22329:3)
    at /opt/buildkite-agent/builds/bk-agent-prod-gcp-1718286520154939341/elastic/kibana-on-merge/kibana/node_modules/react-dom/cjs/react-dom.development.js:11327:26
    at unstable_runWithPriority (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1718286520154939341/elastic/kibana-on-merge/kibana/node_modules/scheduler/cjs/scheduler.development.js:468:12)
    at runWithPriority$1 (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1718286520154939341/elastic/kibana-on-merge/kibana/node_modules/react-dom/cjs/react-dom.development.js:11276:10)
    at flushSyncCallbackQueueImpl (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1718286520154939341/elastic/kibana-on-merge/kibana/node_modules/react-dom/cjs/react-dom.development.js:11322:9)
    at flushSyncCallbackQueue (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1718286520154939341/elastic/kibana-on-merge/kibana/node_modules/react-dom/cjs/react-dom.development.js:11309:3)
    at discreteUpdates$1 (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1718286520154939341/elastic/kibana-on-merge/kibana/node_modules/react-dom/cjs/react-dom.development.js:22420:9)
    at discreteUpdates (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1718286520154939341/elastic/kibana-on-merge/kibana/node_modules/react-dom/cjs/react-dom.development.js:3756:12)
    at dispatchDiscreteEvent (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1718286520154939341/elastic/kibana-on-merge/kibana/node_modules/react-dom/cjs/react-dom.development.js:5889:3)
    at HTMLDivElement.callTheUserObjectsOperation (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1718286520154939341/elastic/kibana-on-merge/kibana/node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30)
    at innerInvokeEventListeners (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1718286520154939341/elastic/kibana-on-merge/kibana/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:350:25)
    at invokeEventListeners (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1718286520154939341/elastic/kibana-on-merge/kibana/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
    at HTMLButtonElementImpl._dispatch (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1718286520154939341/elastic/kibana-on-merge/kibana/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
    at fireAnEvent (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1718286520154939341/elastic/kibana-on-merge/kibana/node_modules/jsdom/lib/jsdom/living/helpers/events.js:18:36)
    at HTMLButtonElementImpl.click (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1718286520154939341/elastic/kibana-on-merge/kibana/node_modules/jsdom/lib/jsdom/living/nodes/HTMLElement-impl.js:79:5)
    at HTMLButtonElement.click (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1718286520154939341/elastic/kibana-on-merge/kibana/node_modules/jsdom/lib/jsdom/living/generated/HTMLElement.js:108:34)
    at Object.click (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1718286520154939341/elastic/kibana-on-merge/kibana/x-pack/plugins/security_solution/public/detection_engine/rule_gaps/components/manual_rule_run/index.test.tsx:38:80)
    at Promise.then.completed (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1718286520154939341/elastic/kibana-on-merge/kibana/node_modules/jest-circus/build/utils.js:300:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1718286520154939341/elastic/kibana-on-merge/kibana/node_modules/jest-circus/build/utils.js:233:10)
    at _callCircusTest (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1718286520154939341/elastic/kibana-on-merge/kibana/node_modules/jest-circus/build/run.js:314:40)
    at _runTest (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1718286520154939341/elastic/kibana-on-merge/kibana/node_modules/jest-circus/build/run.js:250:3)
    at _runTestsForDescribeBlock (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1718286520154939341/elastic/kibana-on-merge/kibana/node_modules/jest-circus/build/run.js:125:9)
    at _runTestsForDescribeBlock (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1718286520154939341/elastic/kibana-on-merge/kibana/node_modules/jest-circus/build/run.js:120:9)
    at run (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1718286520154939341/elastic/kibana-on-merge/kibana/node_modules/jest-circus/build/run.js:70:3)
    at runAndTransformResultsToJestFormat (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1718286520154939341/elastic/kibana-on-merge/kibana/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
    at jestAdapter (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1718286520154939341/elastic/kibana-on-merge/kibana/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
    at runTestInternal (/opt/buildkite-agent/bu
[report_failure] output truncated to 8192 characters

First failure: kibana-on-merge - main

@kibanamachine kibanamachine added the failed-test A test failure on a tracked branch, potentially flaky-test label Jun 13, 2024
@botelastic botelastic bot added the needs-team Issues missing a team label label Jun 13, 2024
@kibanamachine kibanamachine added the Team:Detection Engine Security Solution Detection Engine Area label Jun 13, 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 Jun 13, 2024
@kibanamachine
Copy link
Contributor Author

New failure: kibana-on-merge - main

@kibanamachine
Copy link
Contributor Author

New failure: kibana-on-merge - main

@kibanamachine
Copy link
Contributor Author

New failure: kibana-on-merge - main

@kibanamachine
Copy link
Contributor Author

New failure: kibana-on-merge - main

@kibanamachine
Copy link
Contributor Author

New failure: kibana-on-merge - main

@kibanamachine
Copy link
Contributor Author

New failure: kibana-on-merge - main

e40pud added a commit that referenced this issue Jun 21, 2024
…ction_engine/rule_gaps/components/manual_rule_run - ManualRuleRunModal should render confirmation button disabled if selected end date is in future (#186189) (#186296)

## Summary

Related tickets #186189 and
#186187, and
#186188

Attempt to fix failing manual rule run tests added in this PR
#184500

---------

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
@e40pud
Copy link
Contributor

e40pud commented Jun 21, 2024

Fixed by #186296

@e40pud e40pud closed this as completed Jun 21, 2024
bhapas pushed a commit to bhapas/kibana that referenced this issue Jun 24, 2024
…ction_engine/rule_gaps/components/manual_rule_run - ManualRuleRunModal should render confirmation button disabled if selected end date is in future (elastic#186189) (elastic#186296)

## Summary

Related tickets elastic#186189 and
elastic#186187, and
elastic#186188

Attempt to fix failing manual rule run tests added in this PR
elastic#184500

---------

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
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:Detection Engine Security Solution Detection Engine Area
Projects
None yet
Development

No branches or pull requests

4 participants