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: add Node.js 22 bots (#30644)
Max Schmittc7e7a7ef56dd
diff --git a/.github/workflows/tests_primary.yml b/.github/workflows/tests_primary.ymlindex 355a3ba154..10806ccf98 100644--- a/.github/workflows/tests_primary.yml+++ b/.github/workflows/tests_primary.yml@@ -41,6 +41,9 @@ jobs:- os: ubuntu-22.04node-version: 20browser: chromium+ - os: ubuntu-22.04+ node-version: 22+ browser: chromiumruns-on: ${{ matrix.os }}permissions:id-token: write # This is required for OIDC login (azure/login) to succeed@@ -108,6 +111,14 @@ jobs:node-version: 20shardIndex: 2shardTotal: 2+ - os: ubuntu-latest+ node-version: 22+ shardIndex: 1+ shardTotal: 2+ - os: ubuntu-latest+ node-version: 22+ shardIndex: 2+ shardTotal: 2runs-on: ${{ matrix.os }}permissions:id-token: write # This is required for OIDC login (azure/login) to succeeddiff --git a/.github/workflows/tests_secondary.yml b/.github/workflows/tests_secondary.ymlindex 2a5084349f..10209204e9 100644--- a/.github/workflows/tests_secondary.yml+++ b/.github/workflows/tests_secondary.yml@@ -95,6 +95,8 @@ jobs:node_version: 16- os: ubuntu-latestnode_version: 20+ - os: ubuntu-latest+ node_version: 22timeout-minutes: 30steps:- uses: actions/checkout@v4diff --git a/tests/library/browsercontext-fetch.spec.ts b/tests/library/browsercontext-fetch.spec.tsindex 223a57b5d0..0efb4bacb6 100644--- a/tests/library/browsercontext-fetch.spec.ts+++ b/tests/library/browsercontext-fetch.spec.ts@@ -829,7 +829,7 @@ it('should not hang on a brotli encoded Range request', async ({ context, serverheaders: {range: 'bytes=0-2',},- })).rejects.toThrow(`failed to decompress 'br' encoding: Error: unexpected end of file`);+ })).rejects.toThrow(/(failed to decompress 'br' encoding: Error: unexpected end of file|Parse Error: Data after \`Connection: close\`)/);});it('should dispose', async function({ context, server }) {