-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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 Jest Tests: Cannot read properties of null (reading 'createEvent') #139062
Comments
Pinging @elastic/response-ops (Team:ResponseOps) |
FYI, I feel like this is impacting many people now so I'm opening this up a bit. If my PR is accepted we might be able to unskip these tests without further changed. We'll still want to make sure they're not flaky before re-enabling them, but maybe our |
@spalger can you link to your PR? |
@jonathan-buttner @spalger I tried to improve the test ( |
@mikecote I removed 8.5.0 label. Could you please label this with its intended release? thanks very much! |
Closing this in favor of #163668 |
We've seen a number of failures in CI which seem to be caused by the
x-pack/plugins/triggers_actions_ui/public/application/components/builtin_action_types/jira/jira_params.test.tsx
suite.Logs: https://storage.googleapis.com/ci-artifacts.kibana.dev/logs/0182ac03-39b9-47cd-8ff0-1ca609706fb3.html
it's unclear what event is triggering this, but it seems logical to me that an event is being triggered after
jsdom
is torn down afterx-pack/plugins/triggers_actions_ui/public/application/components/builtin_action_types/jira/jira_params.test.tsx
is "complete". Unfortunately, since this failure happens outside of a test we don't have good reporting on how long this has been happening or where exactly this occurs. What I do know is that it's failed on main twice today so it must be pretty commonly failing in PRs too.Because of the lack of clarity in what test is causing the issue I've skipped the tests in the following files:
x-pack/plugins/triggers_actions_ui/public/application/components/builtin_action_types/jira/jira_params.test.tsx
x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_event_log_list.test.tsx
Skipped:
The text was updated successfully, but these errors were encountered: