From a27f3fadf09ccc28780efc9cdfc0e6382f0a242b Mon Sep 17 00:00:00 2001 From: maguire-arman Date: Wed, 20 Aug 2025 14:08:44 -0400 Subject: [PATCH] Reorganizes pipeline test stages Consolidates test stages for pull requests by moving the unit tests stage to run after the playwright tests to optimize the pipeline execution flow. This allows for faster feedback on UI related issues. --- azure-pipelines.yml | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 69d7e11f3..c94a22456 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -51,16 +51,7 @@ stages: displayName: Run Prettier check - stage: TestPr - displayName: Run Unit Tests For PullRequest - jobs: - - template: templates/digital/vue-jest-run-unit-tests.yml@AzureDevOps - parameters: - nodeContainer: node - npmLocation: $(Build.SourcesDirectory) - testResultsFile: junit.xml - summaryFileLocation: $(Build.SourcesDirectory)/coverage/cobertura-coverage.xml - - stage: TestPrPlaywright - displayName: Run Playwright Tests For PullRequest + displayName: Run Tests For PullRequest jobs: - template: temp/playwright-test.yml parameters: @@ -76,6 +67,12 @@ stages: secrets: CCIS_API_AUTH: $(CCIS_API_AUTH) JIRA_API_KEY: $(JIRA_API_KEY) + - template: templates/digital/vue-jest-run-unit-tests.yml@AzureDevOps + parameters: + nodeContainer: node + npmLocation: $(Build.SourcesDirectory) + testResultsFile: junit.xml + summaryFileLocation: $(Build.SourcesDirectory)/coverage/cobertura-coverage.xml - ${{ else }}: # Dev Build/Deploy - stage: Dev