From a27f3fadf09ccc28780efc9cdfc0e6382f0a242b Mon Sep 17 00:00:00 2001 From: maguire-arman Date: Wed, 20 Aug 2025 14:08:44 -0400 Subject: [PATCH 1/3] 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 From 82995c3e80bd0e87f86591f618da23778c65c636 Mon Sep 17 00:00:00 2001 From: maguire-arman Date: Thu, 21 Aug 2025 14:30:13 -0400 Subject: [PATCH 2/3] rerun pipeline to avoid failures --- playwright-tests/tests/0000__M.test.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/playwright-tests/tests/0000__M.test.ts b/playwright-tests/tests/0000__M.test.ts index 204648276..c8788b04a 100644 --- a/playwright-tests/tests/0000__M.test.ts +++ b/playwright-tests/tests/0000__M.test.ts @@ -291,7 +291,6 @@ async function runWorkflow(page: Page, testCase: TestCase) { // let serviceLocationPage = testCase.pages.serviceLocationPage; // await serviceLocationPage.handleServiceLocationPage(testCase.testData); - // Schedule appointment let schedulePage = testCase.pages.schedulePage; await schedulePage.handleSchedulePage(testCase.testData); From 79bacc424d22d3d2e1fa6e16b5439724bcff949b Mon Sep 17 00:00:00 2001 From: maguire-arman Date: Thu, 21 Aug 2025 15:59:40 -0400 Subject: [PATCH 3/3] Rerun pipeline --- playwright-tests/README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/playwright-tests/README.md b/playwright-tests/README.md index b9124727e..d0ca74081 100644 --- a/playwright-tests/README.md +++ b/playwright-tests/README.md @@ -260,7 +260,6 @@ ADMIN_SERVICE_API_URL=
SAUCE_USERNAME=
SAUCE_ACCESS_KEY=
- ## CI/CD Integration The project uses Azure Pipelines for continuous integration with configurations defined in azure-pipelines.yml.