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.
This commit is contained in:
maguire-arman 2025-08-20 14:08:44 -04:00
parent b24c32781c
commit a27f3fadf0

View file

@ -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