Changes to test functionality
This commit is contained in:
parent
6dba628d5a
commit
c16a4d823a
2 changed files with 4 additions and 4 deletions
|
|
@ -40,7 +40,7 @@ variables:
|
|||
|
||||
stages:
|
||||
# PR's
|
||||
- ${{ if eq(variables['Build.Reason'], 'PullRequest') }}:
|
||||
- ${{ if or(eq(variables['Build.Reason'], 'PullRequest'), eq(1,1)) }}: # TODO: Change condition back to normal
|
||||
- stage: TestPr
|
||||
displayName: Run Tests For PullRequest
|
||||
jobs:
|
||||
|
|
@ -74,7 +74,7 @@ stages:
|
|||
arguments: '--no-cache --pull'
|
||||
|
||||
- script: |
|
||||
branch_name=$(System.PullRequest.SourceBranch)
|
||||
branch_name=$(Build.SourceBranch) #TODO: Change back to $(System.PullRequest.SourceBranch)
|
||||
echo "Retrieved branch name: '$branch_name'"
|
||||
jira_card_number="${branch_name##*/}"
|
||||
echo "Extracted JIRA Card number: '$jira_card_number'"
|
||||
|
|
@ -146,7 +146,7 @@ stages:
|
|||
tags: $(imageTag)
|
||||
arguments: '--no-cache --pull'
|
||||
- bash: |
|
||||
branch_name=$(System.PullRequest.SourceBranch)
|
||||
branch_name=$(Build.SourceBranch) #TODO: Change back to $(System.PullRequest.SourceBranch)
|
||||
echo "Retrieved branch name: '$branch_name'"
|
||||
jira_card_number="${branch_name##*/}"
|
||||
echo "Extracted JIRA Card number: '$jira_card_number'"
|
||||
|
|
|
|||
|
|
@ -61,7 +61,7 @@ for (const client of essentialClients) {
|
|||
data.isAuthenticationRequired = client.clientFlags.isAuthenticationEnabled ?? false
|
||||
const tc = new TestCase({
|
||||
name: `0001 Essential Replace Statis ADAS Client: "${client.accountName}"`,
|
||||
tags: [`@${client.clientTag}`, `@${client.accountName}`, '@Essentials','@0001', '@test_report'],
|
||||
tags: [`@${client.clientTag}`, `@${client.accountName}`, '@Essentials','@0001', '@test_report', '@INSR-2178'], //TODO: Remove jira card number
|
||||
testData: data
|
||||
}, undefined, '0001');
|
||||
essentialReplaceStaticAdasTests.push(tc);
|
||||
|
|
|
|||
Loading…
Reference in a new issue