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 test-runner tests on Node 16 (#12359)
Max Schmitt8292fe8940e4
diff --git a/.github/workflows/test_test_runner.yml b/.github/workflows/test_test_runner.ymlnew file mode 100644index 0000000000..c598d38c59--- /dev/null+++ b/.github/workflows/test_test_runner.yml@@ -0,0 +1,50 @@+name: "Test Runner"+on:+ push:+ branches:+ - main+ - release-*+ paths:+ - ".github/workflows/test_test_runner.yml"+ - "!browser_patches/**"+ - "!docs/**"+ - "tests/playwright-test/**/*"+ - "packages/playwright-test/**/*"+ - "package.json"+ pull_request:+ branches:+ - main+ - release-*+ paths:+ - ".github/workflows/test_test_runner.yml"+ - "!browser_patches/**"+ - "!docs/**"+ - "tests/playwright-test/**/*"+ - "packages/playwright-test/**/*"+ - "package.json"+ workflow_dispatch:++jobs:+ test:+ name: Test+ strategy:+ fail-fast: false+ matrix:+ os: [ubuntu-latest, windows-latest, macos-latest]+ node-version: [12, 16]+ runs-on: ${{ matrix.os }}+ steps:+ - uses: actions/checkout@v2+ - uses: actions/setup-node@v2+ with:+ node-version: ${{matrix.node-version}}+ - run: npm i -g [email protected]+ - run: npm ci+ env:+ DEBUG: pw:install+ - run: npm run build+ - run: npx playwright install --with-deps+ - run: npm run ttest+ if: matrix.os != 'ubuntu-latest'+ - run: xvfb-run npm run ttest+ if: matrix.os == 'ubuntu-latest'diff --git a/.github/workflows/tests_primary.yml b/.github/workflows/tests_primary.ymlindex f2e1624b47..fa7b101694 100644--- a/.github/workflows/tests_primary.yml+++ b/.github/workflows/tests_primary.yml@@ -49,33 +49,6 @@ jobs:name: ${{ matrix.browser }}-${{ matrix.os }}-test-resultspath: test-results- test_test_runner:- name: Test Runner- strategy:- fail-fast: false- matrix:- os: [ubuntu-latest, windows-latest, macos-latest]- node-version: [12]- include:- - os: ubuntu-latest- node-version: 16- runs-on: ${{ matrix.os }}- steps:- - uses: actions/checkout@v2- - uses: actions/setup-node@v2- with:- node-version: ${{matrix.node-version}}- - run: npm i -g [email protected]- - run: npm ci- env:- DEBUG: pw:install- - run: npm run build- - run: npx playwright install --with-deps- - run: npm run ttest- if: matrix.os != 'ubuntu-latest'- - run: xvfb-run npm run ttest- if: matrix.os == 'ubuntu-latest'-test_html_report:name: HTML Reportruns-on: ubuntu-latest