elidehher / TodoApp-FlutterFlow

0 stars 0 forks source link

US5 Deleting a Task #12

Open elidehher opened 1 month ago

elidehher commented 1 month ago

AS A user, I WANT TO delete a task, TO remove completed or irrelevant tasks SO THAT my to-do list stays organized and up to date.

SCENARIO: Successful Task Deletion GIVEN the user is on the “Task Details” screen, WHEN the user clicks the delete icon, AND confirms the deletion in the pop-up prompt, THEN the task should be permanently removed from the to-do list WITHIN 1 second.

SCENARIO: Canceling Task Deletion GIVEN the user is on the “Task Details” screen, WHEN the user clicks the delete icon, AND chooses “Cancel” in the pop-up prompt, THEN the task should not be deleted, AND the user should be returned to the task details screen.

SCENARIO: Network Error During Task Deletion GIVEN the user is on the “Task Details” screen, WHEN the user clicks the delete icon and confirms the deletion, THEN if a network error occurs, the system should display an error message stating “Network error. Please try again later.” WITHIN 2 seconds, AND allow the user to retry the task deletion process once the network is stable.