Failure in browser_ui/secure/security_reports_spec.rb | Secure Security Reports displays security reports in the pipeline
Full description
Secure Security Reports displays security reports in the pipeline
File path
./qa/specs/features/ee/browser_ui/secure/security_reports_spec.rb
Stack trace
Failure/Error: expect(pipeline).to have_vulnerability_info_content dependency_scan_example_vuln
expected #has_vulnerability_info_content?("Prototype pollution attack in mixin-deep") to return true, got false
First happened in https://gitlab.com/gitlab-org/gitlab-qa-mirror/-/jobs/954073359.
Possible Solutions
Per @jschafer: I suspect that the pipeline finishes, but there's a background job that's still populating from the reports. While it usually populates quickly with such small values, we need to make sure the background job is completed before checking for vulnerabilities.
Edited by Jonathan Schafer