Failure in browser_ui/13_secure/enable_scanning_from_configuration_spec.rb | Secure Enable Scanning from UI enable sast from configuration runs sast job when enabled from configuration
Full description
Secure Enable Scanning from UI enable sast from configuration runs sast job when enabled from configuration
File path
./qa/specs/features/ee/browser_ui/13_secure/enable_scanning_from_configuration_spec.rb
Stack trace
Failures:
1) Secure Enable Scanning from UI enable sast from configuration runs sast job when enabled from configuration
Got 4 failures:
1.1) Failure/Error: expect(config_form).to have_sast_status('Enabled')
expected QA::Page::Project::Secure::ConfigurationForm to have sast status "Enabled"
# ./qa/specs/features/ee/browser_ui/13_secure/enable_scanning_from_configuration_spec.rb:158:in `block (5 levels) in <module:QA>'
# ./qa/scenario/actable.rb:16:in `perform'
# ./qa/specs/features/ee/browser_ui/13_secure/enable_scanning_from_configuration_spec.rb:157:in `block (4 levels) in <module:QA>'
# /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:123:in `block in run'
# /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:110:in `loop'
# /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:110:in `run'
# /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
# ./spec/spec_helper.rb:132:in `block (2 levels) in <top (required)>'
# /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:123:in `block in run'
# /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:110:in `loop'
# /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:110:in `run'
# /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
# /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:37:in `block (2 levels) in setup'
1.2) Failure/Error: expect(config_form).to have_no_sast_status('Not enabled')
expected `QA::Page::Project::Secure::ConfigurationForm.has_no_sast_status?("Not enabled")` to be truthy, got false
1.3) Failure/Error: expect(config_form).to have_security_configuration_history_link
expected QA::Page::Project::Secure::ConfigurationForm to have security configuration history link
# ./qa/specs/features/ee/browser_ui/13_secure/enable_scanning_from_configuration_spec.rb:160:in `block (5 levels) in <module:QA>'
# ./qa/scenario/actable.rb:16:in `perform'
# ./qa/specs/features/ee/browser_ui/13_secure/enable_scanning_from_configuration_spec.rb:157:in `block (4 levels) in <module:QA>'
# /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:123:in `block in run'
# /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:110:in `loop'
# /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:110:in `run'
# /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
# ./spec/spec_helper.rb:132:in `block (2 levels) in <top (required)>'
# /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:123:in `block in run'
# /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:110:in `loop'
# /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:110:in `run'
# /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
# /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:37:in `block (2 levels) in setup'
1.4) Failure/Error: expect(config_form).to have_no_auto_devops_container
expected `QA::Page::Project::Secure::ConfigurationForm.has_no_auto_devops_container?` to be truthy, got false
Screenshot
First happened in https://ops.gitlab.net/gitlab-org/quality/staging/-/jobs/6946440.
Related test case: https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/347685.
Edited by Chloe Liu