Skip to content

Broken master: jest spec failures after upgrading @gitlab/ui to v49

Summary

The following jest specs have started failing after upgrading @gitlab/ui to v49:

  • ee/spec/frontend/oncall_schedule/rotations/components/rotation_assignee_spec.js
  • ee/spec/frontend/oncall_schedule/common_utils_spec.js
  • ee/spec/frontend/analytics/cycle_analytics/components/duration_chart_spec.js

Steps to reproduce

# previous commit before https://gitlab.com/gitlab-org/gitlab/-/merge_requests/101292
git checkout 39d578978fca42e8085d1a545e22aefa8f6b4239
yarn jest ee/spec/frontend/oncall_schedule/rotations/components/rotation_assignee_spec.js # => spec succeeds

# commit of https://gitlab.com/gitlab-org/gitlab/-/merge_requests/101292
git checkout edf407faa8c678ab8fe1c97e37a9242ffcda1668
yarn jest ee/spec/frontend/oncall_schedule/rotations/components/rotation_assignee_spec.js # => spec fails

Proposed Resolution

Please refer to the Resolution guidance to learn more about resolution of broken master.

Edited by Nao Hashizume