Wunderbyte-GmbH/moodle-local_shopping_cart

Test Shopping Cart History / Ledger for Cancellations

Opened this issue · 1 comments

Hello @semteacher

I've made two more video for you because we kindly ask you to write new behat tests in order to check if all values and behaviours of booking and cancellations are executed as intended.

Please create scenarios with different settings, as also mentioned in the video.
You can find the videos here:

https://we.tl/t-YSZyk8BUq7

(We know a bug for users booking & cancelling for themselves, please ignore this for the moment. )

  1. We already have number of tests for cashier feature. Those tests could be extended to verify statuses (final or intermediate) on the ledger (report) page. It will slightly violate Moodle's approach for behat (1 feature per test) but will significantly save execution time.
  2. Should ledger (report) statuses has to be tested for cashier feature only? Or I can try to add it to other test (where it is possible)?