Configures the pipelines to utilize regression testing, increases the total shards for automated testing, and corrects the logic for retrieving the branch name to extract the JIRA card number.
46 lines
No EOL
1.2 KiB
YAML
46 lines
No EOL
1.2 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: '4'
|
|
- 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:
|
|
# TODO: Change to ADO Playwright template
|
|
- template: temp/playwright-test.yml
|
|
parameters:
|
|
totalShards: ${{ variables.totalShards }}
|
|
targetUrl: $(BASE_URL)
|
|
dockerFileName: 'Dockerfile.playwright'
|
|
isRegression: ${{ variables.IS_REGRESSION }}
|
|
filterTags: ''
|
|
playwrightTestsPath: 'playwright-tests'
|
|
npmServePath: '.'
|
|
npmrcPath: 'playwright-tests/.npmrc'
|
|
secrets:
|
|
CCIS_API_AUTH: $(CCIS_API_AUTH)
|
|
JIRA_API_KEY: $(JIRA_API_KEY) |