Using parameterized variables and testing non regression

This commit is contained in:
maguire-arman 2025-07-10 09:28:28 -04:00
parent 67c8f995d0
commit a3c8f8eab3

View file

@ -16,9 +16,9 @@ variables:
- name: imageTag - name: imageTag
value: '$(Build.BuildId)' value: '$(Build.BuildId)'
- name: totalShards - name: totalShards
value: 4 value: '2'
- name: IS_REGRESSION - name: IS_REGRESSION
value: 'true' value: 'false'
- name: JIRA_BOARD_ID - name: JIRA_BOARD_ID
value: '845' value: '845'
- name: JIRA_EPIC_KEY - name: JIRA_EPIC_KEY
@ -32,10 +32,10 @@ stages:
jobs: jobs:
- template: temp/playwright-test.yml - template: temp/playwright-test.yml
parameters: parameters:
totalShards: 4 totalShards: ${{ variables.totalShards }}
targetUrl: $(BASE_URL) targetUrl: $(BASE_URL)
dockerFileName: 'Dockerfile.playwright' dockerFileName: 'Dockerfile.playwright'
isRegression: true isRegression: ${{ variables.IS_REGRESSION }}
filterTags: '' filterTags: ''
playwrightTestsPath: 'playwright-tests' playwrightTestsPath: 'playwright-tests'
npmServePath: '.' npmServePath: '.'