To close a user story, a sprint, or a milestone it is important to verify that the tasks are complete.
The development team should decide together what their Definition of Done is and document this in the project. Below are some examples of checks to verify that the user story, sprint, task is completed.