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
Revert "fix(ci): Prevent workflows from automatically running on forks (#34408)" (#34488)
Max Schmitt52580d640dd7
diff --git a/.github/workflows/tests_bidi.yml b/.github/workflows/tests_bidi.ymlindex c7c4b6b54c..e4118f1377 100644--- a/.github/workflows/tests_bidi.yml+++ b/.github/workflows/tests_bidi.yml@@ -18,7 +18,6 @@ env:jobs:test_bidi:name: BiDi- if: github.repository == 'microsoft/playwright'environment: ${{ github.event_name == 'push' && 'allow-uploading-flakiness-results' || null }}runs-on: ubuntu-24.04permissions:diff --git a/.github/workflows/tests_components.yml b/.github/workflows/tests_components.ymlindex 224d275d7a..093d5de0c4 100644--- a/.github/workflows/tests_components.yml+++ b/.github/workflows/tests_components.yml@@ -20,7 +20,6 @@ env:jobs:test_components:name: ${{ matrix.os }} - Node.js ${{ matrix.node-version }}- if: github.repository == 'microsoft/playwright'strategy:fail-fast: falsematrix:diff --git a/.github/workflows/tests_others.yml b/.github/workflows/tests_others.ymlindex 9a3ee5bd0e..ed18e1541c 100644--- a/.github/workflows/tests_others.yml+++ b/.github/workflows/tests_others.yml@@ -21,7 +21,6 @@ env:jobs:test_stress:name: Stress - ${{ matrix.os }}- if: github.repository == 'microsoft/playwright'strategy:fail-fast: falsematrix:@@ -58,7 +57,6 @@ jobs:test_webview2:name: WebView2- if: github.repository == 'microsoft/playwright'environment: ${{ github.event_name == 'push' && 'allow-uploading-flakiness-results' || null }}runs-on: windows-2022permissions:@@ -89,7 +87,6 @@ jobs:test_clock_frozen_time_linux:name: time library - ${{ matrix.clock }}- if: github.repository == 'microsoft/playwright'environment: ${{ github.event_name == 'push' && 'allow-uploading-flakiness-results' || null }}permissions:id-token: write # This is required for OIDC login (azure/login) to succeed@@ -115,7 +112,6 @@ jobs:test_clock_frozen_time_test_runner:name: time test runner - ${{ matrix.clock }}- if: github.repository == 'microsoft/playwright'environment: ${{ github.event_name == 'push' && 'allow-uploading-flakiness-results' || null }}runs-on: ubuntu-22.04permissions:@@ -140,7 +136,6 @@ jobs:test_electron:name: Electron - ${{ matrix.os }}- if: github.repository == 'microsoft/playwright'environment: ${{ github.event_name == 'push' && 'allow-uploading-flakiness-results' || null }}strategy:fail-fast: falsediff --git a/.github/workflows/tests_primary.yml b/.github/workflows/tests_primary.ymlindex 40588286ed..b8ec84ee56 100644--- a/.github/workflows/tests_primary.yml+++ b/.github/workflows/tests_primary.yml@@ -27,7 +27,6 @@ env:jobs:test_linux:name: ${{ matrix.os }} (${{ matrix.browser }} - Node.js ${{ matrix.node-version }})- if: github.repository == 'microsoft/playwright'environment: ${{ github.event_name == 'push' && 'allow-uploading-flakiness-results' || null }}strategy:fail-fast: false@@ -60,7 +59,6 @@ jobs:test_linux_chromium_tot:name: ${{ matrix.os }} (chromium tip-of-tree)- if: github.repository == 'microsoft/playwright'environment: ${{ github.event_name == 'push' && 'allow-uploading-flakiness-results' || null }}strategy:fail-fast: false@@ -85,7 +83,6 @@ jobs:test_test_runner:name: Test Runner- if: github.repository == 'microsoft/playwright'environment: ${{ github.event_name == 'push' && 'allow-uploading-flakiness-results' || null }}strategy:fail-fast: false@@ -130,7 +127,6 @@ jobs:test_web_components:name: Web Components- if: github.repository == 'microsoft/playwright'runs-on: ubuntu-lateststeps:- uses: actions/checkout@v4@@ -166,7 +162,6 @@ jobs:test_vscode_extension:name: VSCode Extension- if: github.repository == 'microsoft/playwright'runs-on: ubuntu-latestenv:PWTEST_BOT_NAME: "vscode-extension"@@ -203,7 +198,6 @@ jobs:test_package_installations:name: "Installation Test ${{ matrix.os }}"- if: github.repository == 'microsoft/playwright'environment: ${{ github.event_name == 'push' && 'allow-uploading-flakiness-results' || null }}strategy:fail-fast: falsediff --git a/.github/workflows/tests_secondary.yml b/.github/workflows/tests_secondary.ymlindex 887ce68b15..5bf017453d 100644--- a/.github/workflows/tests_secondary.yml+++ b/.github/workflows/tests_secondary.yml@@ -26,7 +26,6 @@ permissions:jobs:test_linux:name: ${{ matrix.os }} (${{ matrix.browser }})- if: github.repository == 'microsoft/playwright'environment: ${{ github.event_name == 'push' && 'allow-uploading-flakiness-results' || null }}strategy:fail-fast: false@@ -47,7 +46,6 @@ jobs:test_mac:name: ${{ matrix.os }} (${{ matrix.browser }})- if: github.repository == 'microsoft/playwright'environment: ${{ github.event_name == 'push' && 'allow-uploading-flakiness-results' || null }}strategy:fail-fast: false@@ -75,7 +73,6 @@ jobs:test_win:name: "Windows"- if: github.repository == 'microsoft/playwright'environment: ${{ github.event_name == 'push' && 'allow-uploading-flakiness-results' || null }}strategy:fail-fast: false@@ -95,7 +92,6 @@ jobs:test-package-installations-other-node-versions:name: "Installation Test ${{ matrix.os }} (${{ matrix.node_version }})"- if: github.repository == 'microsoft/playwright'environment: ${{ github.event_name == 'push' && 'allow-uploading-flakiness-results' || null }}runs-on: ${{ matrix.os }}strategy:@@ -129,7 +125,6 @@ jobs:headed_tests:name: "headed ${{ matrix.browser }} (${{ matrix.os }})"- if: github.repository == 'microsoft/playwright'environment: ${{ github.event_name == 'push' && 'allow-uploading-flakiness-results' || null }}strategy:fail-fast: false@@ -156,7 +151,6 @@ jobs:transport_linux:name: "Transport"- if: github.repository == 'microsoft/playwright'environment: ${{ github.event_name == 'push' && 'allow-uploading-flakiness-results' || null }}strategy:fail-fast: false@@ -178,7 +172,6 @@ jobs:tracing_linux:name: Tracing ${{ matrix.browser }} ${{ matrix.channel }}- if: github.repository == 'microsoft/playwright'environment: ${{ github.event_name == 'push' && 'allow-uploading-flakiness-results' || null }}strategy:fail-fast: false@@ -206,7 +199,6 @@ jobs:test_chromium_channels:name: Test ${{ matrix.channel }} on ${{ matrix.runs-on }}- if: github.repository == 'microsoft/playwright'environment: ${{ github.event_name == 'push' && 'allow-uploading-flakiness-results' || null }}runs-on: ${{ matrix.runs-on }}strategy:@@ -229,7 +221,6 @@ jobs:chromium_tot:name: Chromium tip-of-tree ${{ matrix.os }}${{ matrix.headed }}- if: github.repository == 'microsoft/playwright'environment: ${{ github.event_name == 'push' && 'allow-uploading-flakiness-results' || null }}runs-on: ${{ matrix.os }}strategy:@@ -252,7 +243,6 @@ jobs:chromium_tot_headless_shell:name: Chromium tip-of-tree headless-shell-${{ matrix.os }}- if: github.repository == 'microsoft/playwright'environment: ${{ github.event_name == 'push' && 'allow-uploading-flakiness-results' || null }}runs-on: ${{ matrix.os }}strategy:@@ -274,7 +264,6 @@ jobs:firefox_beta:name: Firefox Beta ${{ matrix.os }}- if: github.repository == 'microsoft/playwright'environment: ${{ github.event_name == 'push' && 'allow-uploading-flakiness-results' || null }}runs-on: ${{ matrix.os }}strategy:@@ -296,7 +285,6 @@ jobs:build-playwright-driver:name: "build-playwright-driver"- if: github.repository == 'microsoft/playwright'runs-on: ubuntu-24.04steps:- uses: actions/checkout@v4@@ -310,7 +298,6 @@ jobs:test_channel_chromium:name: Test channel=chromium- if: github.repository == 'microsoft/playwright'environment: ${{ github.event_name == 'push' && 'allow-uploading-flakiness-results' || null }}strategy:fail-fast: falsediff --git a/.github/workflows/tests_service.yml b/.github/workflows/tests_service.ymlindex ebd78ff37c..2d68740006 100644--- a/.github/workflows/tests_service.yml+++ b/.github/workflows/tests_service.yml@@ -10,7 +10,6 @@ env:jobs:test:name: "Service"- if: github.repository == 'microsoft/playwright'strategy:fail-fast: falsematrix:diff --git a/.github/workflows/tests_video.yml b/.github/workflows/tests_video.ymlindex 82a03e0907..0733b082a0 100644--- a/.github/workflows/tests_video.yml+++ b/.github/workflows/tests_video.yml@@ -14,7 +14,6 @@ env:jobs:video_linux:name: "Video Linux"- if: github.repository == 'microsoft/playwright'environment: allow-uploading-flakiness-resultsstrategy:fail-fast: falsediff --git a/.github/workflows/trigger_tests.yml b/.github/workflows/trigger_tests.ymlindex 5626b170e9..1ea2ec424d 100644--- a/.github/workflows/trigger_tests.yml+++ b/.github/workflows/trigger_tests.yml@@ -9,7 +9,6 @@ on:jobs:trigger:name: "trigger"- if: github.repository == 'microsoft/playwright'runs-on: ubuntu-24.04steps:- run: |