diff --git a/src/content/docs/advanced/test-artifacts/index.md b/src/content/docs/advanced/test-artifacts/index.md index d59b95e5..ed064ce9 100644 --- a/src/content/docs/advanced/test-artifacts/index.md +++ b/src/content/docs/advanced/test-artifacts/index.md @@ -44,6 +44,18 @@ You can delete attachments from Suite, Folder and Readme section in the same way ::: +## Restore Attachments + +Before the attachment is permanently deleted from the store, you can restore it. + +Go to [How to Restore Deleted Attachment](https://docs.testomat.io/project/tests/test-case-creation-and-editing/#how-to-restore-deleted-attachment) section to read more about this feature. + +:::note + +All deleted Attachments are stored for 30 days before being permanently deleted. + +::: + ## Add Test Arfifacts During Manual Testing Attaching a short video or screenshots is highly useful for manual testing, especially for failing tests. These artifacts provide comprehensive information, making it easier for the QA tester to understand what went wrong. diff --git a/src/content/docs/project/tests/images/Restore_attachment_1.png b/src/content/docs/project/tests/images/Restore_attachment_1.png new file mode 100644 index 00000000..0da3f81f Binary files /dev/null and b/src/content/docs/project/tests/images/Restore_attachment_1.png differ diff --git a/src/content/docs/project/tests/images/Restore_attachment_2.png b/src/content/docs/project/tests/images/Restore_attachment_2.png new file mode 100644 index 00000000..9f4c514d Binary files /dev/null and b/src/content/docs/project/tests/images/Restore_attachment_2.png differ diff --git a/src/content/docs/project/tests/test-case-creation-and-editing.md b/src/content/docs/project/tests/test-case-creation-and-editing.md index 20d60dc1..33a30d3a 100644 --- a/src/content/docs/project/tests/test-case-creation-and-editing.md +++ b/src/content/docs/project/tests/test-case-creation-and-editing.md @@ -192,7 +192,28 @@ OR 5. Confirm action and Save changes. -## How to add a label/tag to a test +:::note + +All deleted Attachments are stored for 30 days before being permanently deleted. + +::: + +## How to Restore Deleted Attachment + +Before the attachment is permanently deleted from the store, you can restore it. To do that: + +1. Open test case (or suite case) with deleted attachments you want to restore. +2. Open **'Attachments'** tab. +3. Click **'Restore'** button. + +![Testomat.io - Restore Deleted Attachment](./images/Restore_attachment_1.png) + +4. Click on a single attachment to restore it. +5. Click **'Restore All'** button to restore all attachments with one click. + +![Testomat.io - Restore Deleted Attachment](./images/Restore_attachment_2.png) + +## How to Add a Label/Tag to a Test This option is the easiest one! You simply need to add the label's name (preceeded by @ char) in the name field of the test. The drop-down list of tags already used in projects appears, when you type the @ symbol. @@ -202,7 +223,7 @@ And now you can see your label/tag in the test list next to the test's title. ![See the test with tag](./images/2023-08-03_01.01.17@2x.png) -## How to assign a test to a user +## How to Assign a Test to a User If you want to assign a certain test to a certain user, you should click on this user icon in the upper right corner of the window, as shown in the picture.