jacknystrom / ToDoApp-FlutterFlow

0 stars 0 forks source link

US3: Tasks Page #9

Open jacknystrom opened 2 days ago

jacknystrom commented 2 days ago

Scenario 1: User opens the tasks page Given:

The user has logged into the To-Do Planner app and has uncompleted tasks stored in the Firebase tasks collection. When:

The user navigates to the tasks page. Then:

The app retrieves all uncompleted tasks from the Firebase tasks collection for the user's account. And:

The uncompleted tasks are displayed in a list format on the tasks page, sorted by their creation or due date.

Scenario 2: User marks a task as completed Given:

The user is viewing the tasks page with a list of uncompleted tasks. When:

The user clicks or taps the checkbox next to a specific task to mark it as completed. Then:

The task's status is updated in the Firebase tasks collection to mark it as completed. And:

The task is removed from the list of uncompleted tasks on the tasks page. And:

The task is moved to a separate "Completed" page, where all completed tasks are stored. Scenario 3: Firebase update failure when marking a task as completed Given:

The user attempts to mark a task as completed by interacting with the tasks page. When:

The app tries to update the task's status in the Firebase tasks collection, but the update fails due to a network or server error. Then:

The task remains in the uncompleted tasks list on the tasks page. And:

An error message is displayed, notifying the user that the task could not be marked as completed. And:

The user is prompted to try again later.