playfinder / openactive

A place to submit issues with the Bookteq Openactive feeds
0 stars 0 forks source link

Missing Criteria: TestOpportunityBookableOutsideValidFromBeforeStartDate #16

Open lukehesluke opened 1 day ago

lukehesluke commented 1 day ago

This makes it impossible to pass this test:

Specifically, this test needs an opportunity which has a validFromBeforeStartDate and is currently outside of the booking window implied by that duration. The other booking-window test (which was successful ✅ ) gives an example of what an opportunity that does have a booking window looks like: booking-window_opportunity-in-range-c1-c2_OpenBookingSimpleFlow_IndividualFacilityUseSlot.html.zip. The salient snippet is here:

Screenshot 2024-10-22 at 12 49 13

So, what Test Suite needs is a some opportunites which have a booking window like this but are outside of it.

User Experience impact: It's not possible to test that an end-user will get an appropriate experience if they try to book something outside of the booking window