DigitalConsumer.FixMyGlass/azure-pipelines-automated-testing.yml
maguire-arman 5b23242647 Reduces the number of test shards.
Reduces the total number of shards used for parallel test execution from 4 to 2.

This change aims to optimize resource utilization and potentially improve test execution speed, considering factors such as the number of available agents and the characteristics of the test suite.
2025-07-09 16:00:22 -04:00

45 lines
No EOL
1.1 KiB
YAML

trigger: none
schedules:
- cron: 0 9 * * MON-FRI
always: true
displayName: Daily Test Automation Run for FMG-NextGen
branches:
include:
- develop
pool: 'Default'
# TODO: CHange vue distro to test
variables:
# - group: Digital-Infrastructure
# - group: FMG-BuildBranches
- name: dockerImageName
value: 'playwright-tests'
- name: imageTag
value: '$(Build.BuildId)'
- name: totalShards
value: 2
- name: IS_REGRESSION
value: 'true'
- name: JIRA_BOARD_ID
value: '845'
- name: JIRA_EPIC_KEY
value: 'CASH-208'
- name: JIRA_PROJECT_KEY
value: 'CASH'
stages:
- stage: TestPr
displayName: Run Playwright Test
jobs:
- template: temp/playwright-test.yml
parameters:
totalShards: 2
targetUrl: $(BASE_URL)
dockerFileName: 'Dockerfile.playwright'
isRegression: false
filterTags: ''
playwrightTestsPath: 'playwright-tests'
npmServePath: '.'
npmrcPath: 'playwright-tests/.npmrc'
secrets:
CCIS_API_AUTH: $(CCIS_API_AUTH)
JIRA_API_KEY: $(JIRA_API_KEY)