Final answer:
To delete shared steps in Azure DevOps, go to the Test Plans section, find the test case with the shared steps, unlink the steps from your test case, search for the shared steps by ID in Work Items, and finally, delete them. Always ensure that the shared steps are not being used by other cases before deleting.
Step-by-step explanation:
To delete shared steps in Azure DevOps, you will need to follow certain steps. Shared steps are a part of the test case work items and are used to share common test steps among multiple test cases. However, it's important to note that these steps should be done carefully to avoid disrupting any existing test cases that might be using the shared steps. Here is a step-by-step explanation of how you can delete shared steps:
- Navigate to your Azure DevOps project, and go to the Test Plans section.
- Locate the test case that contains the shared steps you want to delete.
- Open the test case, and in the test steps section, find the shared steps reference.
- Click on the shared steps to open them, and if applicable, remove the link in your test case.
- Once they're no longer linked, you can go back to the Work Items tab, search for the shared steps by ID, and open them.
- With the shared steps work item open, you can delete it by using the delete option available in the user interface or by setting the work item state to 'Removed' if the delete option is not directly available.
Remember to check if the shared steps are not in use by other test cases before deleting, as this action could potentially disrupt other test scenarios.