nus-cs2103-AY1920S2 / pe-dev-response

0 stars 0 forks source link

Profit command in DG manual testing does not work as intended. Error message shown instead #1080

Open nus-pe-bot opened 4 years ago

nus-pe-bot commented 4 years ago

Following test case tested from DG

Test case: profit sd/2020-01-01 10:00 ed/2020-012-12 10:01 Expected: The calculated profit is shown in the status message.

However, received error message. Also made sure to have at least one product as mentioned and transactions (in case).

Steps to reproduce:

1) clear all lists (customer, transaction and product) aka start from scratch 2) addc n/John p/98765432 e/johnd@example.com a/311, Clementi Ave 2, #02-25 t/friends t/owesMoney 3) addp d/iphone cp/400 pr/1000 q/10 s/100 4) Customer and products each have only 1 data. 5) addt c/1 p/1 q/1 dt/2020-04-11 11:44 m/30 d/under discount 6) profit sd/2020-01-01 10:00 ed/2020-012-12 10:01 7) each transaction, customer and product list should have only one data item. u will see the error message

Screenshot 2020-04-17 at 2.33.32 PM.png


[original: nus-cs2103-AY1920S2/pe-interim#1047]

syt23 commented 4 years ago

Team's Response

No response provided.

Duplicate status (if any):

Duplicate of #1082