Update vulnerability report when bulk-dismissing
requested to merge 372099-dismissing-vulnerabilities-with-checkboxes-via-pipeline-page-don-t-update-until-the-page-is into master
What does this MR do and why?
Currently, the vulnerability list does not get updated when a user bulk-dismisses. This MR adds a re-fetch of the list to fix this.
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
How to set up and validate locally
Bug report: #372099 (closed)
Verify the page-loading behavior
When Hide-dismissed enabled
- Dismiss a single vulnerability on a page with many vulnerabilities
-
verify that the page has refreshed and the dismissed vulnerability is not showing -
verify that the currently applied filters persist
- Dismiss all vulnerabilities on a page
-
Verify that it loads the previous page if there are any -
Verify that it does not load the previous page if there is only one
Hide-dismissed disabled
-
Dismiss a single vulnerability on a page with many vulnerabilities -> verify that the page has refreshed and the dismissed vulnerability is showing as dismissed -> verify that the filters are all applied
-
Dismiss all vulnerabilities on a page
-
Verify that it stays on the current page in any case
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #372099 (closed)
Edited by David Pisek