From 108b36bd8f1d25fd9746de23b5e6b56c7735470e Mon Sep 17 00:00:00 2001 From: Clare So <1740517+clarmso@users.noreply.github.com> Date: Thu, 13 Feb 2025 00:36:37 -0500 Subject: [PATCH] =?UTF-8?q?=F0=9F=88=B3=20Empty=20commit=20=F0=9F=88=B3=20?= =?UTF-8?q?(#70)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/testrail-backup.yml | 3 +-- backup-tools/README.md | 39 ++++++++++++++++++++------- 2 files changed, 31 insertions(+), 11 deletions(-) diff --git a/.github/workflows/testrail-backup.yml b/.github/workflows/testrail-backup.yml index c2eeab8..539feb9 100644 --- a/.github/workflows/testrail-backup.yml +++ b/.github/workflows/testrail-backup.yml @@ -8,11 +8,10 @@ on: env: BUCKET: backups-testrail-test-suites DEFAULT_DIR: ./backup-tools - PROJECT_IDS: 59 14 27 13 48 + PROJECT_IDS: 59 14 27 48 # Fenix Browser: 59 # Firefox for iOS: 14 # Focus for iOS: 27 - # Firefox for Android: 13 # Focus for Android: 48 STORAGE_URL_PREFIX: https://storage.googleapis.com diff --git a/backup-tools/README.md b/backup-tools/README.md index 5e0b5c4..34874d3 100644 --- a/backup-tools/README.md +++ b/backup-tools/README.md @@ -3,6 +3,13 @@ This directory holds the source code for backing up selected test suites to the designated Google Cloud bucket on a regular basis. +The following projects are included in the backup: + +* Fenix Browser +* Firefox for iOS +* Focus for Android +* Focus for iOS + ## Recover from backup 1. Download the CSV tarfile from the Google Cloud bucket. A link to the `.tgz` file is available through the @@ -11,17 +18,31 @@ Google Cloud bucket on a regular basis. 1. Navigate to TestRail project's *TestSuites & Cases* tab and open to an empty test suite. 1. Select *Import Cases* icon ➡️ *Import From CSV*. 1. From the *Import from CSV* modal: - * Select the CSV file from step 1. - * Select *Load mapping from configuration file* and select the .cfg file from step 1. - * Select *UTF-8* as *File Encoding*. - * Select *Test Case (Steps)* as the *Template* + * File + * Select the CSV file from step 1. + * Format & Mapping + * Select *Load mapping from configuration file* and select the .cfg file from step 1. + * Advanced Options + * Select *UTF-8* as *File Encoding*. + * Select *Test Case (Steps)* as the *Template* * Click *Next* 1. From the 2nd *Import from CSV* modal: - * Select *Test cases use multiple rows* - * Select *Title* as the *Column to detect new test cases* - * Click *Next* until the *Preview Import* screen - * Configure the mapping for custom fields if necessary -1. Click *Import* and then *Close*. + * Row Layout + * Select *Test cases use multiple rows* + * Select *Title* as the *Column to detect new test cases* + * From "CSV Column ➡️ TestRail Field" + * Examine each mapping. Select an appropriate "TestRail Field" if such a mapping has not been selected + * Click *Next* +1. From the 3rd *Import from CSV* modal: + * Review the values of each field to be imported + * Click *Next* +1. From the 4th *Import from CSV* modal: + * Preview Import + * Review the first few cases + * If all looks good, click "Import" + * If some fields are missing or wrong, go back to the 2nd modal and review the mapping +1. From the last *Import from CSV* modal: + * Click *Close* if there are no errors ## Limitations