> Arrow next to Evidence section of vulnerability details page/modal does not collapse/expand expected content
Summary
When viewing the Vulnerability Details page for a vulnerability that supports our new Generic Security Report schema's evidence section, the > (arrow) next to the word Evidence
should be clickable & cause the section to collapse & expand. Currently, you must click on the word Evidence
to expand or collapse that section.
Steps to reproduce
View a vulnerability that contains Evidence data. Attempt to click on the arrow next to the word Evidence to collapse the section of the UI below. Note that clicking on the arrow has no impact, clicking on the word Evidence will collapse the bottom-most section of the UI.
Example Project
Vulnerability details page: https://gitlab.com/gitlab-examples/security/security-reports/-/security/vulnerabilities/8138869
Pipeline security tab & MR widget modal: https://gitlab.com/gitlab-examples/security/security-reports/-/pipelines/285368334/?severity=MEDIUM&scanner=GitLab.DAST
What is the current bug behavior?
Clicking on the > arrow does not collapse the bottom section of the UI (under Evidence)
What is the expected correct behavior?
Clicking on the > arrow should collapse the bottom section of the UI (under Evidence)
Relevant logs and/or screenshots
Output of checks
Results of GitLab environment info
Expand for output related to GitLab environment info
(For installations with omnibus-gitlab package run and paste the output of: `sudo gitlab-rake gitlab:env:info`) (For installations from source run and paste the output of: `sudo -u git -H bundle exec rake gitlab:env:info RAILS_ENV=production`)
Results of GitLab application Check
Expand for output related to the GitLab application check
(For installations with omnibus-gitlab package run and paste the output of:
sudo gitlab-rake gitlab:check SANITIZE=true
)(For installations from source run and paste the output of:
sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production SANITIZE=true
)(we will only investigate if the tests are passing)