hongyijie06 / pe

0 stars 0 forks source link

no error message thrown when adding some invalid date #2

Open hongyijie06 opened 4 months ago

hongyijie06 commented 4 months ago

no error message thrown when input date is 30-02-2023, which does not exist, into add-inflow command. user may type too fast and type 30-02-2023 instead of 03-02-2023. However the transaction that is added is 28-02-2023 (see under second view-history command in picture), which may be the wrong date the user intends to input and would not know they have input a wrong date, would be good to flag to user so they will not accidentally add a wrong date. expected error message: invalid date actual output: inflow is added successfully (see first command in picture)

image.png

soc-pe-bot commented 4 months ago

Team's Response

After the first command, the app showed "Please enter a valid date or time", which means the inflow was not added. Are you sure that the transaction was added from the command shown in the screenshot?

Items for the Tester to Verify

:question: Issue response

Team chose [response.IssueUnclear]

Reason for disagreement: The command that added the wrong date was a previous command and was referenced wrongly in the screenshot provided. The date from the previous command that added the inflow is 30/02/2023.

Below is the output of command that adds date 30/02/2023:

image.png