Sha256: 10c75d508085d613940c9782f3ffad4bd25e68b57980335ae8b2a0c90e212153

Contents?: true

Size: 987 Bytes

Versions: 2

Compression:

Stored size: 987 Bytes

Contents

# frozen_string_literal: true

require_relative '../../export_kick_off_performer'
require_relative '../bulk_data_export_cancel_test'

module BulkDataTestKit
  module BulkDataV101
    class BulkDataPatientExportCancelGroup < Inferno::TestGroup
      id :bulk_data_patient_export_cancel_group
      title 'Patient Export Cancel Tests'
      description %(
        Verify that the Bulk Data server supports cancelling requested exports of all Patients.
        This group initiates a new export and immediately cancels it to verify
        correct behavior.
      )

      input :bearer_token, 
            optional: true

      output :patient_cancelled_polling_url

      test from: :bulk_data_export_cancel,
           id: :bulk_data_patient_export_cancel,
           config: {
             outputs: { cancelled_polling_url: { name: :patient_cancelled_polling_url } },
             options: { resource_type: 'Patient', bulk_export_url: 'Patient/$export' }
           }
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
bulk_data_test_kit-0.10.1 lib/bulk_data_test_kit/v1.0.1/patient/bulk_data_patient_export_cancel_group.rb
bulk_data_test_kit-0.10.0 lib/bulk_data_test_kit/v1.0.1/patient/bulk_data_patient_export_cancel_group.rb