Failure in browser_ui/3_create/repository/file_locking_spec.rb | Create File Locking locks a directory and tries to push as a second user

Summary

Failing job(s):

https://gitlab.com/gitlab-org/gitlab/-/jobs/9929507742

Failing spec(s):

Create File Locking locks a directory and tries to push as a second user

Corresponding test case(s):

https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/347768

Stack trace

      Failure/Error:
        Resource::Repository::ProjectPush.fabricate! do |push|
          push.project = project
          push.file_name = 'file'
          push.file_content = SecureRandom.hex(100)
          push.new_branch = false
        end
      
      QA::Resource::Events::EventNotFoundError:
        Timed out waiting for event
      # ./qa/resource/events/base.rb:44:in `wait_for_event'
      # ./qa/resource/events/project.rb:25:in `wait_for_push'
      # ./qa/resource/repository/project_push.rb:43:in `fabricate!'
      # ./qa/resource/base.rb:60:in `block (2 levels) in fabricate_via_browser_ui!'
      # ./qa/resource/base.rb:117:in `log_and_record_fabrication'
      # ./qa/resource/base.rb:60:in `block in fabricate_via_browser_ui!'
      # ./qa/resource/base.rb:107:in `do_fabricate!'
      # ./qa/resource/base.rb:59:in `fabricate_via_browser_ui!'
      # ./qa/resource/base.rb:51:in `rescue in fabricate!'
      # ./qa/resource/base.rb:43:in `fabricate!'
      # ./qa/specs/features/ee/browser_ui/3_create/repository/file_locking_spec.rb:19:in `block (3 levels) in <module:QA>'
      # /builds/gitlab-org/gitlab/spec/support/fast_quarantine.rb:22:in `block (2 levels) in <top (required)>'
      # ./qa/specs/runner.rb:124:in `run_rspec'
      # ./qa/specs/runner.rb:32:in `perform'
      # ./qa/scenario/template.rb:10:in `block in perform'
      # ./qa/scenario/template.rb:8:in `perform'
      # ./qa/scenario/template.rb:63: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!'
      # ------------------
      # --- Caused by: ---
      # NotImplementedError:
      #   NotImplementedError
      #   ./qa/resource/base.rb:71:in `fabricate_via_api!'

Screenshot / HTML page

data_attachments_efeeaf805e3fde10

Possible fixes