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: align Node.js versions on CI and add 16/18 bots (#13759)
Max Schmitt6c922d2f6cc7
diff --git a/.github/workflows/component_tests.yml b/.github/workflows/component_tests.ymlindex a86042d2e1..7efc89ccf4 100644--- a/.github/workflows/component_tests.yml+++ b/.github/workflows/component_tests.yml@@ -28,7 +28,9 @@ jobs:- uses: actions/checkout@v2- uses: actions/setup-node@v2with:+ # Component tests require Node.js 16+ (they require ESM via TS)node-version: 16+ - run: npm i -g [email protected]- run: npm ci- run: npm run build- run: npx playwright install --with-depsdiff --git a/.github/workflows/publish_canary.yml b/.github/workflows/publish_canary.ymlindex 9463dac31a..86c4c48b67 100644--- a/.github/workflows/publish_canary.yml+++ b/.github/workflows/publish_canary.yml@@ -72,7 +72,7 @@ jobs:- uses: actions/checkout@v2- uses: actions/setup-node@v2with:- node-version: 18+ node-version: 14- run: npm i -g npm@7- name: Deploy Canaryrun: bash utils/build/deploy-trace-viewer.sh --canarydiff --git a/.github/workflows/publish_release_traceviewer.yml b/.github/workflows/publish_release_traceviewer.ymlindex 78da073236..1c53b1c520 100644--- a/.github/workflows/publish_release_traceviewer.yml+++ b/.github/workflows/publish_release_traceviewer.yml@@ -13,7 +13,7 @@ jobs:- uses: actions/checkout@v2- uses: actions/setup-node@v2with:- node-version: 18+ node-version: 14- run: npm i -g npm@7- name: Deploy Stablerun: bash utils/build/deploy-trace-viewer.sh --stablediff --git a/.github/workflows/roll_browser_into_playwright.yml b/.github/workflows/roll_browser_into_playwright.ymlindex 992c4bab96..1ef16d8bdb 100644--- a/.github/workflows/roll_browser_into_playwright.yml+++ b/.github/workflows/roll_browser_into_playwright.yml@@ -11,7 +11,7 @@ jobs:- uses: actions/checkout@v2- uses: actions/setup-node@v2with:- node-version: 18+ node-version: 14- run: npm i -g [email protected]- run: npm ci- run: npm run builddiff --git a/.github/workflows/tests_android.yml b/.github/workflows/tests_android.ymlindex ace8e8a2a2..ab100231a5 100644--- a/.github/workflows/tests_android.yml+++ b/.github/workflows/tests_android.yml@@ -32,7 +32,7 @@ jobs:- uses: actions/checkout@v2- uses: actions/setup-node@v2with:- node-version: 16+ node-version: 14- run: npm i -g [email protected]- run: npm cienv:diff --git a/.github/workflows/tests_primary.yml b/.github/workflows/tests_primary.ymlindex 34a5c033bf..f5d4c075d1 100644--- a/.github/workflows/tests_primary.yml+++ b/.github/workflows/tests_primary.yml@@ -26,18 +26,26 @@ env:jobs:test_linux:- name: ${{ matrix.os }} (${{ matrix.browser }})+ name: ${{ matrix.os }} (${{ matrix.browser }} - Node.js ${{ matrix.node-version }})strategy:fail-fast: falsematrix:browser: [chromium, firefox, webkit]os: [ubuntu-20.04]+ node-version: [14]+ include:+ - os: ubuntu-20.04+ node-version: 16+ browser: chromium+ - os: ubuntu-20.04+ node-version: 18+ browser: chromiumruns-on: ${{ matrix.os }}steps:- uses: actions/checkout@v2- uses: actions/setup-node@v2with:- node-version: 14+ node-version: ${{ matrix.node-version }}- run: npm i -g [email protected]- run: npm cienv:@@ -123,7 +131,8 @@ jobs:- uses: actions/checkout@v2- uses: actions/setup-node@v2with:- node-version: 18+ # ESM tests rely on the experimental loader in Node.js 16++ node-version: 16- run: npm i -g [email protected]- run: npm cienv:@@ -139,7 +148,9 @@ jobs:- uses: actions/checkout@v2- uses: actions/setup-node@v2with:- node-version: 18+ # Component tests require Node.js 16+ (they require ESM via TS)+ node-version: 16+ - run: npm i -g [email protected]- run: npm cienv:DEBUG: pw:install