Skip to content

Latest commit

 

History

History
45 lines (27 loc) · 2.26 KB

File metadata and controls

45 lines (27 loc) · 2.26 KB

< Return to Overview

Seller Requested Replacement (seller-requested-replacement)

Replacement triggered by the Seller through the Booking System

https://www.openactive.io/open-booking-api/EditorsDraft/#cancellation-replacement-refund-calculation-and-notification

Coverage Status: complete

Test prerequisites - Opportunities

Opportunities that match the following criteria must exist in the booking system (for each configured bookableOpportunityTypesInScope) for the configured primary Seller in order to use useRandomOpportunities: true. Alternatively the following testOpportunityCriteria values must be supported by the test interface of the booking system for useRandomOpportunities: false.

TestOpportunityBookable x4

Test prerequisites - Test Interface Actions

The following Test Interface Actions must be implemented by the test interface of the booking system in order to test this feature (see the Developer Docs guide for implementing Test Interface Actions):

ReplacementSimulateAction

Running tests for only this feature

npm start -- --runInBand test/features/cancellation/seller-requested-replacement/

'Implemented' tests

Update default.json within packages/openactive-integration-tests/config/ as follows to enable 'Implemented' testing for this feature:

"implementedFeatures": {
  ...
  "seller-requested-replacement": true,
  ...
}
Identifier Name Description Prerequisites per Opportunity Type Required Test Interface Actions
book-and-seller-replace-items Book and seller replaces order items. A successful replacement of order items by seller. TestOpportunityBookable x4 ReplacementSimulateAction