Skip to content

Commit

Permalink
Add debug parameter to E2E test template usages (#7203)
Browse files Browse the repository at this point in the history
This PR adds a new debug parameter to 3p-triggered E2E test pipelines
  • Loading branch information
hectormmg authored Jul 22, 2024
1 parent 97fb781 commit 99f8152
Show file tree
Hide file tree
Showing 4 changed files with 3,161 additions and 2,262 deletions.
4 changes: 2 additions & 2 deletions .pipelines/1p-e2e.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
parameters:
- name: "debugVariables"
- name: "debug"
displayName: "Debug Variables"
type: boolean
default: false
Expand Down Expand Up @@ -48,4 +48,4 @@ extends:
samples:
- "Broker_WAMTestApp"
- "PerformanceTelemetrySample"
debugVariables: ${{ parameters.debugVariables }}
debug: ${{ parameters.debug }}
9 changes: 9 additions & 0 deletions .pipelines/3p-e2e.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
parameters:
- name: "debug"
displayName: "Debug Variables"
type: boolean
default: false
variables:
CDP_DEFINITION_BUILD_COUNT: $[counter('', 0)] # needed for onebranch.pipeline.version task https://aka.ms/obpipelines/versioning
LinuxContainerImage: "mcr.microsoft.com/onebranch/cbl-mariner/build:2.0" # Docker image which is used to build the project https://aka.ms/obpipelines/containers
Expand Down Expand Up @@ -43,6 +48,7 @@ extends:
- "onPageLoad"
- "pop"
- "customizable-e2e-test"
debug: ${{ parameters.debug }}
- template: .pipelines/templates/e2e-tests.yml@1P
parameters:
jobName: "validate_msal_node"
Expand All @@ -61,6 +67,7 @@ extends:
- "silent-flow"
- "b2c-user-flows"
# - "on-behalf-of"
debug: ${{ parameters.debug }}
- template: .pipelines/templates/e2e-tests.yml@1P
parameters:
jobName: "validate_msal_react"
Expand All @@ -75,6 +82,7 @@ extends:
- "react-router-sample"
- "typescript-sample"
- "b2c-sample"
debug: ${{ parameters.debug }}
- template: .pipelines/templates/e2e-tests.yml@1P
parameters:
jobName: "validate_msal_angular"
Expand All @@ -90,3 +98,4 @@ extends:
- "angular-b2c-sample-app"
- "angular-standalone-sample"
- "angular17-standalone-sample"
debug: ${{ parameters.debug }}
Loading

0 comments on commit 99f8152

Please sign in to comment.