Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
TypeScript automationchromechromiume2e-testingelectronend-to-end-testingfirefoxjavascriptplaywrighttesttest-automationtestingtesting-toolswebwebkit
devops(merge): authorize service principal by using a client secret (#26380)
Yury Semikhatsky6f8f3dddf1f6
diff --git a/.github/workflows/create_test_report.yml b/.github/workflows/create_test_report.ymlindex 9cb5593baa..2b4a57dc88 100644--- a/.github/workflows/create_test_report.yml+++ b/.github/workflows/create_test_report.yml@@ -36,11 +36,13 @@ jobs:- name: Upload HTML report to Azurerun: |REPORT_DIR='run-${{ github.event.workflow_run.id }}-${{ github.event.workflow_run.run_attempt }}-${{ github.sha }}'- azcopy login --service-principal --application-id ${{ secrets.AZURE_CLIENT_ID }} --tenant-id ${{ secrets.AZURE_TENANT_ID }}azcopy cp --recursive "./playwright-report/*" "https://mspwblobreport.blob.core.windows.net/\$web/$REPORT_DIR"echo "Report url: https://mspwblobreport.z1.web.core.windows.net/$REPORT_DIR/index.html"env:- AZCOPY_SPA_CLIENT_SECRET: '${{ secrets.AZURE_CLIENT_SECRET }}'+ AZCOPY_AUTO_LOGIN_TYPE: SPN+ AZCOPY_SPA_APPLICATION_ID: '${{ secrets.AZCOPY_SPA_APPLICATION_ID }}'+ AZCOPY_SPA_CLIENT_SECRET: '${{ secrets.AZCOPY_SPA_CLIENT_SECRET }}'+ AZCOPY_TENANT_ID: '${{ secrets.AZCOPY_TENANT_ID }}'- name: Read pull request numberuses: ./.github/actions/download-artifactdiff --git a/.github/workflows/tests_service.yml b/.github/workflows/tests_service.ymlindex 45c2ad7972..82418ffa01 100644--- a/.github/workflows/tests_service.yml+++ b/.github/workflows/tests_service.yml@@ -60,8 +60,10 @@ jobs:- name: Upload HTML report to Azurerun: |REPORT_DIR='run-service-${{ github.run_id }}-${{ github.run_attempt }}-${{ github.sha }}'- azcopy login --service-principal --application-id ${{ secrets.AZURE_CLIENT_ID }} --tenant-id ${{ secrets.AZURE_TENANT_ID }}azcopy cp --recursive "./playwright-report/*" "https://mspwblobreport.blob.core.windows.net/\$web/$REPORT_DIR"echo "Report url: https://mspwblobreport.z1.web.core.windows.net/$REPORT_DIR/index.html#?q=s:failed"env:- AZCOPY_SPA_CLIENT_SECRET: '${{ secrets.AZURE_CLIENT_SECRET }}'+ AZCOPY_AUTO_LOGIN_TYPE: SPN+ AZCOPY_SPA_APPLICATION_ID: '${{ secrets.AZCOPY_SPA_APPLICATION_ID }}'+ AZCOPY_SPA_CLIENT_SECRET: '${{ secrets.AZCOPY_SPA_CLIENT_SECRET }}'+ AZCOPY_TENANT_ID: '${{ secrets.AZCOPY_TENANT_ID }}'