Skip to content

[Test] './spec/features/protected_branches_spec.rb[1:3:3:5]' # Protected Branches logged in as admin access control allows creating protected branches that No one can push to

Job #1326808502 failed for ac90d4cd:

  1) Protected Branches logged in as admin access control allows creating protected branches that No one can push to
     Got 1 failure and 1 other error:
     Shared Example Group: "protected branches > access control > CE" called from ./spec/features/protected_branches_spec.rb:206
     1.1) Failure/Error: expect(ProtectedBranch.last.push_access_levels.map(&:access_level)).to eq([access_type_id])
            expected: [0]
                 got: []
            (compared using ==)
          # ./spec/support/shared_examples/features/protected_branches_access_control_ce_shared_examples.rb:28:in `block (3 levels) in <top (required)>'
          # ./spec/spec_helper.rb:372:in `block (3 levels) in <top (required)>'
          # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'
          # ./spec/spec_helper.rb:363:in `block (2 levels) in <top (required)>'
          # ./spec/spec_helper.rb:359:in `block (3 levels) in <top (required)>'
          # ./lib/gitlab/application_context.rb:31:in `with_raw_context'
          # ./spec/spec_helper.rb:359:in `block (2 levels) in <top (required)>'
     1.2) Failure/Error: raise JSConsoleError, message
          JSConsoleError:
            Unexpected browser console output:
            security - Error with Permissions-Policy header: Unrecognized feature: 'interest-cohort'.
            security - Error with Permissions-Policy header: Unrecognized feature: 'interest-cohort'.
            security - Error with Permissions-Policy header: Unrecognized feature: 'interest-cohort'.
            security - Error with Permissions-Policy header: Unrecognized feature: 'interest-cohort'.
          # ./spec/support/capybara.rb:196:in `block (2 levels) in <top (required)>'
          # ./spec/spec_helper.rb:372:in `block (3 levels) in <top (required)>'
          # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'
          # ./spec/spec_helper.rb:363:in `block (2 levels) in <top (required)>'
          # ./spec/spec_helper.rb:359:in `block (3 levels) in <top (required)>'
          # ./lib/gitlab/application_context.rb:31:in `with_raw_context'
          # ./spec/spec_helper.rb:359:in `block (2 levels) in <top (required)>'
Finished in 13 minutes 11 seconds (files took 38.25 seconds to load)
183 examples, 1 failure
Failed examples:
rspec './spec/features/protected_branches_spec.rb[1:3:3:5]' # Protected Branches logged in as admin access control allows creating protected branches that No one can push to

protected_branches_logged_in_as_admin_access_control_allows_creating_protected_branches_that_no_one_.html

protected_branches_logged_in_as_admin_access_control_allows_creating_protected_branches_that_no_one_

Edited by Rémy Coutable