Given user wants to remove a training program
When the user clicks on a training program
And then clicks on the delete button
Then the training program should be deleted unless the training program has already taken place
Testing Criteria
Your test suite must verify that when a DELETE operation is performed to the corresponding URL, then a successful response is received. Status code must be 200.
Your test suite must verify that if the training program is currently underway or has completed, that the operation is rejected by the server.
Acceptance Criteria
Given user wants to remove a training program When the user clicks on a training program And then clicks on the delete button Then the training program should be deleted unless the training program has already taken place
Testing Criteria