Closed nleake closed 6 years ago
GIVEN David is on the Project view page AND he sees a list of Tasks AND he is assigned to a Task THEN he sees a ‘Done’ button next to each Task he owns AND WHEN he clicks ‘Done’ THEN the status of the Task is updated to ‘Done’ THEN he is redirected back to the project view page AND he sees ’Done’ next to the Task
GIVEN David is on the Project view page AND he sees a list of Tasks AND he is assigned to a Task THEN he sees a ‘Delete’ button next to each Task that is owned by him or unowned AND WHEN he clicks ‘Delete’ THEN he becomes the owner of the Task THEN the status of the Task is updated to ‘Delete’ THEN he is redirected back to the project view page AND the Task is no longer listed
When David is working on a task They want to be able to mark it as completed So that they keep track of work status
Given that a task exists When David clicks done Then the task is marked complete