Failure in ee/browser_ui/10_govern/security_reports_spec.rb | Govern Security Reports displays false positives for the vulnerabilities
Test metadata (don't modify)
Field | Value |
---|---|
File | qa/qa/specs/features/ee/browser_ui/10_govern/security_reports_spec.rb |
Description | Govern Security Reports displays false positives for the vulnerabilities |
Hash | afffbd84f2c9710dcb2a34a2e614f2cd1c4da6f5e7090994125be9ecfb09601c |
Test case | https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/350412 |
Stack trace
Govern Security Reports displays false positives for the vulnerabilities
Got 6 failures from failure aggregation block "testing False positive vulnerability details".
# ./qa/specs/features/ee/browser_ui/10_govern/security_reports_spec.rb:202:in `block (4 levels) in <module:QA>'
# ./qa/scenario/actable.rb:16:in `perform'
# ./qa/specs/features/ee/browser_ui/10_govern/security_reports_spec.rb:201:in `block (3 levels) in <module:QA>'
# ./qa/specs/spec_helper.rb:122:in `block (2 levels) in <top (required)>'
# ./qa/specs/knapsack_runner.rb:17:in `run'
# ./qa/specs/runner.rb:57:in `perform'
# ./qa/scenario/template.rb:10:in `block in perform'
# ./qa/scenario/template.rb:8:in `perform'
# ./qa/scenario/template.rb:50:in `perform'
# ./qa/scenario/template.rb:10:in `block in perform'
# ./qa/scenario/template.rb:8:in `perform'
# ./qa/scenario/bootable.rb:52:in `launch!'
1.1) Failure/Error: expect(vulnerability_details).to have_component(component_name: :vulnerability_header)
expected `QA::EE::Page::Project::Secure::VulnerabilityDetails.has_component?({:component_name=>:vulnerability_header})` to be truthy, got false
# ./qa/specs/features/ee/browser_ui/10_govern/security_reports_spec.rb:203:in `block (5 levels) in <module:QA>'
1.2) Failure/Error: expect(vulnerability_details).to have_component(component_name: :vulnerability_details)
expected `QA::EE::Page::Project::Secure::VulnerabilityDetails.has_component?({:component_name=>:vulnerability_details})` to be truthy, got false
# ./qa/specs/features/ee/browser_ui/10_govern/security_reports_spec.rb:204:in `block (5 levels) in <module:QA>'
1.3) Failure/Error: expect(vulnerability_details).to have_vulnerability_title(title: sast_scan_fp_example_vuln)
expected `QA::EE::Page::Project::Secure::VulnerabilityDetails.has_vulnerability_title?({:title=>"Possible unprotected redirect"})` to be truthy, got false
# ./qa/specs/features/ee/browser_ui/10_govern/security_reports_spec.rb:205:in `block (5 levels) in <module:QA>'
1.4) Failure/Error: expect(vulnerability_details).to have_vulnerability_description(description: sast_scan_fp_example_vuln_desc)
expected `QA::EE::Page::Project::Secure::VulnerabilityDetails.has_vulnerability_description?({:description=>"Possible unprotected redirect near line 46"})` to be truthy, got false
# ./qa/specs/features/ee/browser_ui/10_govern/security_reports_spec.rb:206:in `block (5 levels) in <module:QA>'
1.5) Failure/Error: expect(vulnerability_details).to have_component(component_name: :vulnerability_footer)
expected `QA::EE::Page::Project::Secure::VulnerabilityDetails.has_component?({:component_name=>:vulnerability_footer})` to be truthy, got false
# ./qa/specs/features/ee/browser_ui/10_govern/security_reports_spec.rb:207:in `block (5 levels) in <module:QA>'
1.6) Failure/Error: expect(vulnerability_details).to have_component(component_name: :false_positive_alert)
expected `QA::EE::Page::Project::Secure::VulnerabilityDetails.has_component?({:component_name=>:false_positive_alert})` to be truthy, got false
# ./qa/specs/features/ee/browser_ui/10_govern/security_reports_spec.rb:208:in `block (5 levels) in <module:QA>'
Screenshot
Reports (4)
- 2023-07-26: https://gitlab.com/gitlab-org/gitlab/-/jobs/4747532218 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/946516124)
- 2023-07-27: https://gitlab.com/gitlab-org/gitlab/-/jobs/4749472775 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/946853124)
- 2023-07-27: https://gitlab.com/gitlab-org/gitlab/-/jobs/4751002543 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/947111561)
- 2023-07-27: https://gitlab.com/gitlab-org/gitlab/-/jobs/4755036177 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/947703515)
Edited by Zeff Morgan