Docs · Guides

Restoring archived cases

Archiving a test case moves it out of the repository without deleting it. Trash is where every archived case in a project lives until someone restores it (unarchives it) back into its original suite.

Reaching the screen

Open a project’s repository, then open the (repository actions) menu in the header and select Trash. The URL is /projects/:projectId/repository/trash.

The paginated listing

Trash lists every archived case in the project — not just a recent slice — most-recently-archived case first. The pager below the table shows the range you’re viewing and the total count, for example 1–10 of 34. Both the page and the page size persist in the URL, so a shared link or a browser reload lands back on the same page.

If a page number or page size in the URL is invalid or out of range, Trash falls back to the first page at the default size instead of showing an error.

Selecting across pages

Each row has a checkbox, and the header checkbox selects or deselects every row on the current page. The header reflects only what’s visible on that page — it reads empty when nothing on the current page is checked, even if rows are still selected on another page.

The count shown in the action bar above the table is different: it always reports the whole selection, across every page you’ve touched during this visit. Use Clear selection to empty the whole selection in one action, regardless of which page you’re on.

Restoring cases

Click Unarchive on a single row, or check one or more rows and click Unarchive selected to restore several at once. Either way, a confirmation dialog asks you to confirm before anything changes. A restored case returns to its original suite, or to “Cases without suite” if that suite was deleted in the meantime.

Restoring a case that was already restored by someone else (or from another tab) is safe — it simply confirms the case is active, with no error.

If unarchiving the last row on a page succeeds, Trash automatically moves you to the previous page instead of leaving you on an empty one.

Selection limit

You can select up to 200 cases at once across every page. Above that limit, the action bar keeps counting your full selection, but Unarchive selected is disabled until you bring the selection back under the limit.