-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Testing recurring option #869
Comments
@eynimeni I made some manual tests for now:
2.2 and they being shown this way (names being duplicated) 2.3 when I edit parent option it looks like
3.2 got this (extra dates appears + numbers on option disappears)
5.2 Dates of child does not changed
|
…cher and verify as student" to support update (#869)
…cher and verify as student" to support update (#869)
@semteacher thank you for your feedback! 4 & 5 I don't completely understand. the update of the children dates will only work if none of the children or the parent has changed dates before.
this would be expected behaviour. |
@eynimeni Thank you for above explanation. Have added 2nd test to cover that case. Looks OK. |
I got some (little bit) unexpected finding (known but forgotten:
Definitely I can easily fix those behat tests:
But my concern that this behavior could (and probably already) affects different part of our projects (there are already other problems with timezone processing and filters in wb_table) UPD: in fact, in THIS paticular case - I would expect, than even when creation of recurring new option passed fron pre-DST to DST time period - option time should remain the same?
|
There is a new feature in bookingoptions that allows to create recurring options (children) of an existing booking option.
When the "Repeat this option" checkbox is activated, new options will be created according to settings in "How many times to repeat" and "How often to repeat". If for example data is set to 3 day and the current bookingoption starts on 1.1., there will be 3 more options starting on 2., 3., 4.1.
Settings of the options should be identical
When a "mother" bookingoption is changed, and we click on save, there should be a validation (so not saved immediately) with the question if the changes should be applied to all of the children.
check if changes are applied (applies to most fields but not all)
changes in dates are not applied, if dates in children were changed or there are multiple generations of children (delta between mother and all children needs to be consistent)
parents, children and siblings (with same parentid) are displayed correctly in the recurring options section
Note that recurring option is only available on update of bookingoption, not on initial creation and data is not saved in the database. for the behat test, we need to simulate the submission of the form of the bookingoption update
The text was updated successfully, but these errors were encountered: