Barbaracwx / pe

0 stars 0 forks source link

Incorrect way of handling input #7

Open Barbaracwx opened 10 months ago

Barbaracwx commented 10 months ago

When submitting the response to the prompt, "How many flashcards to review by then?", an unexpected error message appears stating, "End time is before the current time. Please enter the correct end time." This error message seems unrelated to the initial prompt and should ideally be displayed before the prompt to input the number of flashcards to review.

image.png

nus-pe-bot commented 9 months ago

Team's Response

image.png

Unable to reproduce error on my side, may I get more information on the error?

Items for the Tester to Verify

:question: Issue response

Team chose [response.CannotReproduce]

Reason for disagreement: Upon further investigation, the error message regarding the end time being before the current time is indeed connected to a specific scenario: when the end time input precedes the current time or the start time.

The team's screenshot might not have accounted for this specific scenario where the end time precedes the current time, triggering the error message. In such a case, the error message should be displayed before the prompt to input the number of flashcards to review.

To replicate this issue, the end time input needs to be set in a manner that violates the temporal order, such as an end time earlier than the current time. In this scenario, the error message indicating that the end time is before the current time is erroneously triggered after the user provides input for the number of flashcards to review by then.

The error message's unexpected appearance after the initial prompt is a concern as it disrupts the natural flow of interaction.