joshuayapwj98 / pe

0 stars 0 forks source link

[deletes] Bookings were not updated when a service was removed from the application, TrackBeau #8

Open joshuayapwj98 opened 2 years ago

joshuayapwj98 commented 2 years ago

Steps to reproduce

  1. type in the deletes command
  2. remove a service that had a booking

    deletes 1

  3. navigate to the 'Bookings' tab

Expected The bookings associated with the service should be removed

Actual The bookings with the service tied to the customers remains in the system

Screenshot

Capture.PNG

nus-pe-script commented 2 years ago

Team's Response

Thank you for the report. For deletion of services, it will delete those bookings where its start DateTime is after the current DateTime, this is also mentioned in the UG.

image.png

However, in the tester's screenshot it is unclear whether the tester has deleted the service after the start DateTime of the first booking in the bookings list

image.png

We tested it on our side, before deleting the first service (Organic Radiance Facial,) there are 2 bookings related to it where one has already occurred and the other has yet to occur based on the screenshot time (17 Apr 2022 4:04 pm) vs start DateTime of 17 Apr 2022 6:00 pm.

image.png

image.png

By deleting the service of index 1 (Organic Radiance Facial), it deletes the related booking that has yet to occur.

image.png

image.png

image.png

Items for the Tester to Verify

:question: Issue response

Team chose [response.IssueUnclear]

Reason for disagreement: [replace this with your explanation]