Support for capturing additional details with required set to true
Note the test suite does not yet support testing of optional additional details
https://www.openactive.io/open-booking-api/EditorsDraft/#additional-details-capture
Coverage Status: complete
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
.
TestOpportunityBookableAdditionalDetails x9, TestOpportunityBookable x3
npm start -- --runInBand test/features/details-capture/additional-details-capture/
Update default.json
within packages/openactive-integration-tests/config/
as follows to enable 'Implemented' testing for this feature:
"implementedFeatures": {
...
"additional-details-capture": true,
...
}
Identifier | Name | Description | Prerequisites per Opportunity Type | Required Test Interface Actions |
---|---|---|---|---|
additional-details-required-and-supplied | Booking opportunity with additional details supplied | Should pass | TestOpportunityBookableAdditionalDetails x3, TestOpportunityBookable x1 | |
additional-details-required-but-not-supplied | Booking opportunity with additional details required but not supplied | Should error | TestOpportunityBookableAdditionalDetails x3, TestOpportunityBookable x1 | |
additional-details-required-invalid-details-supplied | Booking opportunity with additional details supplied but invalid details supplied | Should error | TestOpportunityBookableAdditionalDetails x3, TestOpportunityBookable x1 |