Commit 18bb9530 authored by Sanad Liaquat's avatar Sanad Liaquat

Merge branch 'create_merge_request_with_secure_spec' into 'master'

Unquarantine create_merge_request_with_secure_spec end to end test

See merge request gitlab-org/gitlab!37059
parents 9b491d6a bea3ab99
......@@ -194,11 +194,11 @@ module QA
end
def has_dependency_vulnerability_count_of?(expected)
find_element(:dependency_scan_report).has_content?(/Dependency scanning detected #{expected}( new)? vulnerabilit/)
find_element(:dependency_scan_report).has_content?(/Dependency scanning detected #{expected}( new)? vulnerabilit|Dependency scanning detected .* vulnerabilities out of #{expected}/)
end
def has_container_vulnerability_count_of?(expected)
find_element(:container_scan_report).has_content?(/Container scanning detected #{expected}( new)? vulnerabilit/)
find_element(:container_scan_report).has_content?(/Container scanning detected #{expected}( new)? vulnerabilit|Container scanning detected .* vulnerabilities out of #{expected}/)
end
def has_dast_vulnerability_count?
......
......@@ -3,7 +3,7 @@
require 'pathname'
module QA
RSpec.describe 'Secure', :docker, :runner, quarantine: { issue: 'https://gitlab.com/gitlab-org/gitlab/-/issues/219519', type: :investigating } do
RSpec.describe 'Secure', :docker, :runner do
describe 'Security Reports in a Merge Request' do
let(:sast_vuln_count) { 5 }
let(:dependency_scan_vuln_count) { 4 }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment