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

[7.x] [Security Solution][Resolver]Enzyme test related events closing (#74811) #74977

Closed
wants to merge 1 commit into from
Closed

[7.x] [Security Solution][Resolver]Enzyme test related events closing (#74811) #74977

wants to merge 1 commit into from

Conversation

bkimmel
Copy link
Contributor

@bkimmel bkimmel commented Aug 13, 2020

Backports the following commits to 7.x:

# Conflicts:
#	x-pack/plugins/security_solution/public/resolver/view/clickthrough.test.tsx
@kibanamachine
Copy link
Contributor

kibanamachine commented Aug 13, 2020

💔 Build Failed

Failed CI Steps


Test Failures

Kibana Pipeline / x-pack-intake-agent / X-Pack Jest Tests.x-pack/plugins/security_solution/public/resolver/view.Resolver, when analyzing a tree that has two related events for the origin when it has loaded when the related events button is clicked should open the submenu and display exactly one option with the correct count

Link to Jenkins

Standard Out

Failed Tests Reporter:
  - Test has not failed recently on tracked branches


Stack Trace

TypeError: simulator.processNodeSubmenuItems is not a function
    at mapper (/dev/shm/workspace/kibana/x-pack/plugins/security_solution/public/resolver/view/clickthrough.test.tsx:166:41)
    at Simulator.map (/dev/shm/workspace/kibana/x-pack/plugins/security_solution/public/resolver/test_utilities/simulator/index.tsx:124:13)
    at map.next (<anonymous>)
    at Object.toYieldEqualTo (/dev/shm/workspace/kibana/x-pack/plugins/security_solution/public/resolver/test_utilities/extend_jest.ts:49:5)
    at __EXTERNAL_MATCHER_TRAP__ (/dev/shm/workspace/kibana/node_modules/expect/build/index.js:342:30)
    at Object.toYieldEqualTo (/dev/shm/workspace/kibana/node_modules/expect/build/index.js:343:15)
    at Object.it (/dev/shm/workspace/kibana/x-pack/plugins/security_solution/public/resolver/view/clickthrough.test.tsx:167:11)
    at Promise (/dev/shm/workspace/kibana/node_modules/jest-circus/build/utils.js:198:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (/dev/shm/workspace/kibana/node_modules/jest-circus/build/utils.js:162:10)
    at _callCircusTest (/dev/shm/workspace/kibana/node_modules/jest-circus/build/run.js:205:40)

Kibana Pipeline / x-pack-intake-agent / X-Pack Jest Tests.x-pack/plugins/security_solution/public/resolver/view.Resolver, when analyzing a tree that has two related events for the origin when it has loaded and when the related events button is clicked again should close the submenu

Link to Jenkins

Standard Out

Failed Tests Reporter:
  - Test has not failed recently on tracked branches


Stack Trace

TypeError: simulator.processNodeSubmenuItems is not a function
    at mapper (/dev/shm/workspace/kibana/x-pack/plugins/security_solution/public/resolver/view/clickthrough.test.tsx:184:41)
    at Simulator.map (/dev/shm/workspace/kibana/x-pack/plugins/security_solution/public/resolver/test_utilities/simulator/index.tsx:124:13)
    at map.next (<anonymous>)
    at Object.toYieldEqualTo (/dev/shm/workspace/kibana/x-pack/plugins/security_solution/public/resolver/test_utilities/extend_jest.ts:49:5)
    at __EXTERNAL_MATCHER_TRAP__ (/dev/shm/workspace/kibana/node_modules/expect/build/index.js:342:30)
    at Object.toYieldEqualTo (/dev/shm/workspace/kibana/node_modules/expect/build/index.js:343:15)
    at Object.it (/dev/shm/workspace/kibana/x-pack/plugins/security_solution/public/resolver/view/clickthrough.test.tsx:185:11)
    at Promise (/dev/shm/workspace/kibana/node_modules/jest-circus/build/utils.js:198:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (/dev/shm/workspace/kibana/node_modules/jest-circus/build/utils.js:162:10)
    at _callCircusTest (/dev/shm/workspace/kibana/node_modules/jest-circus/build/run.js:205:40)

Build metrics

✅ unchanged

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@bkimmel bkimmel closed this Aug 13, 2020
@bkimmel bkimmel deleted the backport/7.x/pr-74811 branch August 13, 2020 21:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants