> For the complete documentation index, see [llms.txt](https://help.santesuite.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.santesuite.org/installation/installation-1/deployment/installing-software/santedb-server/installation-qualification/security-administration-testing/test-cases-for-ui-1/device-management-tests/test-security-dm-05.md).

# TEST: SECURITY-DM-05

## References

* [Device Management](broken://pages/-LyJMhbVM6ouxYs1bDRc)

## Discussion

This is a basic test to demonstrate that the UI components appear and operate correctly when undeleting  a deleted device.

## **Pre-Conditions / Setup**

1. User must be logged into an account with policies granted for undeleting devices.
2. Navigate to **Administration Panel / Security / Devices / Devices**.

## Actions/Steps

1- Navigate to the Devices/Devices page and click the **Show Deleted** button.

![](/files/-MdKhcGoen37YlVHBvC4)

2- Click the **Un-Delete** button to undelete the device.

![](/files/-MdKjdFIyawDkEhVGugA)

3- Click  **Ok** to confirm the undelete.

![](/files/-MdKkg3SPjk_28vLHh9T)

## Expected Behaviour

1- Deleted device ( Create-Device-Test1 ) should appear among the deleted applications.

![](/files/-MdKiRkr-MEW9BwyH01H)

2- Should display a message asking to confirm the undelete.

![](/files/-MdKkM2cCUHcwz9NG3jc)

3-

* The undeleted device (Create-Device-Test1 ) should disappear from the deleted devices list page&#x20;
* The undeleted device (Create-Device-Test1) should reappear on the Devices/Devices page.

![](/files/-MdKlf7OTFUgA-q2iyha)
