Using parameterized variables and testing non regression
This commit is contained in:
parent
67c8f995d0
commit
a3c8f8eab3
1 changed files with 4 additions and 4 deletions
|
|
@ -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: '.'
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue