kester-ng / pe

0 stars 0 forks source link

Plot sales does not work (even if there are transactions and all products are listed) #5

Open kester-ng opened 4 years ago

kester-ng commented 4 years ago

Test case: plotsales 1 sd/2020-03-20 10:00 ed/2020-03-30 10:00 Expected: The sales of the product is plotted in a graph in a new window that pops up.

Error message encountered: no products sold (even made sure there is at least one transaction for each product)

Steps to reproduce: Similar to the other bugs, each with one product, one customer and one transaction. I added one more product (can be any name) and have two more transactions (one for each product). Eg the first product will have two transactions and second have one (all to same customer) Type the above command. Listed all products as well.

See ss for details

Okay it is because of the date, but it was not explicitly specified in the DG which made it confusing

Screenshot 2020-04-17 at 2.41.10 PM.png Screenshot 2020-04-17 at 2.43.42 PM.png

nus-pe-bot commented 4 years ago

Team's Response

The error message has made itself clear that there is no sales during that period of time. I.e. No transaction at that period of time.

Items for the Tester to Verify

:question: Issue response

Team chose [response.Rejected]

Reason for disagreement: I felt that this was a documentation bug. The PE required us to test DG manual testing first which i did. And the pre-requisites never said anything about must have at least one transaction and yet the expected message was that there will be a graph being plotted. The manual testing could have been more specific regarding this and this really threw me off during the testing. See SS below, expected was graph plotted without stating any pre-requistes on whether there must have at least one transaction and i changed it last minute as i only knew of this when i better understood the product.

Screenshot 2020-04-21 at 7.53.30 PM.png