Create oncall schedule graphql fixture
requested to merge 367838-replace-manual-mock-data-with-graphql-fixtures-in-on-call-schedules into master
What does this MR do and why?
Describe in detail what your merge request does and why.
This is the first part of replacing mock rotations stored as a json with GraphQL fixtures. This MR replaces the mock json in ee/spec/frontend/oncall_schedule/rotations/components/rotation_assignee_spec.js
. It will be split as the others tests need to be rewritten or the data in the mock adjusted to fit the tests.
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
How to set up and validate locally
- Build new fixture by running
bin/rspec ee/spec/frontend/fixtures/oncall_schedule.rb
ingitlab-development-kit/gitlab
- Run updated jest tests to ensure they pass
yarn jest ee/spec/frontend/oncall_schedule/
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #367838