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: run tests on ubuntu 22 (#14741)
Max Schmittdeaef17e7011
diff --git a/.github/workflows/tests_primary.yml b/.github/workflows/tests_primary.ymlindex 4c38bfed2b..6e0233e12b 100644--- a/.github/workflows/tests_primary.yml+++ b/.github/workflows/tests_primary.yml@@ -31,7 +31,7 @@ jobs:fail-fast: falsematrix:browser: [chromium, firefox, webkit]- os: [ubuntu-20.04]+ os: [ubuntu-20.04, ubuntu-22.04]node-version: [14]include:- os: ubuntu-20.04diff --git a/.github/workflows/tests_secondary.yml b/.github/workflows/tests_secondary.ymlindex 6ed1f9178e..2b353425f7 100644--- a/.github/workflows/tests_secondary.yml+++ b/.github/workflows/tests_secondary.yml@@ -146,7 +146,7 @@ jobs:fail-fast: falsematrix:browser: [chromium, firefox, webkit]- os: [ubuntu-latest, macos-latest, windows-latest]+ os: [ubuntu-20.04, ubuntu-22.04, macos-latest, windows-latest]runs-on: ${{ matrix.os }}steps:- uses: actions/checkout@v2@@ -161,14 +161,14 @@ jobs:- run: npm run build- run: npx playwright install --with-deps ${{ matrix.browser }} chromium- run: xvfb-run --auto-servernum --server-args="-screen 0 1280x960x24" -- npm run test -- --project=${{ matrix.browser }} --headed- if: always() && matrix.os == 'ubuntu-latest'+ if: always() && startsWith(matrix.os, 'ubuntu-')- run: npm run test -- --project=${{ matrix.browser }} --headed- if: always() && matrix.os != 'ubuntu-latest'+ if: always() && !startsWith(matrix.os, 'ubuntu-')- run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.jsonif: always()shell: bash- uses: actions/upload-artifact@v1- if: always() && matrix.os == 'ubuntu-latest'+ if: always() && startsWith(matrix.os, 'ubuntu-')with:name: headful-${{ matrix.browser }}-linux-test-resultspath: test-resultsdiff --git a/.github/workflows/tests_video.yml b/.github/workflows/tests_video.ymlindex eb22ce519f..42f8b6bcd7 100644--- a/.github/workflows/tests_video.yml+++ b/.github/workflows/tests_video.yml@@ -18,7 +18,8 @@ jobs:fail-fast: falsematrix:browser: [chromium, firefox, webkit]- runs-on: ubuntu-20.04+ os: [ubuntu-20.04, ubuntu-22.04]+ runs-on: ${{ matrix.os }}steps:- uses: actions/checkout@v2- uses: actions/setup-node@v2