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/onboarding/components/onboarding_body/hooks - useExpandedCard Hook when the page is completely loaded should scroll to the expanded card id from the hash #202147

Open
kibanamachine opened this issue Nov 28, 2024 · 1 comment
Labels
failed-test A test failure on a tracked branch, potentially flaky-test Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc.

Comments

@kibanamachine
Copy link
Contributor

A test failed on a tracked branch

Error: expect(jest.fn()).toHaveBeenCalledWith(...expected)

Expected: "card-1"

Number of calls: 0

Ignored nodes: comments, script, style
<html>
  <head />
  <body />
</html>
    at toHaveBeenCalledWith (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1732791086470116226/elastic/kibana-on-merge/kibana/x-pack/plugins/security_solution/public/onboarding/components/onboarding_body/hooks/use_expanded_card.test.ts:86:38)
    at runWithExpensiveErrorDiagnosticsDisabled (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1732791086470116226/elastic/kibana-on-merge/kibana/node_modules/@testing-library/dom/dist/config.js:47:12)
    at checkCallback (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1732791086470116226/elastic/kibana-on-merge/kibana/node_modules/@testing-library/dom/dist/wait-for.js:124:77)
    at checkRealTimersCallback (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1732791086470116226/elastic/kibana-on-merge/kibana/node_modules/@testing-library/dom/dist/wait-for.js:118:16)
    at Timeout.task [as _onTimeout] (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1732791086470116226/elastic/kibana-on-merge/kibana/node_modules/jsdom/lib/jsdom/browser/Window.js:520:19)
    at listOnTimeout (node:internal/timers:573:17)
    at processTimers (node:internal/timers:514:7)

First failure: kibana-on-merge - main

@kibanamachine kibanamachine added the failed-test A test failure on a tracked branch, potentially flaky-test label Nov 28, 2024
@botelastic botelastic bot added the needs-team Issues missing a team label label Nov 28, 2024
@kibanamachine kibanamachine added the Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. label Nov 28, 2024
@elasticmachine
Copy link
Contributor

Pinging @elastic/security-solution (Team: SecuritySolution)

@botelastic botelastic bot removed the needs-team Issues missing a team label label Nov 28, 2024
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: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc.
Projects
None yet
Development

No branches or pull requests

2 participants