Test approval flows with Proposal Amendment.
https://openactive.io/open-booking-api/EditorsDraft/#proposal-amendment
Coverage Status: complete
See also:
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
.
TestOpportunityBookableWithNegotiation x3, TestOpportunityBookable x1
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):
SellerAcceptOrderProposalSimulateAction, SellerAmendOrderProposalSimulateAction
npm start -- --runInBand test/features/approval/proposal-amendment/
Update default.json
within packages/openactive-integration-tests/config/
as follows to enable 'Implemented' testing for this feature:
"implementedFeatures": {
...
"proposal-amendment": true,
...
}
Identifier | Name | Description | Prerequisites per Opportunity Type | Required Test Interface Actions |
---|---|---|---|---|
proposal-amendment-book | Successful booking using the Booking Flow with Approval, creating an amendment | A successful end to end booking, via Booking Flow with Approval, of an opportunity, creating an amendment. | TestOpportunityBookableWithNegotiation x3, TestOpportunityBookable x1 | SellerAcceptOrderProposalSimulateAction, SellerAmendOrderProposalSimulateAction |