Editing the Utopia Pipeline Postman Tests
Postman
ExportIn 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.ExportIn Postman, export the environment variable (if any changes weremade)made, if not, no need to re-upload it) to later upload it to the Azure Pipeline Library.
Azure DevOps
*Once thePRnew branch comes through and is approved,goyou'll want to then replace the environment file if needed following the steps below. If not, skip to step #3.- (Currently Royce and Quinn have this permission. If this changes, please update this document) 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.
*Onceyou need to rerun the newtests branchthat comesfailed through,due to an error, You will want to edit the Release instead and then redeploy it.