[Feature flag] Add actor for improved_hide_heuristics
requested to merge 474824-feature-flag-enable-setting-in-gitlab-ui-config-for-using-improved-hide-heuristics into master
What does this MR do and why?
Add current_user
actor for Role User.
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
Find screenrecordings in the issue
How to set up and validate locally
-
In rails console enable the experiment fully
Feature.enable(:improved_hide_heuristics)
-
Visit the projects overview page: http://gdk.test:3000/
-
Testing the GlCollapsibleListbox: Open the dropdown 'Name'
-
Use the keyboard tab key to focus another item, which will close the dropdown again
-
Testing the GlDisclosureDropdown: Click on the button for 'Merge requests' top in the sidebar
-
Use the keyboard tab key to focus another item, which will close the dropdown again
Related to #474824
Edited by Vanessa Otto