BellowingButcher / total-time-tracker-backend

0 stars 0 forks source link

As a team leader I want to update a specific schedule’s information so that I can correct the amount of work done because a team member left early or didn’t work at all that day. #9

Open BellowingButcher opened 1 year ago

BellowingButcher commented 1 year ago

Points: 5

What I meant was: The user will use the upload schedule button to select the updated schedule from their local area. The user enters the dates that the schedule represents and clicks submit. The website will recognize that you already have a file that represents those dates. It will then inform the user that, 'this file already exists, would you like to replace the existing file?" The user can then click the replace or the no button.

Testing criteria: There should be some kind of call to action displaying the ability to use the upload button for updating an existing file. After the user selects the dates that the file represents, the program needs to check to see if there is already an existing file that represents those dates. If there is not a file that represents those dates then it should just upload the file. You will receive a "Successful upload" message. Which is bad for this test. If there is a file that already represents the dates chosen then the user should be prompted with the message of "This file already exists, would you like to replace the existing file?" There should be two buttons that go along with this prompt. A button that says 'replace' and a button that says 'no'. If no is pressed then the user should be prompted with "Action canceled" and the dashboard is displayed. If the user chooses 'replace' then the user will be prompted "Successful update" and the dashboard is displayed.

Definition of done: When a team leader is able to update an already existing schedule by using the upload button