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: unpin NPM on CI and use again version 8 (#13765)
Max Schmittf7af79137bb9
diff --git a/.github/workflows/component_tests.yml b/.github/workflows/component_tests.ymlindex 7efc89ccf4..7567b5bebc 100644--- a/.github/workflows/component_tests.yml+++ b/.github/workflows/component_tests.yml@@ -30,7 +30,7 @@ jobs:with:# Component tests require Node.js 16+ (they require ESM via TS)node-version: 16- - run: npm i -g [email protected]+ - run: npm i -g npm@8- run: npm ci- run: npm run build- run: npx playwright install --with-depsdiff --git a/.github/workflows/infra.yml b/.github/workflows/infra.ymlindex 40cb3362c1..29d3c57386 100644--- a/.github/workflows/infra.yml+++ b/.github/workflows/infra.yml@@ -19,7 +19,7 @@ jobs:- uses: actions/setup-node@v2with:node-version: 14- - run: npm i -g [email protected]+ - run: npm i -g npm@8- run: npm ci- run: npm run build- run: npx playwright install-depsdiff --git a/.github/workflows/publish_canary.yml b/.github/workflows/publish_canary.ymlindex 86c4c48b67..803c201275 100644--- a/.github/workflows/publish_canary.yml+++ b/.github/workflows/publish_canary.yml@@ -19,7 +19,7 @@ jobs:with:node-version: 14registry-url: 'https://registry.npmjs.org'- - run: npm i -g [email protected]+ - run: npm i -g npm@8- run: npm ci- run: npm run build- run: npx playwright install-deps@@ -73,7 +73,7 @@ jobs:- uses: actions/setup-node@v2with:node-version: 14- - run: npm i -g npm@7+ - run: npm i -g npm@8- name: Deploy Canaryrun: bash utils/build/deploy-trace-viewer.sh --canaryif: contains(github.ref, 'main')diff --git a/.github/workflows/publish_release_docker.yml b/.github/workflows/publish_release_docker.ymlindex 3042a45d93..6d13fbcd80 100644--- a/.github/workflows/publish_release_docker.yml+++ b/.github/workflows/publish_release_docker.yml@@ -31,7 +31,7 @@ jobs:uses: docker/setup-qemu-action@v1with:platforms: arm64- - run: npm i -g [email protected]+ - run: npm i -g npm@8- run: npm ci- run: npm run build- run: npx playwright install-depsdiff --git a/.github/workflows/publish_release_driver.yml b/.github/workflows/publish_release_driver.ymlindex b71b906925..bbc7fd60c5 100644--- a/.github/workflows/publish_release_driver.yml+++ b/.github/workflows/publish_release_driver.yml@@ -15,7 +15,7 @@ jobs:with:node-version: 14registry-url: 'https://registry.npmjs.org'- - run: npm i -g [email protected]+ - run: npm i -g npm@8- run: npm ci- run: npm run build- run: npx playwright install-depsdiff --git a/.github/workflows/publish_release_npm.yml b/.github/workflows/publish_release_npm.ymlindex 1aef3b1eb8..0f71a5d837 100644--- a/.github/workflows/publish_release_npm.yml+++ b/.github/workflows/publish_release_npm.yml@@ -15,7 +15,7 @@ jobs:with:node-version: 14registry-url: 'https://registry.npmjs.org'- - run: npm i -g [email protected]+ - run: npm i -g npm@8- run: npm ci- run: npm run build- run: npx playwright install-depsdiff --git a/.github/workflows/publish_release_traceviewer.yml b/.github/workflows/publish_release_traceviewer.ymlindex 1c53b1c520..6824ab7674 100644--- a/.github/workflows/publish_release_traceviewer.yml+++ b/.github/workflows/publish_release_traceviewer.yml@@ -14,7 +14,7 @@ jobs:- uses: actions/setup-node@v2with:node-version: 14- - run: npm i -g npm@7+ - run: npm i -g npm@8- name: Deploy Stablerun: bash utils/build/deploy-trace-viewer.sh --stableenv:diff --git a/.github/workflows/roll_browser_into_playwright.yml b/.github/workflows/roll_browser_into_playwright.ymlindex 1ef16d8bdb..1109167827 100644--- a/.github/workflows/roll_browser_into_playwright.yml+++ b/.github/workflows/roll_browser_into_playwright.yml@@ -12,7 +12,7 @@ jobs:- uses: actions/setup-node@v2with:node-version: 14- - run: npm i -g [email protected]+ - run: npm i -g npm@8- run: npm ci- run: npm run build- name: Install dependenciesdiff --git a/.github/workflows/tests_android.yml b/.github/workflows/tests_android.ymlindex ab100231a5..28502ddf40 100644--- a/.github/workflows/tests_android.yml+++ b/.github/workflows/tests_android.yml@@ -33,7 +33,7 @@ jobs:- uses: actions/setup-node@v2with:node-version: 14- - run: npm i -g [email protected]+ - run: npm i -g npm@8- run: npm cienv:DEBUG: pw:installdiff --git a/.github/workflows/tests_primary.yml b/.github/workflows/tests_primary.ymlindex f5d4c075d1..79c936d3fc 100644--- a/.github/workflows/tests_primary.yml+++ b/.github/workflows/tests_primary.yml@@ -46,7 +46,7 @@ jobs:- uses: actions/setup-node@v2with:node-version: ${{ matrix.node-version }}- - run: npm i -g [email protected]+ - run: npm i -g npm@8- run: npm cienv:DEBUG: pw:install@@ -75,7 +75,7 @@ jobs:- uses: actions/setup-node@v2with:node-version: 14- - run: npm i -g [email protected]+ - run: npm i -g npm@8- run: npm cienv:DEBUG: pw:install@@ -106,7 +106,7 @@ jobs:- uses: actions/setup-node@v2with:node-version: ${{matrix.node-version}}- - run: npm i -g [email protected]+ - run: npm i -g npm@8- run: npm cienv:DEBUG: pw:install@@ -133,7 +133,7 @@ jobs:with:# ESM tests rely on the experimental loader in Node.js 16+node-version: 16- - run: npm i -g [email protected]+ - run: npm i -g npm@8- run: npm cienv:DEBUG: pw:install@@ -150,7 +150,7 @@ jobs:with:# Component tests require Node.js 16+ (they require ESM via TS)node-version: 16- - run: npm i -g [email protected]+ - run: npm i -g npm@8- run: npm cienv:DEBUG: pw:installdiff --git a/.github/workflows/tests_secondary.yml b/.github/workflows/tests_secondary.ymlindex 31009d9de6..0d1cdbc4a4 100644--- a/.github/workflows/tests_secondary.yml+++ b/.github/workflows/tests_secondary.yml@@ -33,7 +33,7 @@ jobs:- uses: actions/setup-node@v2with:node-version: 14- - run: npm i -g [email protected]+ - run: npm i -g npm@8- run: npm cienv:DEBUG: pw:install@@ -63,7 +63,7 @@ jobs:- uses: actions/setup-node@v2with:node-version: 14- - run: npm i -g [email protected]+ - run: npm i -g npm@8- run: npm cienv:DEBUG: pw:install@@ -91,7 +91,7 @@ jobs:- uses: actions/setup-node@v2with:node-version: 14- - run: npm i -g [email protected]+ - run: npm i -g npm@8- run: npm cienv:DEBUG: pw:install@@ -124,8 +124,7 @@ jobs:- uses: actions/setup-node@v2with:node-version: ${{ matrix.node_version }}- # NPM 7 is the latest version which supports Node.js 12.0.0- - run: npm i -g npm@7+ - run: npm i -g npm@8- run: npm cienv:DEBUG: pw:install@@ -146,7 +145,7 @@ jobs:- uses: actions/setup-node@v2with:node-version: 14- - run: npm i -g [email protected]+ - run: npm i -g npm@8- run: npm cienv:DEBUG: pw:install@@ -177,7 +176,7 @@ jobs:- uses: actions/setup-node@v2with:node-version: 14- - run: npm i -g [email protected]+ - run: npm i -g npm@8- run: npm cienv:DEBUG: pw:install@@ -212,7 +211,7 @@ jobs:- uses: actions/setup-node@v2with:node-version: 14- - run: npm i -g [email protected]+ - run: npm i -g npm@8- run: npm cienv:DEBUG: pw:install@@ -233,7 +232,7 @@ jobs:- uses: actions/setup-node@v2with:node-version: 14- - run: npm i -g [email protected]+ - run: npm i -g npm@8- run: npm cienv:PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1@@ -258,7 +257,7 @@ jobs:- uses: actions/setup-node@v2with:node-version: 14- - run: npm i -g [email protected]+ - run: npm i -g npm@8- run: npm cienv:PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1@@ -285,7 +284,7 @@ jobs:- uses: actions/setup-node@v2with:node-version: 14- - run: npm i -g [email protected]+ - run: npm i -g npm@8- run: npm cienv:PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1@@ -310,7 +309,7 @@ jobs:- uses: actions/setup-node@v2with:node-version: 14- - run: npm i -g [email protected]+ - run: npm i -g npm@8- run: npm cienv:PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1@@ -335,7 +334,7 @@ jobs:- uses: actions/setup-node@v2with:node-version: 14- - run: npm i -g [email protected]+ - run: npm i -g npm@8- run: npm cienv:PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1@@ -362,7 +361,7 @@ jobs:- uses: actions/setup-node@v2with:node-version: 14- - run: npm i -g [email protected]+ - run: npm i -g npm@8- run: npm cienv:PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1@@ -387,7 +386,7 @@ jobs:- uses: actions/setup-node@v2with:node-version: 14- - run: npm i -g [email protected]+ - run: npm i -g npm@8- run: npm cienv:PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1@@ -412,7 +411,7 @@ jobs:- uses: actions/setup-node@v2with:node-version: 14- - run: npm i -g [email protected]+ - run: npm i -g npm@8- run: npm cienv:PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1@@ -439,7 +438,7 @@ jobs:- uses: actions/setup-node@v2with:node-version: 14- - run: npm i -g [email protected]+ - run: npm i -g npm@8- run: npm cienv:PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1@@ -464,7 +463,7 @@ jobs:- uses: actions/setup-node@v2with:node-version: 14- - run: npm i -g [email protected]+ - run: npm i -g npm@8- run: npm cienv:PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1@@ -490,7 +489,7 @@ jobs:- uses: actions/setup-node@v2with:node-version: 14- - run: npm i -g [email protected]+ - run: npm i -g npm@8- run: npm cienv:PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1@@ -514,7 +513,7 @@ jobs:- uses: actions/setup-node@v2with:node-version: 14- - run: npm i -g [email protected]+ - run: npm i -g npm@8- run: npm cienv:PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1@@ -539,7 +538,7 @@ jobs:- uses: actions/setup-node@v2with:node-version: 14- - run: npm i -g [email protected]+ - run: npm i -g npm@8- run: npm cienv:PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1@@ -564,7 +563,7 @@ jobs:- uses: actions/setup-node@v2with:node-version: 14- - run: npm i -g [email protected]+ - run: npm i -g npm@8- run: npm cienv:PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1@@ -588,7 +587,7 @@ jobs:- uses: actions/setup-node@v2with:node-version: 14- - run: npm i -g [email protected]+ - run: npm i -g npm@8- run: npm cienv:PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1@@ -613,7 +612,7 @@ jobs:- uses: actions/setup-node@v2with:node-version: 14- - run: npm i -g [email protected]+ - run: npm i -g npm@8- run: npm cienv:PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1@@ -638,7 +637,7 @@ jobs:- uses: actions/setup-node@v2with:node-version: 14- - run: npm i -g [email protected]+ - run: npm i -g npm@8- run: npm cienv:PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1@@ -662,7 +661,7 @@ jobs:- uses: actions/setup-node@v2with:node-version: 14- - run: npm i -g [email protected]+ - run: npm i -g npm@8- run: npm cienv:PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1@@ -687,7 +686,7 @@ jobs:- uses: actions/setup-node@v2with:node-version: 14- - run: npm i -g [email protected]+ - run: npm i -g npm@8- run: npm cienv:PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1@@ -712,7 +711,7 @@ jobs:- uses: actions/setup-node@v2with:node-version: 14- - run: npm i -g [email protected]+ - run: npm i -g npm@8- run: npm cienv:PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1@@ -739,7 +738,7 @@ jobs:- uses: actions/setup-node@v2with:node-version: 14- - run: npm i -g [email protected]+ - run: npm i -g npm@8- run: npm cienv:PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1@@ -764,7 +763,7 @@ jobs:- uses: actions/setup-node@v2with:node-version: 14- - run: npm i -g [email protected]+ - run: npm i -g npm@8- run: npm cienv:PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1@@ -788,7 +787,7 @@ jobs:- uses: actions/setup-node@v2with:node-version: 14- - run: npm i -g [email protected]+ - run: npm i -g npm@8- run: npm ci- run: npm run build- run: npx playwright install-depsdiff --git a/.github/workflows/tests_video.yml b/.github/workflows/tests_video.ymlindex 284318743e..eb22ce519f 100644--- a/.github/workflows/tests_video.yml+++ b/.github/workflows/tests_video.yml@@ -24,7 +24,7 @@ jobs:- uses: actions/setup-node@v2with:node-version: 14- - run: npm i -g [email protected]+ - run: npm i -g npm@8- run: npm cienv:DEBUG: pw:install