Fidelity: Fix CSP issue with iframes in Firefox (via wabac.js 2.23.0) Loading: Avoid unnecessary reloads of multiWACZ JSON, prune expired multiWACZ collections Testing improvements: - add playwright multi browser tests with firefox and webkit - add test of iframe replay with iframetest.wacz deps: update to wabac.js 2.23.0 bump to 2.3.9
39 lines
796 B
YAML
39 lines
796 B
YAML
name: Playwright Integration
|
|
|
|
on:
|
|
push:
|
|
paths-ignore:
|
|
- 'docs/**'
|
|
pull_request:
|
|
|
|
jobs:
|
|
playwright:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Check out Git repository
|
|
uses: actions/checkout@v2
|
|
|
|
- name: Install Node.js, NPM and Yarn
|
|
uses: actions/setup-node@v3
|
|
with:
|
|
node-version: 20
|
|
cache: 'yarn'
|
|
|
|
- name: Yarn Install
|
|
run: yarn install --frozen-lockfile
|
|
|
|
- name: Yarn Build
|
|
run: yarn build
|
|
|
|
- name: Playwright Install Browsers
|
|
run: yarn playwright install --with-deps
|
|
|
|
- uses: actions/setup-python@v4
|
|
with:
|
|
python-version: 3.x
|
|
- run: pip install -r mkdocs/requirements.txt
|
|
|
|
- name: Playwright Run Tests
|
|
run: yarn run playwright test
|