You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: export_spec.rb
    path of file: ./repos/openproject/spec/features/projects
    
    the code of the file until where you have to start completion: #-- copyright
# OpenProject is an op
    
  def export!(expect_success: true)
    index_page.click_more_menu_item 'Export'
    click_on export_type

    # Expect to get a response regarding queuing
    expect(page).to have_content I18n.t('js.job_status.generic_messages.in_queue'),
                                 wait: 10

    begin
      perform_enqueued_jobs
    rescue StandardError
      # nothing
    end