Editing the Utopia Pipeline Postman Tests
Postman
- Export the collection and replace the file located at C:\Projects\Utopia\Utopia\Postman\Tests\Regression Test and create a pull request and get the necessary approvals.
- Export the environment variable (if any changes were made) to later upload it to the Azure Pipeline Library.
Azure DevOps
- Once the PR is approved, go to Azure DevOps Utopia Library > Secure Files (https://dev.azure.com/eFileCabinet/Utopia/_library?itemType=SecureFiles)
- Find the Utopia Regression Tests - Staging.postman_environment.json secure file and delete it. Then upload the exported file with the same name.
- Edit the pipeline and edit the "Run Postman Tests" job.
- Reselect Utopia Regression Tests - Staging.postman_environment.json in the "Secure File" field and save.
*Once the new branch comes through, the pipeline will then run the postman tests automatically when Staging is released. Check for any errors and troubleshoot if there are any.