Allow users to reset all selections
What does this MR do and why?
Allow users to reset all selections
- create reset all button
- sort days of the month in order
- update tests
Changelog: added
EE: true
References
Screenshots or screen recordings
| Dropdown | Before | After |
|---|---|---|
| Weekly |
|
|
| Monthly |
|
|
How to set up and validate locally
- Upload a GitLab Ultimate license
- Enable the feature flag via terminal or http://gdk.test:3443/rails/features
echo "Feature.enable(:scheduled_pipeline_execution_policies)" | rails c
- Navigate to the security policy project (SPP) and add experimental features to the configuration with the
enabled: trueflag
experiments:
pipeline_execution_schedule_policy:
enabled: true
- Navigate to a project => Secure => Policies => Edit policy project => Link SPP
- Navigate to a project => Secure => Policies => New policy => Pipeline execution policy => "schedule a new"
- Switch the cadence to "Weekly"
- Verify the days dropdown has a reset all button
- Switch the cadence to "Monthly"
- Verify the days dropdown has a reset all button
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Related to #536087 (closed)
Edited by Alexander Turinske



