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: do not upload test-results artifacts (#23168)
Yury Semikhatsky5004f908d9b5
diff --git a/.github/workflows/tests_electron.yml b/.github/workflows/tests_electron.ymlindex 362539a863..f11d9b17a5 100644--- a/.github/workflows/tests_electron.yml+++ b/.github/workflows/tests_electron.yml@@ -47,8 +47,3 @@ jobs:- run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.jsonif: always()shell: bash- - uses: actions/upload-artifact@v3- if: always() && matrix.os == 'ubuntu-latest'- with:- name: electron-linux-test-results- path: test-resultsdiff --git a/.github/workflows/tests_primary.yml b/.github/workflows/tests_primary.ymlindex be3c869787..4907cc6af8 100644--- a/.github/workflows/tests_primary.yml+++ b/.github/workflows/tests_primary.yml@@ -60,11 +60,6 @@ jobs:- run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.jsonif: always()shell: bash- - uses: actions/upload-artifact@v3- if: always()- with:- name: ${{ matrix.browser }}-${{ matrix.os }}-test-results- path: test-resultsmerge_test_linux:if: ${{ always() && github.event_name != 'pull_request' }}@@ -116,11 +111,6 @@ jobs:- run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.jsonif: always()shell: bash- - uses: actions/upload-artifact@v3- if: always()- with:- name: ${{ matrix.browser }}-chromium-tip-of-tree-test-results- path: test-resultstest_test_runner:name: Test Runnerdiff --git a/.github/workflows/tests_secondary.yml b/.github/workflows/tests_secondary.ymlindex e0de056900..e3c36c0344 100644--- a/.github/workflows/tests_secondary.yml+++ b/.github/workflows/tests_secondary.yml@@ -45,11 +45,6 @@ jobs:- run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.jsonif: always()shell: bash- - uses: actions/upload-artifact@v3- if: always()- with:- name: ${{ matrix.browser }}-${{ matrix.os }}-test-results- path: test-resultstest_mac:name: ${{ matrix.os }} (${{ matrix.browser }})@@ -74,11 +69,6 @@ jobs:- run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.jsonif: always()shell: bash- - uses: actions/upload-artifact@v3- if: ${{ always() }}- with:- name: ${{ matrix.browser }}-${{ matrix.os }}-test-results- path: test-resultstest_win:name: "Windows"@@ -103,11 +93,6 @@ jobs:- run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.jsonif: always()shell: bash- - uses: actions/upload-artifact@v3- if: ${{ always() }}- with:- name: ${{ matrix.browser }}-win-test-results- path: test-resultstest-package-installations-other-node-versions:name: "Installation Test ${{ matrix.os }} (${{ matrix.node_version }})"@@ -165,11 +150,6 @@ jobs:- run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.jsonif: always()shell: bash- - uses: actions/upload-artifact@v3- if: always() && startsWith(matrix.os, 'ubuntu-')- with:- name: headful-${{ matrix.browser }}-linux-test-results- path: test-resultstransport_linux:name: "Transport"@@ -195,11 +175,6 @@ jobs:- run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.jsonif: always()shell: bash- - uses: actions/upload-artifact@v3- if: ${{ always() }}- with:- name: mode-${{ matrix.mode }}-linux-test-results- path: test-resultstracing_linux:name: Tracing ${{ matrix.browser }} ${{ matrix.channel }}@@ -251,11 +226,6 @@ jobs:- run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.jsonif: always()shell: bash- - uses: actions/upload-artifact@v3- if: ${{ always() }}- with:- name: chrome-stable-linux-test-results- path: test-resultschrome_stable_win:name: "Chrome Stable (Win)"@@ -277,11 +247,6 @@ jobs:- run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.jsonif: always()shell: bash- - uses: actions/upload-artifact@v3- if: ${{ always() }}- with:- name: chrome-stable-win-test-results- path: test-resultschrome_stable_mac:name: "Chrome Stable (Mac)"@@ -302,11 +267,6 @@ jobs:- run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.jsonif: always()shell: bash- - uses: actions/upload-artifact@v3- if: ${{ always() }}- with:- name: chrome-stable-mac-test-results- path: test-resultschromium_tot:name: Chromium TOT ${{ matrix.os }}@@ -336,11 +296,6 @@ jobs:- run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.jsonif: always()shell: bash- - uses: actions/upload-artifact@v3- if: always()- with:- name: chromium-tot-${{ matrix.os }}-test-results- path: test-resultschromium_tot_headed:name: Chromium TOT headed ${{ matrix.os }}@@ -370,11 +325,6 @@ jobs:- run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.jsonif: always()shell: bash- - uses: actions/upload-artifact@v3- if: always()- with:- name: chromium-tot-headed-${{ matrix.os }}-test-results- path: test-resultsfirefox_beta_linux:name: "Firefox Beta (Linux)"@@ -395,11 +345,6 @@ jobs:- run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.jsonif: always()shell: bash- - uses: actions/upload-artifact@v3- if: ${{ always() }}- with:- name: firefox-beta-linux-test-results- path: test-resultsfirefox_beta_win:name: "Firefox Beta (Win)"@@ -421,11 +366,6 @@ jobs:- run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.jsonif: always()shell: bash- - uses: actions/upload-artifact@v3- if: ${{ always() }}- with:- name: firefox-beta-win-test-results- path: test-resultsfirefox_beta_mac:name: "Firefox Beta (Mac)"@@ -446,11 +386,6 @@ jobs:- run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.jsonif: always()shell: bash- - uses: actions/upload-artifact@v3- if: ${{ always() }}- with:- name: firefox-beta-mac-test-results- path: test-resultsedge_stable_mac:name: "Edge Stable (Mac)"@@ -471,12 +406,6 @@ jobs:- run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.jsonif: always()shell: bash- - uses: actions/upload-artifact@v3- if: ${{ always() }}- with:- name: msedge-stable-mac-test-results- path: test-results-edge_stable_win:name: "Edge Stable (Win)"@@ -498,11 +427,6 @@ jobs:- run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.jsonif: always()shell: bash- - uses: actions/upload-artifact@v3- if: ${{ always() }}- with:- name: edge-stable-win-test-results- path: test-resultsedge_stable_linux:name: "Edge Stable (Linux)"@@ -523,11 +447,6 @@ jobs:- run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.jsonif: always()shell: bash- - uses: actions/upload-artifact@v3- if: ${{ always() }}- with:- name: edge-stable-linux-test-results- path: test-resultsedge_beta_mac:name: "Edge Beta (Mac)"@@ -548,11 +467,6 @@ jobs:- run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.jsonif: always()shell: bash- - uses: actions/upload-artifact@v3- if: ${{ always() }}- with:- name: msedge-beta-mac-test-results- path: test-resultsedge_beta_win:name: "Edge Beta (Win)"@@ -574,11 +488,6 @@ jobs:- run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.jsonif: always()shell: bash- - uses: actions/upload-artifact@v3- if: ${{ always() }}- with:- name: edge-beta-win-test-results- path: test-resultsedge_beta_linux:name: "Edge Beta (Linux)"@@ -599,11 +508,6 @@ jobs:- run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.jsonif: always()shell: bash- - uses: actions/upload-artifact@v3- if: ${{ always() }}- with:- name: edge-beta-linux-test-results- path: test-resultsedge_dev_mac:name: "Edge Dev (Mac)"@@ -624,11 +528,6 @@ jobs:- run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.jsonif: always()shell: bash- - uses: actions/upload-artifact@v3- if: ${{ always() }}- with:- name: msedge-dev-mac-test-results- path: test-resultsedge_dev_win:name: "Edge Dev (Win)"@@ -650,11 +549,6 @@ jobs:- run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.jsonif: always()shell: bash- - uses: actions/upload-artifact@v3- if: ${{ always() }}- with:- name: edge-dev-win-test-results- path: test-resultsedge_dev_linux:name: "Edge Dev (Linux)"@@ -675,11 +569,6 @@ jobs:- run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.jsonif: always()shell: bash- - uses: actions/upload-artifact@v3- if: ${{ always() }}- with:- name: edge-dev-linux-test-results- path: test-resultschrome_beta_linux:name: "Chrome Beta (Linux)"@@ -700,11 +589,6 @@ jobs:- run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.jsonif: always()shell: bash- - uses: actions/upload-artifact@v3- if: ${{ always() }}- with:- name: chrome-beta-linux-test-results- path: test-resultschrome_beta_win:name: "Chrome Beta (Win)"@@ -726,11 +610,6 @@ jobs:- run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.jsonif: always()shell: bash- - uses: actions/upload-artifact@v3- if: ${{ always() }}- with:- name: chrome-beta-win-test-results- path: test-resultschrome_beta_mac:name: "Chrome Beta (Mac)"@@ -751,11 +630,6 @@ jobs:- run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.jsonif: always()shell: bash- - uses: actions/upload-artifact@v3- if: ${{ always() }}- with:- name: chrome-beta-mac-test-results- path: test-resultsbuild-playwright-driver:name: "build-playwright-driver"diff --git a/.github/workflows/tests_video.yml b/.github/workflows/tests_video.ymlindex 3a5e0f060b..27f1643ef8 100644--- a/.github/workflows/tests_video.yml+++ b/.github/workflows/tests_video.yml@@ -39,8 +39,3 @@ jobs:- run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.jsonif: always()shell: bash- - uses: actions/upload-artifact@v3- if: ${{ always() }}- with:- name: video-${{ matrix.browser }}-linux-test-results- path: test-resultsdiff --git a/.github/workflows/tests_webview2.yml b/.github/workflows/tests_webview2.ymlindex 78d418798b..da0270c248 100644--- a/.github/workflows/tests_webview2.yml+++ b/.github/workflows/tests_webview2.yml@@ -43,8 +43,3 @@ jobs:- run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.jsonif: always()shell: bash- - uses: actions/upload-artifact@v1- if: always()- with:- name: webview2-test-results- path: test-resultsdiff --git a/tests/android/playwright.config.ts b/tests/android/playwright.config.tsindex 5e63057389..827115b188 100644--- a/tests/android/playwright.config.ts+++ b/tests/android/playwright.config.ts@@ -32,7 +32,6 @@ const config: Config<ServerWorkerOptions & PlaywrightWorkerOptions & PlaywrightTglobalTimeout: 7200000,workers: 1,forbidOnly: !!process.env.CI,- preserveOutput: process.env.CI ? 'failures-only' : 'always',retries: process.env.CI ? 1 : 0,reporter: process.env.CI ? [['dot'],diff --git a/tests/electron/playwright.config.ts b/tests/electron/playwright.config.tsindex 409634279d..bbc140ea93 100644--- a/tests/electron/playwright.config.ts+++ b/tests/electron/playwright.config.ts@@ -32,7 +32,6 @@ const config: Config<CoverageWorkerOptions & PlaywrightWorkerOptions & PlaywrighglobalTimeout: 5400000,workers: process.env.CI ? 1 : undefined,forbidOnly: !!process.env.CI,- preserveOutput: process.env.CI ? 'failures-only' : 'always',retries: process.env.CI ? 3 : 0,reporter: process.env.CI ? [['dot'],diff --git a/tests/library/playwright.config.ts b/tests/library/playwright.config.tsindex 3a4a619a4c..7098ee9c17 100644--- a/tests/library/playwright.config.ts+++ b/tests/library/playwright.config.ts@@ -67,7 +67,6 @@ const config: Config<CoverageWorkerOptions & PlaywrightWorkerOptions & Playwrighworkers: process.env.CI ? 2 : undefined,fullyParallel: !process.env.CI,forbidOnly: !!process.env.CI,- preserveOutput: process.env.CI ? 'failures-only' : 'always',retries: process.env.CI ? 3 : 0,reporter: reporters(),projects: [],diff --git a/tests/playwright-test/playwright.config.ts b/tests/playwright-test/playwright.config.tsindex e9ad8db739..41ce8e425a 100644--- a/tests/playwright-test/playwright.config.ts+++ b/tests/playwright-test/playwright.config.ts@@ -36,7 +36,6 @@ export default defineConfig({timeout: 30000,forbidOnly: !!process.env.CI,workers: process.env.CI ? 2 : undefined,- preserveOutput: process.env.CI ? 'failures-only' : 'always',snapshotPathTemplate: '__screenshots__/{testFilePath}/{arg}{ext}',projects: [{diff --git a/tests/webview2/playwright.config.ts b/tests/webview2/playwright.config.tsindex 1fe66afad6..052007b91d 100644--- a/tests/webview2/playwright.config.ts+++ b/tests/webview2/playwright.config.ts@@ -32,7 +32,6 @@ const config: Config<CoverageWorkerOptions & PlaywrightWorkerOptions & PlaywrighglobalTimeout: 5400000,workers: process.env.CI ? 1 : undefined,forbidOnly: !!process.env.CI,- preserveOutput: process.env.CI ? 'failures-only' : 'always',retries: process.env.CI ? 3 : 0,reporter: process.env.CI ? [['dot'],