test: Add a browser based test harness (#2641)

This commit is contained in:
Dermot Duffy
2026-07-31 10:16:58 -07:00
committed by GitHub
parent 51c0fab1ce
commit e590f72783
26 changed files with 2224 additions and 37 deletions
+26 -1
View File
@@ -38,7 +38,7 @@ jobs:
run: yarn run format-check
test:
name: Test
name: Unit Test
runs-on: ubuntu-latest
steps:
- name: Checkout
@@ -53,6 +53,31 @@ jobs:
- name: Test & Coverage
run: yarn run coverage
browser-test:
name: Browser Test
# Not yet a required check: the browser suite is new/potentially unstable.
continue-on-error: true
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v7
- name: Setup Node and Yarn
uses: volta-cli/action@v5
- name: Install dependencies
run: yarn install --immutable
# The browser binary is not in the lockfile, and the media tests need the
# proprietary codecs the Chrome for Testing builds carry.
- name: Install Chromium
run: yarn playwright install --with-deps chromium
- name: Browser test
run: yarn run test:browser
build:
name: Build
runs-on: ubuntu-latest