New tests for the project dropdown actions
requested to merge espadav8/gitlab:454541-add-tests-for-correctly-parse-the-canedit-permission-for-project-dropdown-items into master
What does this MR do and why?
Adds new tests for the project dropdown actions
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.
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
- Run the tests with the current
master
- Tests should pass
- Edit
app/assets/javascripts/pages/projects/home_panel/index.js
and remove theparseBoolean
for thecanEdit
key (currently line 82) - Run tests again
- Tests should fail
Related to !148659 (merged)
Closes #454541 (closed)
Edited by Sascha Eggenberger