@@ -109,50 +109,6 @@ extends:
109109 npm run build
110110 displayName: "Run build"
111111 - job : Two
112- displayName : " Run playwright tests"
113- condition : eq(variables['isDev'], 'true')
114- steps :
115- - task : NodeTool@0
116- inputs :
117- versionSpec : " 18.16.x"
118- displayName : " Install npm"
119- - script : |
120- npm install
121- displayName: "npm install"
122- - script : |
123- npm install -D @playwright/test
124- npx playwright install-deps
125- displayName: "Install playwright dependancies"
126- - script : |
127- npx playwright install
128- displayName: "Install playwright"
129- - script : |
130- npm run test-playwright-accessibility
131- displayName: "Run accessibility tests"
132- - script : |
133- set CI=true
134- npm run test-playwright
135- env:
136- REACT_APP_CLIENT_ID: $(REACT_APP_PLAYWRIGHT_TEST_CLIENT_ID)
137- REACT_APP_INSTRUMENTATION_KEY: $(REACT_APP_STAGING_INSTRUMENTATION_KEY)
138- REACT_APP_CONNECTION_STRING: $(REACT_APP_STAGING_CONNECTION_STRING)
139- REACT_APP_FEEDBACK_CAMPAIGN_ID: $(REACT_APP_STAGING_FEEDBACK_CAMPAIGN_ID)
140- REACT_APP_NPS_FEEDBACK_CAMPAIGN_ID: $(REACT_APP_NPS_FEEDBACK_CAMPAIGN_ID)
141- REACT_APP_NOMINATION_PERIOD: $(REACT_APP_NOMINATION_PERIOD)
142- REACT_APP_COOLDOWN_PERIOD: $(REACT_APP_COOLDOWN_PERIOD)
143- REACT_APP_USAGE_TIME: $(REACT_APP_USAGE_TIME)
144- PLAYWRIGHT_TESTS_BASE_URL: $(PLAYWRIGHT_TESTS_BASE_URL)
145- PLAYWRIGHT_TESTS_USERNAME: $(PLAYWRIGHT_TESTS_USERNAME)
146- PLAYWRIGHT_TESTS_PASSWORD: $(PLAYWRIGHT_TESTS_PASSWORD)
147- displayName: "Run playwright tests"
148- templateContext :
149- outputs :
150- - output : pipelineArtifact
151- displayName : ' Publish test results'
152- condition : always()
153- targetPath : $(System.DefaultWorkingDirectory)/playwright-report
154- artifactName : playwright-report
155- - job : Three
156112 displayName : " Publish artifacts"
157113 dependsOn : One
158114 steps :
@@ -252,7 +208,7 @@ extends:
252208 parameters :
253209 directory : ' microsoft-graph-explorer-v4'
254210 repoName : ReleasePipelines
255- dependsOn : ['Three ']
211+ dependsOn : ['Two ']
256212
257213 - stage : DeployProduction
258214 condition : and(contains(variables['build.sourceBranch'], 'refs/heads/master'), succeeded())
@@ -275,7 +231,7 @@ extends:
275231 displayName : ' Deploy to portal - staging'
276232 inputs :
277233 SourcePath : ' $(Build.ArtifactStagingDirectory)/drop/*'
278- azureSubscription : ' Federated GE- Portals Managed Identity Connection'
234+ azureSubscription : ' Federated Portals Managed Identity Connection'
279235 Destination : AzureBlob
280236 storage : graphstagingblobstorage
281237 ContainerName : staging
@@ -285,7 +241,7 @@ extends:
285241 displayName : ' Deploy to portal - production'
286242 inputs :
287243 SourcePath : ' $(Build.ArtifactStagingDirectory)/drop/*'
288- azureSubscription : ' Federated GE- Portals Managed Identity Connection'
244+ azureSubscription : ' Federated Portals Managed Identity Connection'
289245 Destination : AzureBlob
290246 storage : graphprodblobstorage
291247 ContainerName : prod
0 commit comments