Update order of click modifiers
What does this MR do and why?
Update order of click modifiers
- the "native" modifier cannot go before the "capture" modifier in vue/compat
- otherwise the jest tests will not register a click
Changelog: changed
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
| Before | After |
|---|---|
![]() |
No change |
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
Tests
- Run
yarn jest spec/frontend/groups/settings/components/access_dropdown_spec.jsand verify all the tests pass - Run
VUE_VERSION=3 yarn jest spec/frontend/groups/settings/components/access_dropdown_spec.jsand verify all the tests pass - Same for other tests
UI
- Note: this is an EE feature, you'll need a license to verify it locally
- Validate the project-level view works as expected:
- Visit Project -> Settings -> CI/CD
- Select Protected environments section
- Verify the settings: you should be able to select an environment, the list of deployers and approvers (could be roles, related groups, or users), save / edit / unprotect an environment.
- Validate the group-level view works as expected:
- Visit Group -> Settings -> CI/CD
- Select Protected environments section
- Verify the settings: you should be able to select an environment tier, the list of deployer groups, and save / edit / unprotect an environment.
- Same for other dropdowns
Related to #480074 (closed)
Edited by Alexander Turinske
