JunL23 / TodoApp-FlutterFlow

0 stars 0 forks source link

US5: Page Navigation #18

Closed JunL23 closed 4 hours ago

JunL23 commented 4 hours ago

AS A user, I WANT TO switch between the complete and incomplete task pages, TO manage my tasks effectively SO THAT I can easily focus on what needs to be done or review completed tasks.

SCENARIO: Successful Page Switch to Completed Tasks GIVEN I am on the incomplete tasks page of the ToDo List app, WHEN I click the "Completed Tasks" tab, THEN I should be redirected to the complete tasks page WITHIN 1 second, AND all completed tasks should be displayed correctly WITHIN 2 seconds.

SCENARIO: Successful Page Switch to Incomplete Tasks GIVEN I am on the complete tasks page of the ToDo List app, WHEN I click the "Incomplete Tasks" tab, THEN I should be redirected to the incomplete tasks page WITHIN 1 second, AND all incomplete tasks should be displayed correctly WITHIN 2 seconds.

SCENARIO: Network Error During Page Switch GIVEN I am on the incomplete tasks page of the ToDo List app, WHEN I click the "Completed Tasks" tab, AND there is a network error preventing the switch, THEN the system should display an error message stating "Unable to load completed tasks. Please check your connection." WITHIN 2 seconds, AND I should remain on the incomplete tasks page.