Changes to test functionality

This commit is contained in:
Chase King 2025-03-06 14:23:16 -05:00
parent 6dba628d5a
commit c16a4d823a
2 changed files with 4 additions and 4 deletions

View file

@ -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'"

View file

@ -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);