Wunderbyte-GmbH / moodle-local_shopping_cart

Other
4 stars 5 forks source link

Test Shopping Cart History / Ledger for Cancellations #74

Open eynimeni opened 3 months ago

eynimeni commented 3 months ago

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. )

semteacher commented 3 months ago
  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)?
eynimeni commented 2 weeks ago

Hi @semteacher , sorry for the late replay. It's ok if we add the functionality to existing tests. So if it hasn't been done yet, please proceed.