Currently the test interface only includes TestOpportunityBookableCancellable, which randomly selects between free and non-free opportunities.
Many booking systems execute different business logic when cancelling a free vs a non-free booking.
In order to allow the test suite to consistently execute the business logic for both free and non-free cancellation scenarios, additional criteria TestOpportunityBookableFreeCancellable and TestOpportunityBookableNonFreeCancellable must be introduced.
Currently the test interface only includes
TestOpportunityBookableCancellable
, which randomly selects between free and non-free opportunities.Many booking systems execute different business logic when cancelling a free vs a non-free booking.
In order to allow the test suite to consistently execute the business logic for both free and non-free cancellation scenarios, additional criteria
TestOpportunityBookableFreeCancellable
andTestOpportunityBookableNonFreeCancellable
must be introduced.This enables the implementation of https://github.com/openactive/openactive-test-suite/issues/548 at a later date.