Skip to content

Follow-up: Fix spec violations in add_edit_schedule_modal_spec.js

What does this MR do and why?

Following up on:

  1. Replace createLocalVue with Vue.use(VueApollo);
  2. Cover different UI states with new checks: buttons, alert dismissal, copy changing for create/edit mode

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After
Screenshot_2023-06-05_at_16.29.19 Screenshot_2023-06-06_at_12.42.03

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

  1. Checkout the branch locally and run yarn jest ee/spec/frontend/oncall_schedule/add_edit_schedule_modal_spec.js

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #413340 (closed)

Edited by Paulina Sedlak-Jakubowska

Merge request reports